Files
wuffs/release/c
Nigel Tao 4fcba3a760 Replace std/gif's use of since_mark
name                                        old speed      new speed      delta

wuffs_gif_decode_1k_bw/clang5                380MB/s ± 1%   407MB/s ± 1%  +7.09%  (p=0.000 n=10+10)
wuffs_gif_decode_1k_color_full_init/clang5   137MB/s ± 0%   140MB/s ± 1%  +1.87%  (p=0.000 n=10+10)
wuffs_gif_decode_1k_color_part_init/clang5   182MB/s ± 1%   185MB/s ± 1%  +1.50%  (p=0.000 n=10+10)
wuffs_gif_decode_10k_bgra/clang5             736MB/s ± 1%   736MB/s ± 0%    ~     (p=0.696 n=10+8)
wuffs_gif_decode_10k_indexed/clang5          199MB/s ± 1%   198MB/s ± 0%  -0.45%  (p=0.021 n=10+8)
wuffs_gif_decode_20k/clang5                  246MB/s ± 0%   244MB/s ± 1%  -0.61%  (p=0.011 n=10+10)
wuffs_gif_decode_100k_artificial/clang5      541MB/s ± 1%   540MB/s ± 1%    ~     (p=0.579 n=10+10)
wuffs_gif_decode_100k_realistic/clang5       222MB/s ± 0%   222MB/s ± 0%    ~     (p=0.481 n=10+10)
wuffs_gif_decode_1000k_full_init/clang5      226MB/s ± 1%   225MB/s ± 0%  -0.40%  (p=0.035 n=10+10)
wuffs_gif_decode_1000k_part_init/clang5      226MB/s ± 0%   226MB/s ± 0%  -0.23%  (p=0.013 n=10+9)
wuffs_gif_decode_anim_screencap/clang5      1.07GB/s ± 1%  1.07GB/s ± 0%    ~     (p=0.089 n=10+10)

wuffs_gif_decode_1k_bw/gcc7                  438MB/s ± 1%   459MB/s ± 0%  +4.67%  (p=0.000 n=10+9)
wuffs_gif_decode_1k_color_full_init/gcc7     136MB/s ± 1%   139MB/s ± 0%  +2.25%  (p=0.000 n=10+9)
wuffs_gif_decode_1k_color_part_init/gcc7     177MB/s ± 1%   180MB/s ± 1%  +1.66%  (p=0.000 n=10+10)
wuffs_gif_decode_10k_bgra/gcc7               612MB/s ± 1%   615MB/s ± 1%  +0.57%  (p=0.022 n=10+9)
wuffs_gif_decode_10k_indexed/gcc7            192MB/s ± 0%   193MB/s ± 1%  +0.38%  (p=0.022 n=10+9)
wuffs_gif_decode_20k/gcc7                    234MB/s ± 0%   234MB/s ± 1%    ~     (p=0.631 n=10+10)
wuffs_gif_decode_100k_artificial/gcc7        499MB/s ± 1%   497MB/s ± 1%  -0.48%  (p=0.011 n=10+10)
wuffs_gif_decode_100k_realistic/gcc7         203MB/s ± 0%   203MB/s ± 0%    ~     (p=0.489 n=9+9)
wuffs_gif_decode_1000k_full_init/gcc7        207MB/s ± 0%   206MB/s ± 0%  -0.27%  (p=0.010 n=8+8)
wuffs_gif_decode_1000k_part_init/gcc7        207MB/s ± 1%   207MB/s ± 1%    ~     (p=0.604 n=10+9)
wuffs_gif_decode_anim_screencap/gcc7        1.03GB/s ± 1%  1.03GB/s ± 1%    ~     (p=0.968 n=10+9)
2019-07-06 10:21:39 +10:00
..
2019-06-16 12:07:54 +10:00

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.