You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Slower than image crate jpeg encoder for higher qualities on ARM A76 #35
I don't really have much to add other than on a Raspberry pi 5, the image crate outperforms this one. While not by much, and they remain close at lower qualities, the fact that x86 is like twice as fast as image seems to indicate that something is wrong on arm. I realize this might not have been a design priority, and sometimes optimizing for one is worse for the other. But when vectorization is also not supported for that architecture, it seems to leave a gap in performance.
Not really an issue per say, feel free to close if this isn't part of the goal. But I thought it was interesting, and maybe you just never tested on that architecture.
Edit: Forgot to mention, std_simd branch was also about 5% slower. Just a rough observation in a test as part of my app, not a proper cargo bench result, but across multiple results it's almost certainly not faster.
Activity
Shnatsel commentedon Oct 25, 2026
This branch should address this: #41
It vectorizes FDCT which takes up a lot of time and was not vectorized on main or in the std::simd branch