]> git.ipfire.org Git - thirdparty/zstd.git/commit
[fuzz] Speed up round trip tests 867/head
authorNick Terrell <terrelln@fb.com>
Tue, 26 Sep 2017 21:03:43 +0000 (14:03 -0700)
committerNick Terrell <terrelln@fb.com>
Tue, 26 Sep 2017 21:03:43 +0000 (14:03 -0700)
commit471aa385b3f236fdab550ce5cdfbfa5e3aa9f9d5
treea2d0c2633801a4cff0523ad726aae39d1a77f301
parent8a4d0abc1c0eada60e1004a06850d4a82c7ceee3
[fuzz] Speed up round trip tests

* Enforce smaller maximum values for parameters
* Adjust parameters to the source size

The memory usage is reduced by about 5x, which makes the fuzzers run at
least twice as fast, even more so with ASAN/MSAN enabled.
tests/fuzz/block_round_trip.c
tests/fuzz/simple_round_trip.c
tests/fuzz/stream_round_trip.c
tests/fuzz/zstd_helpers.c
tests/fuzz/zstd_helpers.h