oxipng icon indicating copy to clipboard operation
oxipng copied to clipboard

cargo bench: zopfli benchmarks hangs?

Open matthiaskrgr opened this issue 7 years ago • 2 comments

     Running target/release/deps/zopfli-2c57822585201135
running 5 tests

The benchmark was not progressing for 1.5 hours.

matthiaskrgr avatar Aug 02 '18 22:08 matthiaskrgr

It doesn't hang, it just takes realllllyyy long time due to how slow zopfli is and how many iterations cargo has to make to get reasonably precise results. I left it overnight and it has finished successfully.

RReverser avatar Mar 10 '20 13:03 RReverser

Yeah, this probably does require some tuning, and maybe moving to something like Criterion for benchmarks would also help here.

shssoichiro avatar Mar 11 '20 14:03 shssoichiro