Nigel Tao
77bbe685bf
Update doc/roadmap.md
2021-03-25 23:05:54 +11:00
Nigel Tao
a04fda42d6
Update doc/std/image-decoders.md
2021-03-11 23:04:53 +11:00
Nigel Tao
2e0f2a68be
Add doc/std/README.md "Modules and Dependencies"
2021-03-11 12:38:58 +11:00
Nigel Tao
aae62e407b
Fix doc/std/README.md wuffs_base__status typo
2021-03-04 23:42:34 +11:00
Nigel Tao
81ba41e251
Add slice uintptr_low_12_bits method
2021-02-13 17:19:35 +11:00
Nigel Tao
8c4c714ad1
Add 0b prefixed binary numbers
2021-01-28 21:54:06 +11:00
Nigel Tao
2f2bbc6ab0
Rename default github.com branch s/master/main/
2021-01-25 11:30:15 +11:00
Nigel Tao
2f78804e62
Use more inclusive language
2021-01-23 19:50:47 +11:00
Nigel Tao
414a011491
Add doc/note for WUFFS_BASE__QUIRK_IGNORE_CHECKSUM
2021-01-22 13:23:54 +11:00
Nigel Tao
78da50820e
Rename set_ignore_checksum! as a quirk
2021-01-21 22:52:11 +11:00
Nigel Tao
26a7280900
Add slice base.u8 peek/poke methods
...
wuffs_png_decode_filter_1_sub/clang9 4.59GB/s ± 0% 4.59GB/s ± 0% ~ (p=0.151 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 1.85GB/s ± 0% 4.11GB/s ± 0% +122.24% (p=0.016 n=5+4)
2021-01-17 23:47:37 +11:00
Nigel Tao
a1c22caa15
Rename load and store to peek and poke
2021-01-17 22:44:39 +11:00
Nigel Tao
020b8e6903
Add cpu_arch
2021-01-15 10:26:55 +11:00
Nigel Tao
79b39e14bf
Add SIMD
...
wuffs_pixel_swizzler_bgra_premul_y_src/clang9 1.94GB/s ± 1% 12.08GB/s ± 0% +521.63% (p=0.008 n=5+5)
wuffs_pixel_swizzler_bgra_premul_y_src/gcc10 2.92GB/s ± 0% 16.00GB/s ± 0% +448.86% (p=0.008 n=5+5)
2021-01-13 15:22:15 +11:00
Nigel Tao
a1a70da539
Add iterate advance parameter
2021-01-11 00:03:44 +11:00
Nigel Tao
81c6437e09
Add choosy
2021-01-04 23:20:41 +11:00
Nigel Tao
58c30e9d6d
Add std/png
2020-12-24 13:10:29 +11:00
Nigel Tao
1197e86616
Add std/nie
2020-12-23 14:53:56 +11:00
Nigel Tao
9e2beacfb7
Tighten the NIE spec so that sizes fit in an int32
2020-12-22 15:04:59 +11:00
Nigel Tao
53ec09fa9e
Tighten the NIE spec to always be in BGRA order
2020-11-16 19:02:45 +11:00
Nigel Tao
b3cc3c53ad
Tweak logo ears
2020-11-03 15:46:46 +11:00
Nigel Tao
e80ab7b13a
Add doc/logo
2020-10-26 15:28:37 +11:00
Nigel Tao
65b0b59529
Have hermeticity.md mention thread-local storage
2020-08-28 09:05:52 +10:00
Nigel Tao
6069ebd619
Rename {read,writ}er_io_position
2020-08-27 23:32:53 +10:00
Nigel Tao
378ceb2537
Add bullet points to doc/note/hermeticity.md
2020-08-26 15:48:32 +10:00
Nigel Tao
525d4bcc34
Add hexadecimal limits to doc/note/base38-etc
2020-08-24 00:45:42 +10:00
Nigel Tao
592560e0f1
Upgrade default clang C compiler from v5 to v9
2020-08-21 14:18:26 +10:00
Nigel Tao
e2398d580f
Add doc/note/hermeticity.md
2020-08-16 23:40:50 +10:00
Nigel Tao
be8542e313
Rename I/O available methods to length
2020-08-13 23:26:08 +10:00
Nigel Tao
0b7eaf291b
Add example/cbor-to-json
2020-08-09 23:03:42 +10:00
Nigel Tao
9dd8c32683
Re-do doc/note/tokens.md's pjtdf example output
2020-08-07 13:18:53 +10:00
Nigel Tao
d7e0133c0b
Tweak doc/note/auxiliary-code.md
2020-08-06 09:32:17 +10:00
Nigel Tao
724ce98540
Update some refs to the old aux directory name
2020-08-06 09:17:54 +10:00
Nigel Tao
cf8884d44c
Rename example/library to example/toy-genlib
2020-08-05 11:55:51 +10:00
Nigel Tao
f557dad608
Add example/json-to-cbor
2020-08-04 23:45:46 +10:00
Nigel Tao
cf6c578973
Add aux library
2020-08-04 23:43:38 +10:00
Nigel Tao
e511b8b891
Fix doc/note/tokens.md bit assignment chart
2020-07-21 23:22:10 +10:00
Nigel Tao
4e193599ac
Add std/cbor
2020-07-15 14:08:37 +10:00
Nigel Tao
f89d2ef4ab
Update doc/note/auto-formatting.md comparison link
2020-06-10 22:43:51 +10:00
Nigel Tao
1dae694e00
Update doc/note/auto-formatting.md comparison link
2020-06-09 15:59:46 +10:00
Nigel Tao
983c5cd90e
Update doc/note/auto-formatting.md comparison link
2020-06-08 23:29:52 +10:00
Nigel Tao
e42d126667
Update doc/note/auto-formatting.md comparison link
2020-06-07 22:02:07 +10:00
Nigel Tao
60cd231e65
Update doc/note/auto-formatting.md comparison link
2020-06-06 22:45:57 +10:00
Nigel Tao
f45f01f4f3
Update clang-format from v5 to v9
2020-06-05 14:06:56 +10:00
Nigel Tao
78daf1ca91
Update doc/note/auto-formatting.md for dumbindent
2020-06-05 10:59:27 +10:00
Nigel Tao
a0f7059eeb
Tweak changelog bullet for C formatting
2020-06-05 10:46:42 +10:00
Nigel Tao
8cd39fc1dd
Remove -cformatter flag
2020-06-05 00:08:05 +10:00
Nigel Tao
12b0f4c0bc
Change the default -cformatter to dumbindent
...
A follow-up commit will remove the -cformatter flag entirely.
Formatting the generated C code is now a small fraction of where "wuffs
gen" spends its time.
----
$ # Before.
$ time wuffs gen > /dev/null
real 0m0.932s
user 0m0.837s
sys 0m0.187s
$ # After.
$ time wuffs gen > /dev/null
real 0m0.186s
user 0m0.170s
sys 0m0.069s
$ time wuffs gen -cformatter= > /dev/null
real 0m0.184s
user 0m0.170s
sys 0m0.059s
----
2020-06-04 23:59:20 +10:00
Nigel Tao
829519880a
Drop unnecessary memcpy in do_bench_image_decode
...
This doesn't affect the std/bmp or std/gif implementations per se, only
the code that benches them. Prior to this commit, the source file was
first decoded into a pixel buffer and then always copied from the
(2-dimensional) wuffs_base__pixel_buffer to a (1-dimensional)
wuffs_base_io_buffer. That copy is useful for *tests*, which compare
that io_buffer's contents to a known good result (i.e. a separate I/O
buffer filled with the contents of a golden file), but it isn't
necessary for *benches*. Dropping that unnecessary copy reduces the
total time per iteration, and therefore increases the reported speed.
name old speed new speed delta
wuffs_bmp_decode_40k/clang5 2.09GB/s ± 2% 2.48GB/s ± 0% +18.78% (p=0.008 n=5+5)
wuffs_bmp_decode_40k/gcc7 1.73GB/s ± 1% 1.93GB/s ± 0% +11.54% (p=0.008 n=5+5)
wuffs_gif_decode_1k_bw/clang5 291MB/s ± 0% 376MB/s ± 1% +29.14% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color_full_init/clang5 95.3MB/s ± 1% 103.2MB/s ± 1% +8.37% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color_part_init/clang5 117MB/s ± 0% 130MB/s ± 0% +10.68% (p=0.008 n=5+5)
wuffs_gif_decode_10k_bgra/clang5 469MB/s ± 0% 489MB/s ± 1% +4.39% (p=0.008 n=5+5)
wuffs_gif_decode_10k_indexed/clang5 126MB/s ± 1% 130MB/s ± 1% +3.50% (p=0.008 n=5+5)
wuffs_gif_decode_20k/clang5 152MB/s ± 0% 156MB/s ± 1% +2.77% (p=0.008 n=5+5)
wuffs_gif_decode_100k_artificial/clang5 318MB/s ± 0% 329MB/s ± 0% +3.53% (p=0.008 n=5+5)
wuffs_gif_decode_100k_realistic/clang5 137MB/s ± 0% 139MB/s ± 0% +1.40% (p=0.008 n=5+5)
wuffs_gif_decode_1000k_full_init/clang5 138MB/s ± 0% 140MB/s ± 1% +1.45% (p=0.008 n=5+5)
wuffs_gif_decode_1000k_part_init/clang5 139MB/s ± 0% 140MB/s ± 1% +1.03% (p=0.008 n=5+5)
wuffs_gif_decode_anim_screencap/clang5 661MB/s ± 0% 747MB/s ± 1% +13.08% (p=0.008 n=5+5)
mimic_gif_decode_1k_bw/clang5 92.0MB/s ± 0% 91.9MB/s ± 1% ~ (p=0.841 n=5+5)
mimic_gif_decode_1k_color/clang5 45.5MB/s ± 0% 45.7MB/s ± 0% +0.45% (p=0.032 n=5+4)
mimic_gif_decode_10k_indexed/clang5 53.5MB/s ± 0% 53.7MB/s ± 0% +0.31% (p=0.032 n=5+4)
mimic_gif_decode_20k/clang5 55.5MB/s ± 0% 55.1MB/s ± 2% ~ (p=0.690 n=5+5)
mimic_gif_decode_100k_artificial/clang5 88.8MB/s ± 0% 89.0MB/s ± 1% ~ (p=0.151 n=5+5)
mimic_gif_decode_100k_realistic/clang5 53.5MB/s ± 1% 53.7MB/s ± 0% +0.31% (p=0.024 n=5+5)
mimic_gif_decode_1000k/clang5 54.6MB/s ± 0% 54.6MB/s ± 1% ~ (p=0.222 n=5+5)
mimic_gif_decode_anim_screencap/clang5 106MB/s ± 0% 109MB/s ± 0% +2.59% (p=0.008 n=5+5)
wuffs_gif_decode_1k_bw/gcc7 284MB/s ± 0% 356MB/s ± 0% +25.33% (p=0.016 n=4+5)
wuffs_gif_decode_1k_color_full_init/gcc7 82.1MB/s ± 0% 95.3MB/s ± 0% +16.08% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color_part_init/gcc7 97.5MB/s ± 0% 117.4MB/s ± 0% +20.39% (p=0.008 n=5+5)
wuffs_gif_decode_10k_bgra/gcc7 345MB/s ± 0% 396MB/s ± 0% +14.71% (p=0.016 n=4+5)
wuffs_gif_decode_10k_indexed/gcc7 104MB/s ± 0% 121MB/s ± 0% +16.38% (p=0.008 n=5+5)
wuffs_gif_decode_20k/gcc7 131MB/s ± 0% 149MB/s ± 0% +13.55% (p=0.008 n=5+5)
wuffs_gif_decode_100k_artificial/gcc7 293MB/s ± 0% 321MB/s ± 1% +9.77% (p=0.008 n=5+5)
wuffs_gif_decode_100k_realistic/gcc7 116MB/s ± 1% 130MB/s ± 1% +12.10% (p=0.008 n=5+5)
wuffs_gif_decode_1000k_full_init/gcc7 117MB/s ± 1% 132MB/s ± 1% +12.53% (p=0.008 n=5+5)
wuffs_gif_decode_1000k_part_init/gcc7 117MB/s ± 0% 132MB/s ± 1% +12.20% (p=0.008 n=5+5)
wuffs_gif_decode_anim_screencap/gcc7 615MB/s ± 2% 711MB/s ± 2% +15.53% (p=0.008 n=5+5)
mimic_gif_decode_1k_bw/gcc7 91.4MB/s ± 0% 91.7MB/s ± 1% ~ (p=0.095 n=5+5)
mimic_gif_decode_1k_color/gcc7 46.3MB/s ± 0% 46.2MB/s ± 2% ~ (p=0.841 n=5+5)
mimic_gif_decode_10k_indexed/gcc7 51.9MB/s ± 1% 51.7MB/s ± 1% ~ (p=0.310 n=5+5)
mimic_gif_decode_20k/gcc7 54.2MB/s ± 0% 54.2MB/s ± 1% ~ (p=0.421 n=5+5)
mimic_gif_decode_100k_artificial/gcc7 88.4MB/s ± 1% 88.7MB/s ± 1% ~ (p=0.222 n=5+5)
mimic_gif_decode_100k_realistic/gcc7 53.7MB/s ± 0% 53.7MB/s ± 0% ~ (p=0.206 n=5+5)
mimic_gif_decode_1000k/gcc7 53.8MB/s ± 2% 54.0MB/s ± 2% ~ (p=0.690 n=5+5)
mimic_gif_decode_anim_screencap/gcc7 106MB/s ± 0% 109MB/s ± 0% +2.79% (p=0.008 n=5+5)
2020-06-01 13:59:50 +10:00
Nigel Tao
54196c4e80
Rename pixel_swizzler.swizzle_interleaved
2020-05-29 16:54:05 +10:00