Nigel Tao
|
eb06ed77ba
|
Add std/json quirk_allow_comment_etc
|
2020-03-22 21:07:12 +11:00 |
|
Nigel Tao
|
21f6a5df4a
|
Add std/json CLASS_COMMENT
|
2020-03-21 22:33:39 +11:00 |
|
Nigel Tao
|
502c8eff56
|
Add std/json quirk_allow_backslash_x
|
2020-03-21 21:42:30 +11:00 |
|
Nigel Tao
|
83e7da0a6a
|
Add std/json quirk_allow_backslash_capital_u
|
2020-03-19 23:20:45 +11:00 |
|
Nigel Tao
|
97f7f28218
|
Add std/json backslash-related quirks
|
2020-03-19 15:56:21 +11:00 |
|
Nigel Tao
|
b86373aff5
|
Add io_reader.peek_u64le_at
|
2020-03-19 11:33:22 +11:00 |
|
Nigel Tao
|
31cfaaeb4e
|
Add std/json quirk_replace_invalid_utf_8
|
2020-03-19 10:37:18 +11:00 |
|
Nigel Tao
|
4b186b0b6b
|
Add std/json quirk_allow_trailing_etc
|
2020-03-18 16:42:06 +11:00 |
|
Nigel Tao
|
3a75d9746e
|
Add std/json quirk_allow_leading_etc
|
2020-03-18 13:15:04 +11:00 |
|
Nigel Tao
|
791437bb47
|
Have std/json return base."@end of data"
|
2020-03-17 21:21:39 +11:00 |
|
Nigel Tao
|
07d99dc2e1
|
Update some RFC links
|
2020-03-12 16:58:38 +11:00 |
|
Nigel Tao
|
a3827275c0
|
Add std/json quirks
|
2020-03-12 16:47:26 +11:00 |
|
Nigel Tao
|
c3ca77a539
|
Add WUFFS_BASE__TOKEN__VBD__NUMBER__FORMAT_ETC
|
2020-03-11 12:06:50 +11:00 |
|
Nigel Tao
|
a5184edd6a
|
Fix std/json's checking of number length too long
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21051
|
2020-03-06 21:05:44 +11:00 |
|
Nigel Tao
|
e65c861207
|
Extend std/deflate ringbuffer to simplify copies
name old speed new speed delta
wuffs_deflate_decode_1k_full_init/clang5 155MB/s ± 1% 154MB/s ± 0% -0.98% (p=0.000 n=10+9)
wuffs_deflate_decode_1k_part_init/clang5 190MB/s ± 0% 193MB/s ± 1% +1.49% (p=0.000 n=10+9)
wuffs_deflate_decode_10k_full_init/clang5 240MB/s ± 0% 249MB/s ± 0% +3.68% (p=0.000 n=9+10)
wuffs_deflate_decode_10k_part_init/clang5 247MB/s ± 0% 257MB/s ± 1% +4.03% (p=0.000 n=10+10)
wuffs_deflate_decode_100k_just_one_read/clang5 292MB/s ± 1% 291MB/s ± 0% -0.34% (p=0.043 n=10+9)
wuffs_deflate_decode_100k_many_big_reads/clang5 246MB/s ± 0% 250MB/s ± 0% +1.77% (p=0.000 n=9+10)
wuffs_deflate_decode_1k_full_init/gcc9 166MB/s ± 1% 165MB/s ± 1% -0.48% (p=0.009 n=10+10)
wuffs_deflate_decode_1k_part_init/gcc9 208MB/s ± 1% 212MB/s ± 0% +1.85% (p=0.000 n=10+9)
wuffs_deflate_decode_10k_full_init/gcc9 248MB/s ± 1% 281MB/s ± 0% +13.05% (p=0.000 n=9+10)
wuffs_deflate_decode_10k_part_init/gcc9 256MB/s ± 0% 290MB/s ± 0% +13.34% (p=0.000 n=10+10)
wuffs_deflate_decode_100k_just_one_read/gcc9 336MB/s ± 0% 333MB/s ± 0% -0.93% (p=0.000 n=9+8)
wuffs_deflate_decode_100k_many_big_reads/gcc9 262MB/s ± 0% 280MB/s ± 1% +6.99% (p=0.000 n=9+10)
|
2020-03-05 12:35:03 +11:00 |
|
Nigel Tao
|
771d4f9d98
|
Add std/json lut_decimal_digits
name old speed new speed delta
wuffs_json_decode_1k/clang5 1.13GB/s ± 0% 1.12GB/s ± 1% -1.01% (p=0.002 n=10+10)
wuffs_json_decode_21k_formatted/clang5 576MB/s ± 1% 595MB/s ± 1% +3.29% (p=0.000 n=10+10)
wuffs_json_decode_26k_compact/clang5 873MB/s ± 1% 907MB/s ± 1% +3.81% (p=0.000 n=10+10)
wuffs_json_decode_217k_stringy/clang5 727MB/s ± 0% 750MB/s ± 0% +3.14% (p=0.000 n=10+8)
wuffs_json_decode_1k/gcc9 1.10GB/s ± 1% 1.11GB/s ± 1% +0.43% (p=0.035 n=10+10)
wuffs_json_decode_21k_formatted/gcc9 628MB/s ± 0% 618MB/s ± 1% -1.59% (p=0.000 n=10+10)
wuffs_json_decode_26k_compact/gcc9 892MB/s ± 0% 888MB/s ± 1% -0.43% (p=0.023 n=10+10)
wuffs_json_decode_217k_stringy/gcc9 724MB/s ± 1% 733MB/s ± 1% +1.28% (p=0.000 n=10+10)
|
2020-03-05 11:17:57 +11:00 |
|
Nigel Tao
|
07110398f1
|
Optimize std/json string decoding
name old speed new speed delta
wuffs_json_decode_1k/clang5 729MB/s ± 1% 1130MB/s ± 0% +54.99% (p=0.000 n=10+10)
wuffs_json_decode_21k_formatted/clang5 541MB/s ± 1% 576MB/s ± 1% +6.44% (p=0.000 n=10+10)
wuffs_json_decode_26k_compact/clang5 603MB/s ± 0% 873MB/s ± 1% +44.72% (p=0.000 n=9+10)
wuffs_json_decode_217k_stringy/clang5 607MB/s ± 0% 727MB/s ± 0% +19.78% (p=0.000 n=10+10)
wuffs_json_decode_1k/gcc9 871MB/s ± 0% 1104MB/s ± 1% +26.74% (p=0.000 n=10+10)
wuffs_json_decode_21k_formatted/gcc9 641MB/s ± 1% 628MB/s ± 0% -2.03% (p=0.000 n=10+10)
wuffs_json_decode_26k_compact/gcc9 746MB/s ± 1% 892MB/s ± 0% +19.54% (p=0.000 n=10+10)
wuffs_json_decode_217k_stringy/gcc9 736MB/s ± 1% 724MB/s ± 1% -1.68% (p=0.000 n=9+10)
|
2020-03-05 11:00:56 +11:00 |
|
Nigel Tao
|
19967648ef
|
Add std/json while.string_loop_outer loop name
|
2020-03-01 22:39:02 +11:00 |
|
Nigel Tao
|
02b2ecd29e
|
Add std/json while.string_loop_inner loop name
|
2020-03-01 22:37:50 +11:00 |
|
Nigel Tao
|
4ee19eb807
|
Have std/json emit pending strings on bad UTF-8
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20973
|
2020-03-01 22:24:19 +11:00 |
|
Nigel Tao
|
21682f403f
|
Add fuzz/c/std/json_fuzzer.c
|
2020-03-01 12:01:42 +11:00 |
|
Nigel Tao
|
85fba7f82b
|
Tweak wuffs_base__token bitmask assignments again
|
2020-02-29 16:28:06 +11:00 |
|
Nigel Tao
|
d1c928a1ed
|
Have tokens include explicit link bits
|
2020-02-29 10:46:44 +11:00 |
|
Nigel Tao
|
550ef90114
|
Have std/json reject invalid UTF-8
|
2020-02-26 16:26:16 +11:00 |
|
Nigel Tao
|
3b17d5b28a
|
Have std/json reject some invalid UTF-8
|
2020-02-26 14:36:23 +11:00 |
|
Nigel Tao
|
9f0eb266e8
|
Rename std/json Look-Up Table consts
|
2020-02-26 11:43:50 +11:00 |
|
Nigel Tao
|
9d4eeb7b54
|
Tweak wuffs_base__token bitmask assignments again
|
2020-02-26 11:36:30 +11:00 |
|
Nigel Tao
|
014b935d95
|
Add base.token_decoder interface
|
2020-02-26 10:19:49 +11:00 |
|
Nigel Tao
|
a9d1488674
|
Tweak wuffs_base__token bitmask assignments
|
2020-02-25 12:12:31 +11:00 |
|
Nigel Tao
|
16b0c4652a
|
Have std/json decode Unicode surrogate pairs
|
2020-02-25 10:45:31 +11:00 |
|
Nigel Tao
|
2d2a880c18
|
Ban unlabeled break/continue for labeled loop
|
2020-02-24 14:20:05 +11:00 |
|
Nigel Tao
|
c5b3a9e08e
|
Have std/json look at args.src.is_closed() more
|
2020-02-24 11:55:31 +11:00 |
|
Nigel Tao
|
83ae50ce9b
|
Raise std/json's max number length from 49 to 99
|
2020-02-24 11:27:34 +11:00 |
|
Nigel Tao
|
01bab82970
|
Have std/json pushes be (from, to) not just (to)
|
2020-02-23 09:20:56 +11:00 |
|
Nigel Tao
|
b1e3a15c08
|
Add endwhile syntax
|
2020-02-22 13:11:02 +11:00 |
|
Nigel Tao
|
d1a4abe321
|
Refactor std/json expected-character-class check
|
2020-02-22 09:03:07 +11:00 |
|
Nigel Tao
|
f6843719b5
|
Re-order std/json if-else chain
|
2020-02-22 08:17:52 +11:00 |
|
Nigel Tao
|
48e7004636
|
Add std/json character classes
|
2020-02-22 08:07:26 +11:00 |
|
Nigel Tao
|
9263c80cfb
|
Factor out std/json/common_consts.wuffs
|
2020-02-22 07:24:22 +11:00 |
|
Nigel Tao
|
b5461bdd5e
|
Have std/json decode string escapes
|
2020-02-21 14:13:37 +11:00 |
|
Nigel Tao
|
93b09674a9
|
Add a "while.goto_foo true { etc }" to std/json
|
2020-02-21 11:42:33 +11:00 |
|
Nigel Tao
|
c92c0f50e4
|
Have std/json decode null, false and true
|
2020-02-21 11:16:27 +11:00 |
|
Nigel Tao
|
9a5b635778
|
Have std/json distinguish int/float numbers
|
2020-02-20 22:27:04 +11:00 |
|
Nigel Tao
|
b194c7fbb9
|
Have std/json check numbers are expected
|
2020-02-20 11:47:44 +11:00 |
|
Nigel Tao
|
7acb35f05d
|
Have std/json decode fractions and exponents
|
2020-02-20 11:41:39 +11:00 |
|
Nigel Tao
|
9d35cf00ac
|
Tweak std/json's decode_tokens return values
|
2020-02-20 09:53:26 +11:00 |
|
Nigel Tao
|
6a7a4d08e3
|
Save derived vars for returns in non-coroutines
|
2020-02-19 14:31:42 +11:00 |
|
Nigel Tao
|
67306567f9
|
Have std/json look at args.src.is_closed()
|
2020-02-19 14:04:49 +11:00 |
|
Nigel Tao
|
8850d38403
|
Have std/json decode numbers
|
2020-02-19 12:25:00 +11:00 |
|
Nigel Tao
|
27036043ae
|
Have std/json reject control characters in strings
|
2020-02-18 21:26:34 +11:00 |
|