Nigel Tao
|
af75772cc2
|
Have std/cbor parse byte strings
|
2020-07-18 17:27:11 +10:00 |
|
Nigel Tao
|
664f8431d2
|
Have std/cbor parse negative integers
|
2020-07-16 21:25:14 +10:00 |
|
Nigel Tao
|
fca9a36252
|
Shrink cbor.decoder.decode_tokens coroutine state
|
2020-07-15 14:16:42 +10:00 |
|
Nigel Tao
|
31674f9bd2
|
Let skip_u32_fast take non-constant arguments
|
2020-07-15 14:10:43 +10:00 |
|
Nigel Tao
|
4e193599ac
|
Add std/cbor
|
2020-07-15 14:08:37 +10:00 |
|
Nigel Tao
|
84bb3afd87
|
Lower json.DECODER_NUMBER_LENGTH_MAX_INCL to 99
Commit b9f69264a0 "Raise
json.DECODER_NUMBER_LENGTH_MAX_INCL to 2047" might have regressed the
std/json benchmarks.
|
2020-07-07 23:29:30 +10:00 |
|
Nigel Tao
|
b9f69264a0
|
Raise json.DECODER_NUMBER_LENGTH_MAX_INCL to 2047
|
2020-07-07 23:08:11 +10:00 |
|
Nigel Tao
|
b9afc26387
|
Add TOKEN__VBD__STRING__CHAIN_ETC
|
2020-07-03 13:36:13 +10:00 |
|
Nigel Tao
|
4e2d0c1e5f
|
Cgen explicit type cast for (CONSTANT >> x)
|
2020-06-10 10:32:13 +10:00 |
|
Nigel Tao
|
66b0a12b6c
|
Add json.EXPECT_ETC constants
|
2020-06-09 23:50:35 +10:00 |
|
Nigel Tao
|
3d31ac03eb
|
Add base.TOKEN__ETC constants
|
2020-06-09 23:34:42 +10:00 |
|
Nigel Tao
|
7e32336de0
|
Add base.PIXEL_FORMAT__ETC constants
|
2020-06-09 12:34:34 +10:00 |
|
Nigel Tao
|
71528b33dd
|
Rename frame_config.update to frame_config.set
|
2020-06-03 11:34:57 +10:00 |
|
Nigel Tao
|
8b21a7600a
|
Add swizzle_interleaved_from_reader
|
2020-06-02 23:04:22 +10:00 |
|
Nigel Tao
|
54196c4e80
|
Rename pixel_swizzler.swizzle_interleaved
|
2020-05-29 16:54:05 +10:00 |
|
Nigel Tao
|
6537a817b7
|
Roll back the two previous "@I/O redirect" commits
See the previous commit for the rationale.
|
2020-05-29 11:27:51 +10:00 |
|
Nigel Tao
|
844fc9b5ee
|
Temporarily avoid using base."@I/O redirect"
This commit (and the next) will soon be followed by a rollback.
|
2020-05-29 09:53:30 +10:00 |
|
Nigel Tao
|
91dcf8f582
|
Add io_reader.limited_copy_u32_to_slice
|
2020-05-27 23:47:10 +10:00 |
|
Nigel Tao
|
8b70ad0565
|
Rename skip32 to skip_u32
|
2020-05-27 23:29:20 +10:00 |
|
Nigel Tao
|
1ed0f89948
|
Rename copy_n32_etc to limited_copy_u32_etc
|
2020-05-27 19:55:06 +10:00 |
|
Nigel Tao
|
dcb81a85bb
|
Prepare to decode BMP embedding a JPEG or PNG
|
2020-05-27 13:37:54 +10:00 |
|
Nigel Tao
|
1239280ad8
|
Roll back 'dst_palette into the pixel_swizzler'
See the previous commit for the rationale.
|
2020-05-26 14:13:28 +10:00 |
|
Nigel Tao
|
2d8ec9ace9
|
Roll dst_palette into the pixel_swizzler struct
This commit will soon be followed by a rollback, but it is committed
anyway so that we can refer to these numbers in the git log.
name old speed new speed delta
wuffs_gif_decode_1k_bw/clang5 286MB/s ± 1% 251MB/s ± 0% -12.11% (p=0.000 n=10+9)
wuffs_gif_decode_1k_color_full_init/clang5 96.0MB/s ± 0% 88.9MB/s ± 0% -7.35% (p=0.000 n=10+10)
wuffs_gif_decode_1k_color_part_init/clang5 119MB/s ± 0% 108MB/s ± 0% -9.06% (p=0.000 n=10+8)
wuffs_gif_decode_10k_bgra/clang5 469MB/s ± 1% 438MB/s ± 0% -6.50% (p=0.000 n=10+8)
wuffs_gif_decode_10k_indexed/clang5 125MB/s ± 1% 117MB/s ± 1% -6.78% (p=0.000 n=9+9)
wuffs_gif_decode_20k/clang5 153MB/s ± 0% 139MB/s ± 0% -9.40% (p=0.000 n=9+9)
wuffs_gif_decode_100k_artificial/clang5 324MB/s ± 0% 304MB/s ± 0% -6.22% (p=0.000 n=10+9)
wuffs_gif_decode_100k_realistic/clang5 139MB/s ± 1% 125MB/s ± 1% -9.69% (p=0.000 n=9+10)
wuffs_gif_decode_1000k_full_init/clang5 141MB/s ± 0% 126MB/s ± 0% -10.40% (p=0.000 n=10+10)
wuffs_gif_decode_1000k_part_init/clang5 141MB/s ± 1% 126MB/s ± 0% -10.50% (p=0.000 n=10+8)
wuffs_gif_decode_anim_screencap/clang5 655MB/s ± 0% 617MB/s ± 1% -5.91% (p=0.000 n=9+9)
wuffs_gif_decode_1k_bw/gcc7 299MB/s ± 0% 295MB/s ± 0% -1.18% (p=0.000 n=10+8)
wuffs_gif_decode_1k_color_full_init/gcc7 85.2MB/s ± 1% 88.2MB/s ± 0% +3.58% (p=0.000 n=10+10)
wuffs_gif_decode_1k_color_part_init/gcc7 104MB/s ± 0% 103MB/s ± 0% -0.39% (p=0.001 n=9+10)
wuffs_gif_decode_10k_bgra/gcc7 349MB/s ± 2% 352MB/s ± 0% +0.77% (p=0.000 n=9+10)
wuffs_gif_decode_10k_indexed/gcc7 106MB/s ± 0% 106MB/s ± 2% ~ (p=0.762 n=8+10)
wuffs_gif_decode_20k/gcc7 133MB/s ± 0% 133MB/s ± 0% ~ (p=0.258 n=9+9)
wuffs_gif_decode_100k_artificial/gcc7 302MB/s ± 0% 301MB/s ± 1% -0.41% (p=0.035 n=10+10)
wuffs_gif_decode_100k_realistic/gcc7 118MB/s ± 1% 118MB/s ± 1% ~ (p=0.095 n=9+10)
wuffs_gif_decode_1000k_full_init/gcc7 120MB/s ± 1% 119MB/s ± 0% -0.34% (p=0.007 n=10+10)
wuffs_gif_decode_1000k_part_init/gcc7 119MB/s ± 1% 119MB/s ± 1% ~ (p=0.138 n=10+10)
wuffs_gif_decode_anim_screencap/gcc7 640MB/s ± 0% 640MB/s ± 0% ~ (p=0.905 n=9+10)
|
2020-05-26 14:07:30 +10:00 |
|
Nigel Tao
|
7a823a7424
|
Fix std/wbmp decode_frame across a suspension
|
2020-05-22 12:25:13 +10:00 |
|
Nigel Tao
|
f9a90d8ade
|
Loosen what std/gif allows as the trailer byte
|
2020-05-21 22:06:21 +10:00 |
|
Nigel Tao
|
9a1b8def46
|
Tweak pixel_format bits
|
2020-05-16 10:12:16 +10:00 |
|
Nigel Tao
|
ad1cff3921
|
Add tell_me_more? mechanism
|
2020-05-12 11:12:39 +10:00 |
|
Nigel Tao
|
1f424b2ea7
|
Propagate const-values to idents of consts
|
2020-04-16 09:37:05 +10:00 |
|
Nigel Tao
|
e39f3cbf42
|
Redo Wuffs structs' quirk bool fields
|
2020-04-14 23:03:18 +10:00 |
|
Nigel Tao
|
532e18c4a5
|
Add colons to const syntax
|
2020-04-14 14:57:30 +10:00 |
|
Nigel Tao
|
80071730a3
|
Add std/json CLASS_XXX constants
|
2020-04-13 16:06:16 +10:00 |
|
Nigel Tao
|
74871344f0
|
Capitalize Wuffs const names
|
2020-04-13 15:52:36 +10:00 |
|
Nigel Tao
|
4bc42db1d3
|
Add set_quirk_enabled interface methods
|
2020-04-12 20:53:54 +10:00 |
|
Nigel Tao
|
496e88b6c5
|
Remove wuffs_base__token__link_prev
|
2020-04-09 22:11:08 +10:00 |
|
Nigel Tao
|
df3acfbb21
|
Clarify std/json quirk_allow_backslash_x semantics
|
2020-04-08 11:08:01 +10:00 |
|
Nigel Tao
|
d83bd8d036
|
Add std/json quirk_allow_ascii_control_codes
|
2020-04-07 17:50:47 +10:00 |
|
Nigel Tao
|
6f67bbc4b2
|
Add std/json quirk_allow_backslash_new_line
|
2020-04-07 17:24:31 +10:00 |
|
Nigel Tao
|
2db72dabe5
|
Re-assign JSON quirk numbers
|
2020-04-07 17:17:54 +10:00 |
|
Nigel Tao
|
88a449e3d7
|
Add perf comment to json.decoder.decode_string
|
2020-04-04 11:41:09 +11:00 |
|
Nigel Tao
|
695a72a37c
|
Roll back 'factor out json.decoder.decode_string'
See the previous commit for the rationale.
|
2020-04-04 11:32:35 +11:00 |
|
Nigel Tao
|
86d3b89f9a
|
Factor out json.decoder.decode_string
This commit will soon be followed by a rollback, but it is committed
anyway so that we can refer to these numbers in the git log.
name old speed new speed delta
wuffs_json_decode_1k/clang5 607MB/s ± 0% 543MB/s ± 1% -10.68% (p=0.008 n=5+5)
wuffs_json_decode_21k_formatted/clang5 330MB/s ± 2% 320MB/s ± 3% ~ (p=0.056 n=5+5)
wuffs_json_decode_26k_compact/clang5 468MB/s ± 2% 434MB/s ± 1% -7.26% (p=0.008 n=5+5)
wuffs_json_decode_217k_stringy/clang5 391MB/s ± 1% 363MB/s ± 0% -7.03% (p=0.008 n=5+5)
wuffs_json_decode_1k/gcc7 715MB/s ± 0% 583MB/s ± 0% -18.38% (p=0.016 n=5+4)
wuffs_json_decode_21k_formatted/gcc7 403MB/s ± 0% 350MB/s ± 0% -12.94% (p=0.016 n=5+4)
wuffs_json_decode_26k_compact/gcc7 534MB/s ± 0% 420MB/s ± 1% -21.41% (p=0.008 n=5+5)
wuffs_json_decode_217k_stringy/gcc7 435MB/s ± 0% 359MB/s ± 0% -17.44% (p=0.008 n=5+5)
|
2020-04-04 11:32:35 +11:00 |
|
Nigel Tao
|
ecd3285567
|
Simplify a std/json while as an if
|
2020-04-03 12:35:18 +11:00 |
|
Nigel Tao
|
3fe3f84106
|
Add double-curly blocks
|
2020-04-02 21:56:53 +11:00 |
|
Nigel Tao
|
f515dc0848
|
Rename io_writer.write_fast_etc
|
2020-04-02 12:32:40 +11:00 |
|
Nigel Tao
|
3456f39f9d
|
Rename token_writer.write_fast_token
|
2020-04-02 12:26:57 +11:00 |
|
Nigel Tao
|
7edf71414f
|
Fix std/json replace_invalid_unicode copy/pasto
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21465
|
2020-03-31 22:37:43 +11:00 |
|
Nigel Tao
|
f3146c2ea9
|
Add base.token_decoder.workbuf_len
|
2020-03-26 08:47:42 +11:00 |
|
Nigel Tao
|
40d200cdab
|
Drop cached expr MBounds when re-checking asserts
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21371
|
2020-03-26 08:14:43 +11:00 |
|
Nigel Tao
|
58351d44da
|
Make endwhile mandatory for nameless loops
|
2020-03-25 21:40:00 +11:00 |
|
Nigel Tao
|
9e50918718
|
Add single-quoted strings
|
2020-03-25 19:41:02 +11:00 |
|