Nigel Tao
|
a4f2bbb249
|
Update cgen/base run "go generate" comment
|
2020-07-28 14:15:24 +10:00 |
|
Nigel Tao
|
ed9025c8dd
|
Make swizzle_etc_reader sign conversion explicit
|
2020-06-02 23:29:42 +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
|
302afb7ce5
|
Add const to wuffs_base__pixel_swizzler__func arg
|
2020-05-28 00:07:45 +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
|
bc546b7383
|
Move more base funcs to the pixconv sub-module
$ ls -l gen/lib/c/*/{lib*,*base*} | awk '{print $5 " " $9}'
Before:
167976 gen/lib/c/clang-5.0-dynamic/libwuffs.so
13944 gen/lib/c/clang-5.0-dynamic/wuffs-base-core.lo
11640 gen/lib/c/clang-5.0-dynamic/wuffs-base-pixconv.lo
207150 gen/lib/c/clang-5.0-static/libwuffs.a
14240 gen/lib/c/clang-5.0-static/wuffs-base-core.o
12096 gen/lib/c/clang-5.0-static/wuffs-base-pixconv.o
188088 gen/lib/c/gcc-dynamic/libwuffs.so
13296 gen/lib/c/gcc-dynamic/wuffs-base-core.lo
27232 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
234766 gen/lib/c/gcc-static/libwuffs.a
13432 gen/lib/c/gcc-static/wuffs-base-core.o
27216 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
167976 gen/lib/c/clang-5.0-dynamic/libwuffs.so
11376 gen/lib/c/clang-5.0-dynamic/wuffs-base-core.lo
14328 gen/lib/c/clang-5.0-dynamic/wuffs-base-pixconv.lo
207270 gen/lib/c/clang-5.0-static/libwuffs.a
11696 gen/lib/c/clang-5.0-static/wuffs-base-core.o
14760 gen/lib/c/clang-5.0-static/wuffs-base-pixconv.o
188088 gen/lib/c/gcc-dynamic/libwuffs.so
10680 gen/lib/c/gcc-dynamic/wuffs-base-core.lo
29968 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
234886 gen/lib/c/gcc-static/libwuffs.a
10856 gen/lib/c/gcc-static/wuffs-base-core.o
29912 gen/lib/c/gcc-static/wuffs-base-pixconv.o
|
2020-05-26 11:54:36 +10:00 |
|
Nigel Tao
|
04ab8868bd
|
Add some more WUFFS_BASE__MAYBE_STATIC's to base
|
2020-05-26 11:02:31 +10:00 |
|
Nigel Tao
|
43db33a345
|
Prepare to spin out base submodules
|
2020-05-25 22:44:29 +10:00 |
|