mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
It helps at small image sizes, but it doesn't help at all for larger images. The extra code is probably not worth it. Numbers below, old is with the optimization, new is without. name old speed new speed delta wuffs_gif_decode_1k_bw/clang 307MB/s ± 2% 286MB/s ± 0% -6.84% (p=0.000 n=48+42) wuffs_gif_decode_1k_color/clang 137MB/s ± 1% 134MB/s ± 0% -2.36% (p=0.000 n=46+44) wuffs_gif_decode_10k/clang 125MB/s ± 2% 125MB/s ± 0% ~ (p=0.617 n=46+45) wuffs_gif_decode_100k/clang 119MB/s ± 1% 119MB/s ± 0% ~ (p=0.827 n=47+43) wuffs_gif_decode_1000k/clang 121MB/s ± 1% 121MB/s ± 1% +0.31% (p=0.022 n=49+46) wuffs_gif_decode_1k_bw/gcc 320MB/s ± 1% 304MB/s ± 1% -4.77% (p=0.000 n=48+46) wuffs_gif_decode_1k_color/gcc 156MB/s ± 1% 153MB/s ± 1% -2.08% (p=0.000 n=46+49) wuffs_gif_decode_10k/gcc 141MB/s ± 1% 141MB/s ± 0% -0.06% (p=0.012 n=44+46) wuffs_gif_decode_100k/gcc 126MB/s ± 1% 127MB/s ± 0% +0.76% (p=0.000 n=45+42) wuffs_gif_decode_1000k/gcc 129MB/s ± 1% 130MB/s ± 1% +0.89% (p=0.000 n=46+44)