mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Collect GIF's LZW data into larger batches
name old speed new speed delta wuffs_gif_decode_1k_bw/clang 224MB/s ± 1% 227MB/s ± 0% +0.98% (p=0.000 n=10+9) wuffs_gif_decode_1k_color/clang 116MB/s ± 1% 118MB/s ± 1% +2.26% (p=0.000 n=10+10) wuffs_gif_decode_10k_bgra/clang 541MB/s ± 0% 568MB/s ± 1% +4.97% (p=0.000 n=9+10) wuffs_gif_decode_10k_indexed/clang 144MB/s ± 0% 152MB/s ± 0% +5.61% (p=0.000 n=9+10) wuffs_gif_decode_100k_artificial/clang 438MB/s ± 1% 454MB/s ± 1% +3.56% (p=0.000 n=9+10) wuffs_gif_decode_100k_realistic/clang 171MB/s ± 0% 179MB/s ± 0% +4.64% (p=0.000 n=8+10) wuffs_gif_decode_1000k/clang 174MB/s ± 0% 180MB/s ± 0% +3.90% (p=0.000 n=9+10) wuffs_gif_decode_anim_screencap/clang 897MB/s ± 1% 943MB/s ± 0% +5.10% (p=0.000 n=9+9) wuffs_gif_decode_1k_bw/gcc 250MB/s ± 1% 241MB/s ± 1% -3.26% (p=0.000 n=10+10) wuffs_gif_decode_1k_color/gcc 132MB/s ± 1% 130MB/s ± 1% -2.15% (p=0.000 n=10+10) wuffs_gif_decode_10k_bgra/gcc 534MB/s ± 1% 535MB/s ± 1% ~ (p=0.211 n=9+10) wuffs_gif_decode_10k_indexed/gcc 162MB/s ± 1% 163MB/s ± 0% ~ (p=0.105 n=10+10) wuffs_gif_decode_100k_artificial/gcc 460MB/s ± 0% 456MB/s ± 0% -0.80% (p=0.000 n=10+10) wuffs_gif_decode_100k_realistic/gcc 186MB/s ± 0% 186MB/s ± 1% -0.33% (p=0.001 n=9+10) wuffs_gif_decode_1000k/gcc 189MB/s ± 1% 188MB/s ± 1% ~ (p=0.053 n=9+10) wuffs_gif_decode_anim_screencap/gcc 981MB/s ± 1% 971MB/s ± 1% -0.95% (p=0.000 n=10+10)
This commit is contained in:
1 parent
e497b38da0
commit
33a4557d98
9 files changed
+325
-158
No files matched your search
@@ -208,6 +208,7 @@ var Funcs = []string{
|
||||
"io_reader.set_limit!(l u64)", // TODO: remove, as it's no longer used?
|
||||
"io_reader.set_mark!()",
|
||||
"io_reader.since_mark() slice u8",
|
||||
"io_reader.take!(n u64) slice u8",
|
||||
|
||||
"io_reader.skip!??(n u32)",
|
||||
|
||||
|
||||
+21
-19
@@ -441,28 +441,29 @@ const (
|
||||
IDBase = ID(0x131)
|
||||
IDThis = ID(0x132)
|
||||
|
||||
IDFrameConfig = ID(0x160)
|
||||
IDImageConfig = ID(0x161)
|
||||
IDPixelBuffer = ID(0x162)
|
||||
IDPixelConfig = ID(0x163)
|
||||
IDPixelSwizzler = ID(0x164)
|
||||
IDFrameConfig = ID(0x150)
|
||||
IDImageConfig = ID(0x151)
|
||||
IDPixelBuffer = ID(0x152)
|
||||
IDPixelConfig = ID(0x153)
|
||||
IDPixelSwizzler = ID(0x154)
|
||||
|
||||
IDDecodeFrameOptions = ID(0x168)
|
||||
IDDecodeFrameOptions = ID(0x158)
|
||||
|
||||
IDCanUndoByte = ID(0x170)
|
||||
IDPosition = ID(0x171)
|
||||
IDSetLimit = ID(0x172)
|
||||
IDSetMark = ID(0x173)
|
||||
IDSinceMark = ID(0x174)
|
||||
IDSinceMarkLength = ID(0x175)
|
||||
IDSkip = ID(0x176)
|
||||
IDSkipFast = ID(0x177)
|
||||
IDCanUndoByte = ID(0x160)
|
||||
IDPosition = ID(0x161)
|
||||
IDSetLimit = ID(0x162)
|
||||
IDSetMark = ID(0x163)
|
||||
IDSinceMark = ID(0x164)
|
||||
IDSinceMarkLength = ID(0x165)
|
||||
IDSkip = ID(0x166)
|
||||
IDSkipFast = ID(0x167)
|
||||
IDTake = ID(0x168)
|
||||
|
||||
IDCopyFromSlice = ID(0x178)
|
||||
IDCopyNFromHistory = ID(0x179)
|
||||
IDCopyNFromHistoryFast = ID(0x17A)
|
||||
IDCopyNFromReader = ID(0x17B)
|
||||
IDCopyNFromSlice = ID(0x17C)
|
||||
IDCopyFromSlice = ID(0x170)
|
||||
IDCopyNFromHistory = ID(0x171)
|
||||
IDCopyNFromHistoryFast = ID(0x172)
|
||||
IDCopyNFromReader = ID(0x173)
|
||||
IDCopyNFromSlice = ID(0x174)
|
||||
|
||||
// -------- 0x180 block.
|
||||
|
||||
@@ -786,6 +787,7 @@ var builtInsByID = [nBuiltInIDs]string{
|
||||
IDSinceMarkLength: "since_mark_length",
|
||||
IDSkip: "skip",
|
||||
IDSkipFast: "skip_fast",
|
||||
IDTake: "take",
|
||||
|
||||
IDCopyFromSlice: "copy_from_slice",
|
||||
IDCopyNFromHistory: "copy_n_from_history",
|
||||
|
||||
Reference in new issue
Block a user