accimage icon indicating copy to clipboard operation
accimage copied to clipboard

Is it really faster? (Benchmarks?)

Open pwais opened this issue 5 years ago • 3 comments

How much faster is accimage than Pillow{,-SIMD}? Some rough numbers, even say a single sentence in the root README, would be helpful.

FWIW Pillow has some benchmarks here: https://python-pillow.org/pillow-perf/

pwais avatar Jul 05 '19 07:07 pwais

In my setting, accimage was significantly faster than Pillow (~1.4x-1.5x), but not so much compared to Pillow-SIMD. Roughly speaking, for every 1000 images Pillow-SIMD loads and pre-processes (crop+resize+transpose), accimage does ~1015. In long run, it can make a difference.

ps: I didn't run this, but this may provide a better answer accimage-benchmark

kkahatapitiya avatar Sep 16 '20 19:09 kkahatapitiya

That's buggy, it needs to re-read the image before running the accimage transformations to be accurate. In my experience Pillow-SIMD is the better option than accimage, although I'd like to revisit and properly benchmark when I have time, something that won't happen for a long time!

willprice avatar Sep 16 '20 20:09 willprice

+1 -- would be interested to see a comparison with pil-simd (libjpeg-turbo) in particular!

iutlu avatar Dec 04 '22 15:12 iutlu