]> git.ipfire.org Git - thirdparty/zlib-ng.git/commit
Fix the custom PNG image based benchmark
authorAdam Stylinski <kungfujesus06@gmail.com>
Wed, 6 Apr 2022 22:15:57 +0000 (18:15 -0400)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 8 Apr 2022 08:12:17 +0000 (10:12 +0200)
commit7383d8961e0a2f3e1e2289b614e597395032804c
tree115e4fcd924435f0d565400a1ee8b9ab92d722b0
parent81d91d6f674ca97b97f7d94dacd728e9ed121ec4
Fix the custom PNG image based benchmark

The height parameter was using a fixed macro, written at a time when the
test imagery was fully synthetic.  Because of this, images smaller than
than our in-memory generated imagery will artificially throw a CRC
error.
test/benchmarks/benchmark_png_shared.h