mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
name old speed new speed delta wuffs_gif_decode_1k_bw/clang 289MB/s ± 1% 309MB/s ± 0% +6.94% (p=0.000 n=50+5) wuffs_gif_decode_1k_color/clang 159MB/s ± 1% 160MB/s ± 0% ~ (p=0.080 n=48+5) wuffs_gif_decode_10k/clang 145MB/s ± 1% 145MB/s ± 0% ~ (p=0.371 n=49+5) wuffs_gif_decode_100k/clang 125MB/s ± 0% 131MB/s ± 1% +4.84% (p=0.000 n=46+5) wuffs_gif_decode_1000k/clang 128MB/s ± 1% 134MB/s ± 0% +5.22% (p=0.000 n=47+5) wuffs_gif_decode_1k_bw/gcc 341MB/s ± 1% 339MB/s ± 0% -0.48% (p=0.001 n=49+5) wuffs_gif_decode_1k_color/gcc 184MB/s ± 1% 186MB/s ± 0% +1.10% (p=0.000 n=50+5) wuffs_gif_decode_10k/gcc 162MB/s ± 0% 164MB/s ± 0% +1.76% (p=0.000 n=50+5) wuffs_gif_decode_100k/gcc 139MB/s ± 0% 143MB/s ± 0% +3.49% (p=0.000 n=49+5) wuffs_gif_decode_1000k/gcc 142MB/s ± 0% 146MB/s ± 0% +3.08% (p=0.000 n=49+5) wuffs_lzw_decode_20k/clang 132MB/s ± 0% 142MB/s ± 0% +7.91% (p=0.000 n=46+5) wuffs_lzw_decode_100k/clang 170MB/s ± 0% 186MB/s ± 1% +9.18% (p=0.000 n=46+5) wuffs_lzw_decode_20k/gcc 156MB/s ± 0% 162MB/s ± 0% +3.74% (p=0.000 n=47+5) wuffs_lzw_decode_100k/gcc 214MB/s ± 0% 235MB/s ± 1% +10.03% (p=0.000 n=47+5)
Wuffs ships as a "single file C library", also known as a "header file library".
To use Wuffs in your C/C++ project, you just need to copy one file from this
directory, or otherwise integrate that one file into your build system.
Typically, pick the latest version (but not the unsupported snapshot), with a
filename like wuffs-vMAJOR.MINOR.h for version MAJOR.MINOR.
To use that single file as a "foo.c"-like implementation, instead of a
"foo.h"-like header, #define WUFFS_IMPLEMENTATION before #include'ing or
compiling it.