Nigel Tao
|
462f86675d
|
Add an "extended token" concept
|
2020-04-02 11:20:45 +11:00 |
|
Nigel Tao
|
d9d022b2df
|
Fix std/json test/bench naming convention typos
|
2020-03-31 22:49:19 +11:00 |
|
Nigel Tao
|
17944aae67
|
Optimize wuffs_base__parse_number_f64
name old time/op new time/op delta
strconv_parse_number_f64_1_lsh53_add0/clang5 100ns ± 0% 100ns ± 1% ~ (p=1.000 n=4+5)
strconv_parse_number_f64_1_lsh53_add1/clang5 741ns ± 1% 749ns ± 0% +1.05% (p=0.024 n=5+5)
strconv_parse_number_f64_pi_long/clang5 153ns ± 1% 153ns ± 0% ~ (p=0.238 n=5+4)
strconv_parse_number_f64_pi_short/clang5 62.0ns ± 2% 45.4ns ± 3% -26.77% (p=0.008 n=5+5)
strconv_parse_number_f64_1_lsh53_add0/gcc7 96.6ns ± 4% 95.8ns ± 1% ~ (p=0.794 n=5+5)
strconv_parse_number_f64_1_lsh53_add1/gcc7 757ns ± 0% 752ns ± 0% -0.63% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_long/gcc7 151ns ± 3% 162ns ± 0% +7.43% (p=0.016 n=5+4)
strconv_parse_number_f64_pi_short/gcc7 55.0ns ± 0% 49.0ns ± 2% -10.91% (p=0.000 n=4+5)
|
2020-03-31 22:20:01 +11:00 |
|
Nigel Tao
|
d587c9e4fa
|
Add medium-precision-binary floating point impl
name old time/op new time/op delta
strconv_parse_number_f64_1_lsh53_add0/clang5 218ns ± 1% 100ns ± 0% -54.13% (p=0.016 n=5+4)
strconv_parse_number_f64_1_lsh53_add1/clang5 716ns ± 2% 741ns ± 1% +3.46% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_long/clang5 438ns ± 2% 153ns ± 1% -65.19% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_short/clang5 174ns ± 2% 62ns ± 2% -64.37% (p=0.008 n=5+5)
strconv_parse_number_f64_1_lsh53_add0/gcc7 221ns ± 1% 97ns ± 4% -56.25% (p=0.008 n=5+5)
strconv_parse_number_f64_1_lsh53_add1/gcc7 742ns ± 1% 757ns ± 0% +2.02% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_long/gcc7 477ns ± 1% 151ns ± 3% -68.40% (p=0.008 n=5+5)
strconv_parse_number_f64_pi_short/gcc7 191ns ± 1% 55ns ± 0% -71.14% (p=0.000 n=5+4)
|
2020-03-31 22:18:54 +11:00 |
|
Nigel Tao
|
3f0d66285f
|
Add bench_strconv_parse_number_f64_etc
|
2020-03-28 11:16:06 +11:00 |
|
Nigel Tao
|
b72dd16f9b
|
Have test/* global variable names start with g_
|
2020-03-27 17:12:38 +11:00 |
|
Nigel Tao
|
f3146c2ea9
|
Add base.token_decoder.workbuf_len
|
2020-03-26 08:47:42 +11:00 |
|
Nigel Tao
|
3bfed6d812
|
Rename std/json quirk_replace_invalid_utf_8
|
2020-03-24 17:44:47 +11:00 |
|
Nigel Tao
|
5d5a17cc9c
|
Add test/data/json-quirks.json
|
2020-03-24 17:13:07 +11:00 |
|
Nigel Tao
|
60e928f7c9
|
Fix -Wmaybe-uninitialized in test/c/std/json
|
2020-03-24 14:04:41 +11:00 |
|
Nigel Tao
|
93882564fd
|
Rename std/json quirk_allow_final_comma
|
2020-03-24 14:00:21 +11:00 |
|
Nigel Tao
|
d7c72373f3
|
Add std/json quirk_allow_inf_nan_numbers
|
2020-03-24 13:58:38 +11:00 |
|
Nigel Tao
|
b43e2493a2
|
Add std/json quirk_allow_final_comma
|
2020-03-22 21:42:15 +11:00 |
|
Nigel Tao
|
eb06ed77ba
|
Add std/json quirk_allow_comment_etc
|
2020-03-22 21:07:12 +11:00 |
|
Nigel Tao
|
502c8eff56
|
Add std/json quirk_allow_backslash_x
|
2020-03-21 21:42:30 +11:00 |
|
Nigel Tao
|
c6b2aded30
|
Add wuffs_base__hexadecimal__decodeN
|
2020-03-20 22:48:06 +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
|
31cfaaeb4e
|
Add std/json quirk_replace_invalid_utf_8
|
2020-03-19 10:37:18 +11:00 |
|
Nigel Tao
|
c5c10e95b7
|
Remove some superfluous empty // comments
|
2020-03-18 21:58:19 +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
|
9fd96e8e44
|
Add io_buffer and token_buffer methods
|
2020-03-17 13:38:37 +11:00 |
|
Nigel Tao
|
982f79f6dd
|
Add test_strconv_parse_number_f64 test case
|
2020-03-13 09:44:02 +11:00 |
|
Nigel Tao
|
499ca132f6
|
Add wuffs_base__parse_number_f64
|
2020-03-11 11:41:32 +11:00 |
|
Nigel Tao
|
fdac24a425
|
Rename FOO_BUFFER_SIZE to FOO_BUFFER_ARRAY_SIZE
|
2020-03-06 21:53:08 +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
|
b5662b2906
|
Fix test_strconv_utf_8_next array size
|
2020-03-05 10:22:34 +11:00 |
|
Nigel Tao
|
757a4bd68c
|
Add more test_strconv_parse_number_u64 test cases
|
2020-03-04 22:18:56 +11:00 |
|
Nigel Tao
|
6892095998
|
Have C programs handle flags consistently
|
2020-03-03 11:25:18 +11:00 |
|
Nigel Tao
|
43f0a87a6d
|
Test std/json emit pending strings on bad UTF-8
|
2020-03-02 13:59:46 +11:00 |
|
Nigel Tao
|
57b1dd69b3
|
Raise bench_wuffs_json_decode_217k_stringy iters
|
2020-02-29 10:48:09 +11:00 |
|
Nigel Tao
|
809220e6cc
|
Add wuffs_base__utf_8__next
|
2020-02-27 14:41:45 +11:00 |
|
Nigel Tao
|
8cd45054fa
|
Fix U+D800 typo in std/json test
|
2020-02-27 10:28:20 +11:00 |
|
Nigel Tao
|
193527bd2d
|
Add script/print-json-token-debug-format.c
|
2020-02-26 22:47:31 +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
|
1da8110462
|
Rename test/c test_cases loop variable
|
2020-02-26 10:25:30 +11:00 |
|
Nigel Tao
|
014b935d95
|
Add base.token_decoder interface
|
2020-02-26 10:19:49 +11:00 |
|
Nigel Tao
|
2914bae3b2
|
Re-format C function signatures
|
2020-02-26 09:40:30 +11:00 |
|
Nigel Tao
|
51b1258b61
|
Rename test/c throughput_counter enums
|
2020-02-25 22:46:49 +11:00 |
|
Nigel Tao
|
7d31462e63
|
Add std/json benches
|
2020-02-25 22:42:18 +11:00 |
|
Nigel Tao
|
6d698a3a47
|
Add wuffs_base__parse_number_i64
|
2020-02-25 13:07:22 +11:00 |
|
Nigel Tao
|
16b0c4652a
|
Have std/json decode Unicode surrogate pairs
|
2020-02-25 10:45:31 +11:00 |
|
Nigel Tao
|
7b199116b0
|
Rename s/got/have/ in test/c
|
2020-02-24 21:23:58 +11:00 |
|
Nigel Tao
|
ce50a39f85
|
Rename s/bad/fail/ in test/c
|
2020-02-24 14:30:43 +11:00 |
|
Nigel Tao
|
70db96ac6d
|
Add wuffs_base__parse_number_u64
|
2020-02-20 22:10:15 +11:00 |
|
Nigel Tao
|
ea91e5ab69
|
Have std/json decode '[' and '{'
|
2020-02-13 13:01:27 +11:00 |
|