jasonmoo/smlr

Slow / never ending processing

sammcj opened this issue · 2 comments

In the example I've giving below for this demonstration I used all the cores of an i7-6700K @ 4.00GHz maxed out and 800MB of active RAM on a late 2015 top-specced iMac 5K.

~  % sysctl -n machdep.cpu.brand_string
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz

% file X4NT0cz.jpg
X4NT0cz.jpg: JPEG image data 477K

% smlr -if X4NT0cz.jpg -of X4NT0cz-smlr.jpg
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................^C

Note: At this point I cancelled the operation as it had been running for many minutes.

screen shot 2016-05-15 at 6 22 39 pm

Image:

x4nt0cz

Hey. Great bug report. Awesome picture.

I wasn't able to reproduce it but I just committed 9dad013 to fix another bug with the search algorithm that may address this. Would you mind re-testing?

heh, thanks - just tried again with the new build - same deal, it doesn't really bother me, I wasn't planning on using it due to it's performance compared to ImageOptim which reduced the image from 600KB~ to 400KB~ in less than a second with no noticable visual difference, it was an interesting bug to see though!