Commit Graph
146 Commits
Author SHA1 Message Date
Nigel Tao 0eee231ce6 Add script/process-json-numbers.c 2020-07-03 12:48:37 +10:00
Nigel Tao 89ceb9fabc Add wuffs_base__render_number_f64 2020-07-01 12:03:20 +10:00
Nigel Tao f7ea462c00 Fix human-readable vmajor when out of base38 range 2020-04-10 22:44:13 +10:00
Nigel Tao 496e88b6c5 Remove wuffs_base__token__link_prev 2020-04-09 22:11:08 +10:00
Nigel Tao 3385efa7fd Update token debug format for extended tokens 2020-04-02 12:10:10 +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 c0bd9df978 Have script/*.c global var names start with g_ 2020-03-26 21:55:44 +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 a3827275c0 Add std/json quirks 2020-03-12 16:47:26 +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 6892095998 Have C programs handle flags consistently 2020-03-03 11:25:18 +11:00
Nigel Tao 6b29f32564 Add script/print-json-token-debug-format.c -a flag 2020-02-29 17:05:24 +11:00
Nigel Tao 85fba7f82b Tweak wuffs_base__token bitmask assignments again 2020-02-29 16:28:06 +11:00
Nigel Tao 67f00c15db Add script/print-json-token-debug-format.c -h flag 2020-02-29 16:13:11 +11:00
Nigel Tao d1c928a1ed Have tokens include explicit link bits 2020-02-29 10:46:44 +11:00
Nigel Tao 1ad5cfac4d Make wuffs_base__{load,store}_uNNxe public 2020-02-27 10:58:14 +11:00
Nigel Tao 193527bd2d Add script/print-json-token-debug-format.c 2020-02-26 22:47:31 +11:00
Nigel Tao 2914bae3b2 Re-format C function signatures 2020-02-26 09:40:30 +11:00
Nigel Tao a540fbce4e Add test/data/file-sizes.json 2020-02-25 16:05:38 +11:00
Nigel Tao 569a294fc2 Add script/run-json-test-suite.sh 2020-02-24 09:45:05 +11:00
Nigel Tao 1aa501632f Add gif.config_decoder (part 1 of 2)
This commit (part 1) adds script/preprocess-wuffs.go but running it is
deferred for part 2. Part 1 makes no change to the C code (release/c/**
and test/c/**).
2020-02-05 17:22:09 +11:00
Nigel Tao 621bd9505d Add script/draw-with-mask.go 2020-01-24 10:01:43 +11:00
Nigel Tao 3128500e20 Add script/convert-png-to-wbmp.go 2020-01-16 12:32:38 +11:00
Nigel Tao 6a90728bc9 Build fix for hand-written decode_huffman_fast 2020-01-11 10:21:25 +11:00
Nigel Tao 5f8d2da74f Rename decode_io_writer methods to transform_io 2020-01-11 10:19:25 +11:00
Nigel Tao 0152bd9ef4 Add script/print-markdown-links.go 2019-12-11 16:07:23 +11:00
Nigel Tao de60610741 Add script/print-byte-frequencies.go 2019-10-26 08:09:18 +11:00
Nigel Tao e384a0b387 Have script/bench-go-gif load files less often 2019-10-20 14:26:25 +11:00
Nigel Tao a9576964fd Add script/bench-go-deflate 2019-10-20 14:21:09 +11:00
Nigel Tao 4fc6d2af7b Avoid script/bench-go-gif variable shadowing 2019-10-20 14:20:06 +11:00
Nigel Tao b56d7c393a Fix script/bench-rust-deflate typo 2019-10-20 14:06:04 +11:00
Nigel Tao e442d4593c Add num_want_bytes to script/bench-rust-gif 2019-10-20 12:10:09 +11:00
Nigel Tao 29c23cd505 Add a warm-up rep to script/bench-rust-gif 2019-10-20 12:03:14 +11:00
Nigel Tao 135f706b3e Add script/bench-rust-deflate 2019-10-20 11:35:29 +11:00
Nigel Tao d2b0e1c203 Refine script/bench-rust-gif crates.io URL 2019-10-20 10:35:51 +11:00
Nigel Tao 078d8a6b9c Have script/bench-rust-gif print the rustc version 2019-10-20 10:30:29 +11:00
Nigel Tao ffdce5ef18 Have bench-rust-gif process animated / RGBA images 2019-10-16 16:42:51 +11:00
Nigel Tao df66093473 Have bench-rust-gif process multiple images 2019-10-16 15:56:11 +11:00
Nigel Tao dc1218fec0 Spell std/deflate's "literal/length" consistently 2019-10-14 09:28:28 +11:00
Nigel Tao ff7bffcffc Calculate deflate Huffman table worst case size 2019-10-14 09:21:29 +11:00
Nigel Tao 69e9428c1b Fix pdst_mark for hand-written decode_huffman_fast 2019-10-06 16:58:49 +11:00
Nigel Tao df839b183f Build fix for hand-written decode_huffman_fast 2019-10-05 16:56:40 +10:00
Nigel Tao efb18036cb Add gif-small-frame-interlaced.gif test 2019-10-05 11:40:24 +10:00
Nigel Tao 51fadc4db7 Add script/bench-history.sh 2019-09-29 17:20:14 +10:00
Nigel Tao ca4a6c8846 Restore rac's CompressedSize to avoid Seek calls 2019-08-24 09:34:12 +10:00
Nigel Tao f53bee37ba Update rac-random-seek-test.go for API changes 2019-08-24 07:56:53 +10:00
Nigel Tao fb0b172913 Add script/rac-random-seek-test.go 2019-08-06 17:37:03 +10:00