8ee7b1191a
Crc calculation shows up in the profiler in 2-5% range, and is never currently validated. Let's disable it for good. For a well-compressible test data the difference is even nicer: Benchmark Time CPU Iteration ------------------------------------------------------------------ ziparchive-benchmarks: before: #ExtractEntry/2 1943244 ns 1926758 ns 375 #ExtractEntry/16 1877295 ns 1867049 ns 375 #ExtractEntry/1024 1888772 ns 1879976 ns 373 after: #ExtractEntry/2 817003 ns 812870 ns 874 #ExtractEntry/16 814029 ns 809813 ns 875 #ExtractEntry/1024 804904 ns 800972 ns 879 Bug: 153392568 Test: atest, manual Change-Id: I917abecab01301f1d09a5bf3b542d24b3875e359 Merged-In: I917abecab01301f1d09a5bf3b542d24b3875e359 |
||
---|---|---|
.. | ||
cli-tests | ||
include/ziparchive | ||
testdata | ||
.clang-format | ||
Android.bp | ||
entry_name_utils-inl.h | ||
entry_name_utils_test.cc | ||
libziparchive_fuzzer.cpp | ||
OWNERS | ||
run-ziptool-tests-on-android.sh | ||
zip_archive.cc | ||
zip_archive_benchmark.cpp | ||
zip_archive_common.h | ||
zip_archive_private.h | ||
zip_archive_stream_entry.cc | ||
zip_archive_test.cc | ||
zip_writer.cc | ||
zip_writer_test.cc | ||
ziptool-tests.xml | ||
ziptool.cpp |