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/clang 138MB/s ± 0% 139MB/s ± 0% ~ (p=0.222 n=5+5) wuffs_deflate_decode_10k/clang 220MB/s ± 0% 220MB/s ± 0% ~ (p=0.690 n=5+5) wuffs_deflate_decode_100k/clang 258MB/s ± 0% 258MB/s ± 0% ~ (p=0.548 n=5+5) wuffs_deflate_decode_1k/gcc 156MB/s ± 1% 158MB/s ± 0% +1.33% (p=0.008 n=5+5) wuffs_deflate_decode_10k/gcc 268MB/s ± 0% 267MB/s ± 0% -0.68% (p=0.008 n=5+5) wuffs_deflate_decode_100k/gcc 312MB/s ± 0% 314MB/s ± 0% +0.66% (p=0.008 n=5+5) wuffs_gzip_decode_10k/clang 204MB/s ± 0% 204MB/s ± 0% +0.26% (p=0.016 n=5+4) wuffs_gzip_decode_100k/clang 237MB/s ± 0% 237MB/s ± 1% ~ (p=0.548 n=5+5) wuffs_gzip_decode_10k/gcc 246MB/s ± 0% 255MB/s ± 1% +3.48% (p=0.008 n=5+5) wuffs_gzip_decode_100k/gcc 292MB/s ± 0% 293MB/s ± 0% +0.36% (p=0.008 n=5+5) wuffs_zlib_decode_10k/clang 201MB/s ± 0% 201MB/s ± 1% ~ (p=0.222 n=5+5) wuffs_zlib_decode_100k/clang 233MB/s ± 0% 233MB/s ± 0% +0.32% (p=0.008 n=5+5) wuffs_zlib_decode_10k/gcc 235MB/s ± 1% 254MB/s ± 0% +8.03% (p=0.008 n=5+5) wuffs_zlib_decode_100k/gcc 270MB/s ± 0% 293MB/s ± 0% +8.33% (p=0.016 n=4+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.