Closed bes-internal closed 1 year ago
That's horrifically slow! Can you share the exact image you were processing? Are you running this under WSL or directly?
Please see provided Debug package archive!
Directly on Linux home 5.10.135-gentoo-dist #1 SMP x86_64 Intel(R) Core(TM) i3-7350K CPU @ 4.20GHz GenuineIntel GNU/Linux
Oops, I missed that the first time I extracted the archive. Thanks!
Hmm, so I can reproduce this pathological behavior with that image even on windows (1.6 seconds). It appears that something in the encoder is taking a slow path with this bitmap data, because an identically sized jpeg that is a normal photograph takes .221 seconds to re-encode.
It's likely that this is a problem with mozjpeg - it does take more time to optimize images than libjpeg-turbo, and perhaps something in this odd image is causing pathological behavior.
====
Debug package imageflow-2.0.0-p4.zip