Closed ganego closed 4 years ago
I found the issue: see "Compiler flags". Something missing... "-O3". I added it manually and it's now as fast as the release version. Seems I somehow screwed up my whole mozjpeg source with cmake for whatever reason - a new copy now added the right compiler flags.
Hi, I wanted to compile jpeg-recompress.exe myself. I went ahead and compiled mozjpeg according to the readme from jpeg-archive. I then compiled jpeg-archive. Everything compiled fine.
Problem: Using
jpeg-recompress smallfry
(did not test others), is significantly slower than the release build I can download from github. Compressing my test file, takes 31s instead of 19s.I also tried compiling the 2.1.1 source from 2015 and got the same issue. Any ideas?
cmake for mozjpeg: