diff options
author | Sebastian Pop <s.pop@samsung.com> | 2017-05-30 09:14:20 -0500 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-05-30 10:50:14 -0700 |
commit | 0a94c56463da41dd08b5d80a7437d7d27ba61e2c (patch) | |
tree | d3d70f78cac1773b98ec1bd7b16fb14f3b927050 /debuggerd/debuggerd_test.cpp | |
parent | 62db5fcee052980759ecb977cab4c63491e01e56 (diff) |
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
Diffstat (limited to 'debuggerd/debuggerd_test.cpp')
0 files changed, 0 insertions, 0 deletions