Commit Graph
15 Commits
Author SHA1 Message Date
Nigel Tao 6236e7205f Remove packageid 2018-08-12 21:44:49 +10:00
Nigel Tao eec0fce647 Change error "?foo" to status "?foo" 2018-08-12 21:31:56 +10:00
Nigel Tao 203b45e869 Remove status values 2018-08-12 19:36:29 +10:00
Nigel Tao b385c30b4f Add a "?" prefix to non-built-in status messages 2018-08-12 14:07:40 +10:00
Nigel Tao eca5565821 Removed closed-for-read/write status codes 2018-08-04 09:34:39 +10:00
Nigel Tao 2100a9f837 Use !?? to denote coroutines 2018-07-29 13:57:13 +10:00
Nigel Tao ca06083f8a Rename the implicit in variable to args 2018-07-29 10:26:22 +10:00
Nigel Tao 9919d78245 Change func out-type from struct to bare type 2018-07-29 10:02:06 +10:00
Nigel Tao 92b566367d Optimize some more more std/gif if blocks
name                             old speed     new speed     delta

wuffs_lzw_decode_20k/clang       136MB/s ± 0%  134MB/s ± 1%  -1.27%  (p=0.000 n=9+9)
wuffs_lzw_decode_100k/clang      175MB/s ± 0%  175MB/s ± 0%    ~     (p=0.863 n=9+9)

wuffs_lzw_decode_20k/gcc         168MB/s ± 0%  177MB/s ± 1%  +5.79%  (p=0.000 n=9+8)
wuffs_lzw_decode_100k/gcc        242MB/s ± 0%  262MB/s ± 3%  +8.27%  (p=0.000 n=10+10)

wuffs_gif_decode_1k_bw/clang     280MB/s ± 1%  294MB/s ± 1%  +4.88%  (p=0.000 n=9+9)
wuffs_gif_decode_1k_color/clang  158MB/s ± 0%  158MB/s ± 0%    ~     (p=0.724 n=8+9)
wuffs_gif_decode_10k/clang       146MB/s ± 0%  146MB/s ± 0%    ~     (p=0.387 n=9+9)
wuffs_gif_decode_100k/clang      125MB/s ± 0%  125MB/s ± 1%  +0.18%  (p=0.040 n=9+9)
wuffs_gif_decode_1000k/clang     128MB/s ± 0%  128MB/s ± 1%  +0.38%  (p=0.008 n=8+9)

wuffs_gif_decode_1k_bw/gcc       323MB/s ± 1%  306MB/s ± 2%  -5.20%  (p=0.000 n=10+10)
wuffs_gif_decode_1k_color/gcc    167MB/s ± 2%  164MB/s ± 1%  -1.71%  (p=0.002 n=10+10)
wuffs_gif_decode_10k/gcc         151MB/s ± 0%  152MB/s ± 0%  +0.67%  (p=0.000 n=9+10)
wuffs_gif_decode_100k/gcc        134MB/s ± 0%  136MB/s ± 1%  +1.16%  (p=0.001 n=9+9)
wuffs_gif_decode_1000k/gcc       138MB/s ± 0%  140MB/s ± 1%  +1.18%  (p=0.000 n=9+9)
2018-06-30 08:49:23 +10:00
Nigel Tao 9cd37adfe8 Optimize some more std/gif if blocks
name                             old speed     new speed     delta

wuffs_lzw_decode_20k/clang       124MB/s ± 0%  136MB/s ± 0%   +9.77%  (p=0.000 n=9+9)
wuffs_lzw_decode_100k/clang      164MB/s ± 1%  175MB/s ± 0%   +6.66%  (p=0.000 n=10+9)

wuffs_lzw_decode_20k/gcc         167MB/s ± 0%  168MB/s ± 0%   +0.38%  (p=0.000 n=8+9)
wuffs_lzw_decode_100k/gcc        247MB/s ± 0%  242MB/s ± 0%   -2.16%  (p=0.000 n=9+10)

