mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
That GIF image's LZW-compressed data is the same as that used for the wuffs_lzw_decode_20k benchmark. Comparing the two speeds gives some indication of the relative overhead of the framing format, as well as decoding to a richer data structure (2D table instead of a 1D array, potentially to BGRA instead of palette-index, amongst other things). name speed wuffs_gif_decode_20k/clang 246MB/s ± 1% wuffs_gif_decode_20k/gcc 234MB/s ± 1% wuffs_lzw_decode_20k/clang 272MB/s ± 0% wuffs_lzw_decode_20k/gcc 269MB/s ± 0%