mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
name old speed new speed delta wuffs_deflate_decode_1k_full_init/clang5 155MB/s ± 0% 155MB/s ± 1% ~ (p=0.222 n=5+5) wuffs_deflate_decode_1k_part_init/clang5 191MB/s ± 0% 191MB/s ± 1% ~ (p=0.421 n=5+5) wuffs_deflate_decode_10k_full_init/clang5 255MB/s ± 0% 248MB/s ± 0% -2.81% (p=0.008 n=5+5) wuffs_deflate_decode_10k_part_init/clang5 262MB/s ± 0% 256MB/s ± 0% -2.59% (p=0.008 n=5+5) wuffs_deflate_decode_100k_just_one_read/clang5 292MB/s ± 0% 282MB/s ± 0% -3.42% (p=0.008 n=5+5) wuffs_deflate_decode_100k_many_big_reads/clang5 249MB/s ± 0% 237MB/s ± 0% -4.65% (p=0.008 n=5+5) wuffs_deflate_decode_1k_full_init/gcc7 157MB/s ± 0% 156MB/s ± 2% ~ (p=0.095 n=5+5) wuffs_deflate_decode_1k_part_init/gcc7 194MB/s ± 0% 194MB/s ± 0% ~ (p=0.548 n=5+5) wuffs_deflate_decode_10k_full_init/gcc7 268MB/s ± 0% 267MB/s ± 0% -0.50% (p=0.016 n=5+5) wuffs_deflate_decode_10k_part_init/gcc7 276MB/s ± 0% 276MB/s ± 0% ~ (p=1.000 n=5+5) wuffs_deflate_decode_100k_just_one_read/gcc7 321MB/s ± 0% 324MB/s ± 0% +0.75% (p=0.008 n=5+5) wuffs_deflate_decode_100k_many_big_reads/gcc7 261MB/s ± 0% 257MB/s ± 0% -1.21% (p=0.008 n=5+5) wuffs_zlib_decode_10k/clang5 235MB/s ± 1% 230MB/s ± 0% -2.31% (p=0.008 n=5+5) wuffs_zlib_decode_100k/clang5 260MB/s ± 0% 253MB/s ± 1% -2.77% (p=0.008 n=5+5) wuffs_zlib_decode_10k/gcc7 226MB/s ± 0% 249MB/s ± 0% +10.18% (p=0.008 n=5+5) wuffs_zlib_decode_100k/gcc7 263MB/s ± 0% 287MB/s ± 0% +9.22% (p=0.008 n=5+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.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.