mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
name old speed new speed delta wuffs_deflate_decode_1k_full_init/clang5 137MB/s ± 0% 146MB/s ± 0% +6.53% (p=0.000 n=10+9) wuffs_deflate_decode_1k_part_init/clang5 165MB/s ± 0% 180MB/s ± 0% +9.03% (p=0.000 n=10+10) wuffs_deflate_decode_10k_full_init/clang5 226MB/s ± 0% 229MB/s ± 0% +1.52% (p=0.000 n=9+9) wuffs_deflate_decode_10k_part_init/clang5 232MB/s ± 1% 236MB/s ± 1% +1.86% (p=0.000 n=9+10) wuffs_deflate_decode_100k_just_one_read/clang5 265MB/s ± 0% 266MB/s ± 0% +0.27% (p=0.008 n=10+9) wuffs_deflate_decode_100k_many_big_reads/clang5 223MB/s ± 0% 224MB/s ± 0% +0.84% (p=0.000 n=9+10) wuffs_deflate_decode_1k_full_init/gcc7 151MB/s ± 0% 151MB/s ± 2% ~ (p=1.000 n=8+10) wuffs_deflate_decode_1k_part_init/gcc7 186MB/s ± 0% 187MB/s ± 1% +0.52% (p=0.003 n=8+10) wuffs_deflate_decode_10k_full_init/gcc7 253MB/s ± 1% 261MB/s ± 1% +3.10% (p=0.000 n=9+10) wuffs_deflate_decode_10k_part_init/gcc7 261MB/s ± 0% 269MB/s ± 0% +3.02% (p=0.000 n=9+10) wuffs_deflate_decode_100k_just_one_read/gcc7 312MB/s ± 0% 314MB/s ± 0% +0.66% (p=0.000 n=9+10) wuffs_deflate_decode_100k_many_big_reads/gcc7 251MB/s ± 0% 249MB/s ± 0% -0.59% (p=0.000 n=9+10)
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.c 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.