android_system_core/libziparchive
Sebastian Pop 0a94c56463 add a performance benchmark for libziparchive
This patch adds two benchmarks that measure the performance of some
operations of libziparchive.

Both benchmarks are creating a temporary zip file containing file
names of uniformly distributed lengths.  The creation of the zip
file is not timed in the benchmarks.

- FindEntry_no_match tries to find an inexisting entry in the files
  of the zip archive, in order to force the code to examine all the
  files in the archive.

- Iterate_all_files uses the iterate function to list all the files
  in the archive.

Bug: N/A
Test: adb shell /data/ziparchive-benchmarks
Change-Id: Ibdb524ba1c5ae55caddf0416ebbc09f8b6df0021
2017-05-30 10:50:14 -07:00
..
testdata Add functions in recovery/minzip to libziparchive 2016-10-15 23:16:34 -07:00
.clang-format add a performance benchmark for libziparchive 2017-05-30 10:50:14 -07:00
Android.bp add a performance benchmark for libziparchive 2017-05-30 10:50:14 -07:00
entry_name_utils-inl.h Reject zip archives whose entry names are not valid UTF-8. 2014-12-08 12:25:05 +00:00
entry_name_utils_test.cc Reject zip archives whose entry names are not valid UTF-8. 2014-12-08 12:25:05 +00:00
zip_archive.cc ZipWriter: Keep LFH and CFH in sync 2017-04-11 01:45:25 +00:00
zip_archive_benchmark.cpp add a performance benchmark for libziparchive 2017-05-30 10:50:14 -07:00
zip_archive_common.h Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
zip_archive_private.h Add functions in recovery/minzip to libziparchive 2016-10-15 23:16:34 -07:00
zip_archive_stream_entry.cc liblog: use log/log.h when utilizing ALOG macros 2017-01-11 09:31:15 -08:00
zip_archive_test.cc Add functions in recovery/minzip to libziparchive 2016-10-15 23:16:34 -07:00
zip_writer.cc ZipWriter: Keep LFH and CFH in sync 2017-04-11 01:45:25 +00:00
zip_writer_test.cc Merge "ZipWriter: Do not write DataDescriptor for STORED files" 2017-04-07 00:33:20 +00:00