mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
This commit is the first of two. It just changes code, and is the minimal code change that leads to these performance improvements. The follow-up commit will add comments that will also include a reference to this one's commit hash. Even later commits may do some more refactoring. name old speed new speed delta wuffs_jpeg_decode_19k_8bpp/clang11 224MB/s ± 0% 236MB/s ± 0% +5.38% (p=0.016 n=5+4) wuffs_jpeg_decode_30k_24bpp_progressive/clang11 211MB/s ± 0% 210MB/s ± 0% -0.55% (p=0.008 n=5+5) wuffs_jpeg_decode_30k_24bpp_sequential/clang11 377MB/s ± 0% 385MB/s ± 0% +1.91% (p=0.008 n=5+5) wuffs_jpeg_decode_77k_24bpp/clang11 328MB/s ± 0% 338MB/s ± 0% +3.23% (p=0.008 n=5+5) wuffs_jpeg_decode_552k_24bpp_420/clang11 341MB/s ± 0% 353MB/s ± 0% +3.47% (p=0.008 n=5+5) wuffs_jpeg_decode_552k_24bpp_444/clang11 472MB/s ± 0% 481MB/s ± 0% +1.93% (p=0.008 n=5+5) wuffs_jpeg_decode_4002k_24bpp/clang11 347MB/s ± 0% 360MB/s ± 0% +3.70% (p=0.008 n=5+5) wuffs_jpeg_decode_19k_8bpp/gcc10 225MB/s ± 0% 244MB/s ± 0% +8.27% (p=0.008 n=5+5) wuffs_jpeg_decode_30k_24bpp_progressive/gcc10 246MB/s ± 0% 251MB/s ± 0% +1.67% (p=0.008 n=5+5) wuffs_jpeg_decode_30k_24bpp_sequential/gcc10 498MB/s ± 0% 509MB/s ± 0% +2.18% (p=0.008 n=5+5) wuffs_jpeg_decode_77k_24bpp/gcc10 408MB/s ± 0% 431MB/s ± 0% +5.86% (p=0.008 n=5+5) wuffs_jpeg_decode_552k_24bpp_420/gcc10 428MB/s ± 0% 455MB/s ± 0% +6.38% (p=0.008 n=5+5) wuffs_jpeg_decode_552k_24bpp_444/gcc10 470MB/s ± 0% 481MB/s ± 0% +2.46% (p=0.016 n=5+4) wuffs_jpeg_decode_4002k_24bpp/gcc10 433MB/s ± 0% 463MB/s ± 0% +7.03% (p=0.008 n=5+5)