wuffs_gif_decode_1k_bw/clang     266MB/s ± 1%  280MB/s ± 1%   +5.36%  (p=0.000 n=10+9)
wuffs_gif_decode_1k_color/clang  122MB/s ± 0%  158MB/s ± 0%  +29.46%  (p=0.000 n=10+8)
wuffs_gif_decode_10k/clang       115MB/s ± 1%  146MB/s ± 0%  +27.00%  (p=0.000 n=10+9)
wuffs_gif_decode_100k/clang      113MB/s ± 0%  125MB/s ± 0%  +10.46%  (p=0.000 n=9+9)
wuffs_gif_decode_1000k/clang     115MB/s ± 1%  128MB/s ± 0%  +11.24%  (p=0.000 n=9+8)

wuffs_gif_decode_1k_bw/gcc       298MB/s ± 1%  323MB/s ± 1%   +8.23%  (p=0.000 n=9+10)
wuffs_gif_decode_1k_color/gcc    163MB/s ± 1%  167MB/s ± 2%   +2.10%  (p=0.000 n=10+10)
wuffs_gif_decode_10k/gcc         152MB/s ± 0%  151MB/s ± 0%   -0.55%  (p=0.000 n=9+9)
wuffs_gif_decode_100k/gcc        134MB/s ± 0%  134MB/s ± 0%     ~     (p=0.606 n=8+9)
wuffs_gif_decode_1000k/gcc       138MB/s ± 1%  138MB/s ± 0%     ~     (p=0.422 n=9+9)
2018-06-30 08:40:24 +10:00
Nigel Tao 91bf555431 Optimize some std/gif if blocks
name                             old speed     new speed     delta

wuffs_lzw_decode_20k/clang       123MB/s ± 1%  124MB/s ± 0%   +0.91%  (p=0.000 n=46+9)
wuffs_lzw_decode_100k/clang      156MB/s ± 1%  164MB/s ± 1%   +5.07%  (p=0.000 n=46+10)

wuffs_lzw_decode_20k/gcc         167MB/s ± 2%  167MB/s ± 0%     ~     (p=0.933 n=46+8)
wuffs_lzw_decode_100k/gcc        243MB/s ± 3%  247MB/s ± 0%   +1.56%  (p=0.000 n=47+9)

wuffs_gif_decode_1k_bw/clang     263MB/s ± 1%  266MB/s ± 1%   +1.02%  (p=0.000 n=46+10)
wuffs_gif_decode_1k_color/clang  147MB/s ± 1%  122MB/s ± 0%  -16.63%  (p=0.000 n=46+10)
wuffs_gif_decode_10k/clang       134MB/s ± 2%  115MB/s ± 1%  -14.02%  (p=0.000 n=49+10)
wuffs_gif_decode_100k/clang      115MB/s ± 1%  113MB/s ± 0%   -1.73%  (p=0.000 n=44+9)
wuffs_gif_decode_1000k/clang     117MB/s ± 1%  115MB/s ± 1%   -2.10%  (p=0.000 n=46+9)

wuffs_gif_decode_1k_bw/gcc       291MB/s ± 1%  298MB/s ± 1%   +2.46%  (p=0.000 n=44+9)
wuffs_gif_decode_1k_color/gcc    138MB/s ± 1%  163MB/s ± 1%  +18.50%  (p=0.000 n=45+10)
wuffs_gif_decode_10k/gcc         134MB/s ± 2%  152MB/s ± 0%  +13.37%  (p=0.000 n=47+9)
wuffs_gif_decode_100k/gcc        121MB/s ± 1%  134MB/s ± 0%  +11.18%  (p=0.000 n=46+8)
wuffs_gif_decode_1000k/gcc       124MB/s ± 2%  138MB/s ± 1%  +11.07%  (p=0.000 n=47+9)
2018-06-30 08:33:23 +10:00
Nigel Tao 634789722d Assign values, not just messages, to status codes 2018-06-10 15:48:29 +10:00
Nigel Tao 8dbfad9509 Type check used-package structs and funcs 2018-06-03 10:49:24 +10:00
Nigel Tao 6b640bea86 Rename some std/lzw error messages 2018-06-03 09:28:57 +10:00
Nigel Tao 6d510bcfcb Spin out a std/lzw package 2018-06-02 14:15:09 +10:00