accimage
accimage copied to clipboard
Is it really faster? (Benchmarks?)
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/
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
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!
+1 -- would be interested to see a comparison with pil-simd (libjpeg-turbo) in particular!