Nigel Tao
|
a8406927ef
|
Add io_reader.is_closed
|
2020-02-19 12:22:00 +11:00 |
|
Nigel Tao
|
e9aba8924a
|
Add token_writer.write_fast_token
|
2020-02-12 21:45:06 +11:00 |
|
Nigel Tao
|
36857984c7
|
Add wuffs_base__token methods
|
2020-02-12 13:51:58 +11:00 |
|
Nigel Tao
|
8e7efa67b9
|
Have write_{u8,token} save args across suspension
|
2020-02-11 14:46:03 +11:00 |
|
Nigel Tao
|
2f2ccdb696
|
Add token_writer.write_token
|
2020-02-11 13:31:13 +11:00 |
|
Nigel Tao
|
6ef3ffe6c8
|
Add io_reader.skip
|
2020-01-16 22:15:33 +11:00 |
|
Nigel Tao
|
09ed091fe3
|
Rename skip / copy_n_etc to skip32 / copy_n32_etc
|
2020-01-16 22:07:44 +11:00 |
|
Nigel Tao
|
fb54ba452f
|
Add wuffs_base__make_status
|
2020-01-02 20:44:23 +11:00 |
|
Nigel Tao
|
a9ea63ff06
|
Rename [i:j] to [i .. j], the same as Rust
|
2019-10-12 21:14:18 +11:00 |
|
Nigel Tao
|
74614a2921
|
Fix calls to the deprecated null_io_buffer
|
2019-09-14 12:06:27 +10:00 |
|
Nigel Tao
|
69db19a26c
|
Remove some hard-coding of cgen I/O built-in's
|
2019-07-27 08:29:32 +10:00 |
|
Nigel Tao
|
392c8c544a
|
Rename null_io_buffer etc to empty_io_buffer
|
2019-07-13 10:55:51 +10:00 |
|
Nigel Tao
|
e477175fd2
|
Remove wuffs_base__global__null_io_buffer
|
2019-07-13 10:47:20 +10:00 |
|
Nigel Tao
|
2e901b6f8a
|
Simplify some io0_etc references
|
2019-07-13 08:10:28 +10:00 |
|
Nigel Tao
|
2b40cf00c4
|
Remove unnecessary iox_etc nullptr checks
|
2019-07-07 17:10:02 +10:00 |
|
Nigel Tao
|
3ca0c3dd1f
|
Have io_{reader,writer}.count_since use io0_etc
|
2019-07-07 17:01:39 +10:00 |
|
Nigel Tao
|
daeec2bc1e
|
Have io_{reader,writer}.mark use io0_etc
|
2019-07-07 16:55:25 +10:00 |
|
Nigel Tao
|
3a23c449c7
|
Tweak io_{reader,writer}.since to use io0_etc
name old speed new speed delta
wuffs_deflate_decode_1k_full_init/clang5 155MB/s ± 0% 155MB/s ± 1% ~ (p=0.222 n=5+5)
wuffs_deflate_decode_1k_part_init/clang5 191MB/s ± 0% 191MB/s ± 1% ~ (p=0.421 n=5+5)
wuffs_deflate_decode_10k_full_init/clang5 255MB/s ± 0% 248MB/s ± 0% -2.81% (p=0.008 n=5+5)
wuffs_deflate_decode_10k_part_init/clang5 262MB/s ± 0% 256MB/s ± 0% -2.59% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_just_one_read/clang5 292MB/s ± 0% 282MB/s ± 0% -3.42% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_many_big_reads/clang5 249MB/s ± 0% 237MB/s ± 0% -4.65% (p=0.008 n=5+5)
wuffs_deflate_decode_1k_full_init/gcc7 157MB/s ± 0% 156MB/s ± 2% ~ (p=0.095 n=5+5)
wuffs_deflate_decode_1k_part_init/gcc7 194MB/s ± 0% 194MB/s ± 0% ~ (p=0.548 n=5+5)
wuffs_deflate_decode_10k_full_init/gcc7 268MB/s ± 0% 267MB/s ± 0% -0.50% (p=0.016 n=5+5)
wuffs_deflate_decode_10k_part_init/gcc7 276MB/s ± 0% 276MB/s ± 0% ~ (p=1.000 n=5+5)
wuffs_deflate_decode_100k_just_one_read/gcc7 321MB/s ± 0% 324MB/s ± 0% +0.75% (p=0.008 n=5+5)
wuffs_deflate_decode_100k_many_big_reads/gcc7 261MB/s ± 0% 257MB/s ± 0% -1.21% (p=0.008 n=5+5)
wuffs_zlib_decode_10k/clang5 235MB/s ± 1% 230MB/s ± 0% -2.31% (p=0.008 n=5+5)
wuffs_zlib_decode_100k/clang5 260MB/s ± 0% 253MB/s ± 1% -2.77% (p=0.008 n=5+5)
wuffs_zlib_decode_10k/gcc7 226MB/s ± 0% 249MB/s ± 0% +10.18% (p=0.008 n=5+5)
wuffs_zlib_decode_100k/gcc7 263MB/s ± 0% 287MB/s ± 0% +9.22% (p=0.008 n=5+5)
|
2019-07-06 22:25:50 +10:00 |
|
Nigel Tao
|
e08a4dfa3b
|
Rename some cgen internal variables
|
2019-07-06 21:50:29 +10:00 |
|
Nigel Tao
|
cc9fb5224a
|
Rename the generated C's io0_etc to io1_etc
|
2019-07-06 21:45:55 +10:00 |
|
Nigel Tao
|
7c6a88882e
|
Rename the generated C's io1_etc to io2_etc
|
2019-07-06 21:42:53 +10:00 |
|
Nigel Tao
|
f34d189236
|
Collapse trivial io_{reader,writer} buffer field
|
2019-07-06 16:47:47 +10:00 |
|
Nigel Tao
|
56e6a4759a
|
Fix -Werror=sign-conversion build failure
|
2019-07-06 12:14:10 +10:00 |
|
Nigel Tao
|
d7d2d9708e
|
Remove some obsolete limit/mark I/O methods
|
2019-07-06 11:43:31 +10:00 |
|
Nigel Tao
|
9f7435c7b4
|
Add io_writer.history_available method
Also change copy_n_from_history to examine the buffer start instead of
the buffer mark.
name old speed new speed delta
wuffs_deflate_decode_1k_full_init/clang5 151MB/s ± 0% 134MB/s ± 1% -11.11% (p=0.000 n=10+10)
wuffs_deflate_decode_1k_part_init/clang5 187MB/s ± 0% 162MB/s ± 1% -13.11% (p=0.000 n=10+10)
wuffs_deflate_decode_10k_full_init/clang5 241MB/s ± 0% 220MB/s ± 0% -8.76% (p=0.000 n=10+10)
wuffs_deflate_decode_10k_part_init/clang5 248MB/s ± 0% 225MB/s ± 0% -9.12% (p=0.000 n=10+9)
wuffs_deflate_decode_100k_just_one_read/clang5 288MB/s ± 0% 270MB/s ± 0% -6.16% (p=0.000 n=10+10)
wuffs_deflate_decode_100k_many_big_reads/clang5 239MB/s ± 0% 225MB/s ± 0% -5.84% (p=0.000 n=10+10)
wuffs_deflate_decode_1k_full_init/gcc7 153MB/s ± 1% 151MB/s ± 1% -1.13% (p=0.000 n=10+9)
wuffs_deflate_decode_1k_part_init/gcc7 187MB/s ± 1% 186MB/s ± 1% ~ (p=0.052 n=10+10)
wuffs_deflate_decode_10k_full_init/gcc7 261MB/s ± 0% 256MB/s ± 1% -1.83% (p=0.000 n=10+10)
wuffs_deflate_decode_10k_part_init/gcc7 269MB/s ± 1% 264MB/s ± 1% -1.62% (p=0.000 n=10+10)
wuffs_deflate_decode_100k_just_one_read/gcc7 313MB/s ± 0% 310MB/s ± 1% -0.69% (p=0.000 n=9+10)
wuffs_deflate_decode_100k_many_big_reads/gcc7 247MB/s ± 0% 247MB/s ± 0% ~ (p=0.089 n=10+10)
|
2019-07-06 11:26:05 +10:00 |
|
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 |
|
Nigel Tao
|
ff1e3c9c48
|
Add mark/since/count_since methods
name old speed new speed delta
wuffs_deflate_decode_1k_full_init/clang5 149MB/s ± 0% 151MB/s ± 1% +1.46% (p=0.000 n=9+7)
wuffs_deflate_decode_1k_part_init/clang5 183MB/s ± 1% 188MB/s ± 2% +2.40% (p=0.000 n=10+10)
wuffs_deflate_decode_10k_full_init/clang5 236MB/s ± 0% 242MB/s ± 1% +2.56% (p=0.000 n=10+10)
wuffs_deflate_decode_10k_part_init/clang5 243MB/s ± 0% 249MB/s ± 0% +2.36% (p=0.000 n=9+9)
wuffs_deflate_decode_100k_just_one_read/clang5 279MB/s ± 0% 288MB/s ± 1% +3.28% (p=0.000 n=9+8)
wuffs_deflate_decode_100k_many_big_reads/clang5 232MB/s ± 0% 240MB/s ± 1% +3.76% (p=0.000 n=9+9)
wuffs_deflate_decode_1k_full_init/gcc7 152MB/s ± 1% 152MB/s ± 1% ~ (p=0.661 n=10+9)
wuffs_deflate_decode_1k_part_init/gcc7 188MB/s ± 0% 187MB/s ± 1% -0.58% (p=0.013 n=10+9)
wuffs_deflate_decode_10k_full_init/gcc7 260MB/s ± 0% 260MB/s ± 0% ~ (p=0.393 n=10+10)
wuffs_deflate_decode_10k_part_init/gcc7 268MB/s ± 0% 268MB/s ± 0% ~ (p=0.971 n=10+10)
wuffs_deflate_decode_100k_just_one_read/gcc7 312MB/s ± 1% 312MB/s ± 0% ~ (p=0.720 n=10+9)
wuffs_deflate_decode_100k_many_big_reads/gcc7 247MB/s ± 1% 247MB/s ± 0% -0.26% (p=0.022 n=10+9)
|
2019-07-06 09:58:51 +10:00 |
|
Nigel Tao
|
3c86337cac
|
Fix some more -Wconversion warnings
|
2019-04-07 16:04:30 +10:00 |
|
Nigel Tao
|
6826f2f748
|
Move internal/cgen up a couple of directories
|
2019-03-09 13:28:59 +11:00 |
|