Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
codecbench: native gcc vs native clang vs v8 Wasm vs WAVM Wasm
source: vertex data 32064032 bytes, index data 24000000 bytes
pass 0: vertex data 18518385 bytes, index data 2332680 bytes
decode: vertex 9.31 ms (3.21 GB/sec), index 5.65 ms (3.95 GB/sec)
decode: vertex 9.43 ms (3.17 GB/sec), index 5.64 ms (3.96 GB/sec)
decode: vertex 9.44 ms (3.16 GB/sec), index 5.69 ms (3.93 GB/sec)
decode: vertex 9.47 ms (3.15 GB/sec), index 5.72 ms (3.91 GB/sec)
decode: vertex 9.50 ms (3.14 GB/sec), index 5.72 ms (3.91 GB/sec)
decode: vertex 9.36 ms (3.19 GB/sec), index 5.82 ms (3.84 GB/sec)
decode: vertex 9.57 ms (3.12 GB/sec), index 5.75 ms (3.89 GB/sec)
decode: vertex 9.47 ms (3.15 GB/sec), index 5.72 ms (3.91 GB/sec)
decode: vertex 9.49 ms (3.15 GB/sec), index 5.74 ms (3.89 GB/sec)
decode: vertex 9.45 ms (3.16 GB/sec), index 5.67 ms (3.94 GB/sec)
pass 1: vertex data 18518204 bytes, index data 2001016 bytes
decode: vertex 9.36 ms (3.19 GB/sec), index 5.33 ms (4.19 GB/sec)
decode: vertex 9.47 ms (3.15 GB/sec), index 5.33 ms (4.19 GB/sec)
decode: vertex 9.26 ms (3.23 GB/sec), index 5.44 ms (4.11 GB/sec)
decode: vertex 9.54 ms (3.13 GB/sec), index 5.37 ms (4.16 GB/sec)
decode: vertex 9.40 ms (3.18 GB/sec), index 5.41 ms (4.13 GB/sec)
decode: vertex 9.57 ms (3.12 GB/sec), index 5.36 ms (4.17 GB/sec)
decode: vertex 9.47 ms (3.15 GB/sec), index 5.41 ms (4.13 GB/sec)
decode: vertex 9.47 ms (3.15 GB/sec), index 5.41 ms (4.13 GB/sec)
decode: vertex 9.30 ms (3.21 GB/sec), index 5.37 ms (4.16 GB/sec)
decode: vertex 9.46 ms (3.16 GB/sec), index 5.47 ms (4.08 GB/sec)
filters: oct8 data 32000000 bytes, oct12/quat12 data 64000000 bytes
filter: oct8 12.74 ms (2.34 GB/sec), oct12 14.65 ms (4.07 GB/sec), quat12 23.05 ms (2.59 GB/sec), exp 4.71 ms (12.66 GB/sec)
filter: oct8 11.64 ms (2.56 GB/sec), oct12 14.11 ms (4.22 GB/sec), quat12 23.11 ms (2.58 GB/sec), exp 4.60 ms (12.97 GB/sec)
filter: oct8 11.89 ms (2.51 GB/sec), oct12 14.51 ms (4.11 GB/sec), quat12 22.86 ms (2.61 GB/sec), exp 4.63 ms (12.87 GB/sec)
filter: oct8 12.01 ms (2.48 GB/sec), oct12 14.57 ms (4.09 GB/sec), quat12 22.87 ms (2.61 GB/sec), exp 4.55 ms (13.10 GB/sec)
filter: oct8 12.00 ms (2.48 GB/sec), oct12 14.33 ms (4.16 GB/sec), quat12 22.95 ms (2.60 GB/sec), exp 4.63 ms (12.88 GB/sec)
filter: oct8 11.66 ms (2.56 GB/sec), oct12 14.43 ms (4.13 GB/sec), quat12 22.90 ms (2.60 GB/sec), exp 4.70 ms (12.68 GB/sec)
filter: oct8 11.69 ms (2.55 GB/sec), oct12 14.63 ms (4.07 GB/sec), quat12 23.18 ms (2.57 GB/sec), exp 4.67 ms (12.76 GB/sec)
filter: oct8 11.61 ms (2.57 GB/sec), oct12 14.62 ms (4.08 GB/sec), quat12 22.86 ms (2.61 GB/sec), exp 4.62 ms (12.91 GB/sec)
filter: oct8 11.85 ms (2.51 GB/sec), oct12 14.53 ms (4.10 GB/sec), quat12 23.18 ms (2.57 GB/sec), exp 4.63 ms (12.88 GB/sec)
filter: oct8 11.92 ms (2.50 GB/sec), oct12 14.36 ms (4.15 GB/sec), quat12 23.04 ms (2.59 GB/sec), exp 4.67 ms (12.77 GB/sec)
source: vertex data 32064032 bytes, index data 24000000 bytes
pass 0: vertex data 18518385 bytes, index data 2332680 bytes
decode: vertex 10.54 ms (2.83 GB/sec), index 5.90 ms (3.79 GB/sec)
decode: vertex 10.17 ms (2.94 GB/sec), index 5.79 ms (3.86 GB/sec)
decode: vertex 10.20 ms (2.93 GB/sec), index 5.79 ms (3.86 GB/sec)
decode: vertex 10.44 ms (2.86 GB/sec), index 5.87 ms (3.81 GB/sec)
decode: vertex 9.97 ms (2.99 GB/sec), index 5.86 ms (3.81 GB/sec)
decode: vertex 10.10 ms (2.96 GB/sec), index 6.10 ms (3.67 GB/sec)
decode: vertex 10.12 ms (2.95 GB/sec), index 6.04 ms (3.70 GB/sec)
decode: vertex 10.01 ms (2.98 GB/sec), index 5.96 ms (3.75 GB/sec)
decode: vertex 10.00 ms (2.98 GB/sec), index 5.96 ms (3.75 GB/sec)
decode: vertex 9.92 ms (3.01 GB/sec), index 5.92 ms (3.78 GB/sec)
pass 1: vertex data 18518204 bytes, index data 2001016 bytes
decode: vertex 10.20 ms (2.93 GB/sec), index 5.66 ms (3.95 GB/sec)
decode: vertex 9.92 ms (3.01 GB/sec), index 5.52 ms (4.05 GB/sec)
decode: vertex 9.96 ms (3.00 GB/sec), index 5.44 ms (4.11 GB/sec)
decode: vertex 10.04 ms (2.97 GB/sec), index 5.63 ms (3.97 GB/sec)
decode: vertex 9.97 ms (3.00 GB/sec), index 5.65 ms (3.96 GB/sec)
decode: vertex 10.10 ms (2.96 GB/sec), index 5.60 ms (3.99 GB/sec)
decode: vertex 10.19 ms (2.93 GB/sec), index 5.50 ms (4.06 GB/sec)
decode: vertex 9.99 ms (2.99 GB/sec), index 5.46 ms (4.10 GB/sec)
decode: vertex 9.94 ms (3.00 GB/sec), index 5.57 ms (4.02 GB/sec)
decode: vertex 10.28 ms (2.91 GB/sec), index 5.52 ms (4.05 GB/sec)
filters: oct8 data 32000000 bytes, oct12/quat12 data 64000000 bytes
filter: oct8 11.56 ms (2.58 GB/sec), oct12 14.31 ms (4.16 GB/sec), quat12 20.12 ms (2.96 GB/sec), exp 4.73 ms (12.61 GB/sec)
filter: oct8 11.70 ms (2.55 GB/sec), oct12 14.24 ms (4.19 GB/sec), quat12 19.99 ms (2.98 GB/sec), exp 4.87 ms (12.23 GB/sec)
filter: oct8 11.26 ms (2.65 GB/sec), oct12 13.88 ms (4.29 GB/sec), quat12 19.96 ms (2.99 GB/sec), exp 4.56 ms (13.06 GB/sec)
filter: oct8 11.54 ms (2.58 GB/sec), oct12 14.28 ms (4.17 GB/sec), quat12 20.15 ms (2.96 GB/sec), exp 4.56 ms (13.07 GB/sec)
filter: oct8 11.32 ms (2.63 GB/sec), oct12 14.57 ms (4.09 GB/sec), quat12 20.09 ms (2.97 GB/sec), exp 4.59 ms (12.98 GB/sec)
filter: oct8 11.41 ms (2.61 GB/sec), oct12 14.29 ms (4.17 GB/sec), quat12 19.93 ms (2.99 GB/sec), exp 4.78 ms (12.46 GB/sec)
filter: oct8 11.41 ms (2.61 GB/sec), oct12 14.28 ms (4.17 GB/sec), quat12 20.02 ms (2.98 GB/sec), exp 4.64 ms (12.85 GB/sec)
filter: oct8 11.35 ms (2.62 GB/sec), oct12 14.28 ms (4.17 GB/sec), quat12 20.17 ms (2.95 GB/sec), exp 4.53 ms (13.16 GB/sec)
filter: oct8 11.50 ms (2.59 GB/sec), oct12 14.48 ms (4.12 GB/sec), quat12 19.94 ms (2.99 GB/sec), exp 4.53 ms (13.15 GB/sec)
filter: oct8 11.57 ms (2.58 GB/sec), oct12 14.23 ms (4.19 GB/sec), quat12 20.29 ms (2.94 GB/sec), exp 4.63 ms (12.87 GB/sec)
source: vertex data 32064032 bytes, index data 24000000 bytes
pass 0: vertex data 18518385 bytes, index data 2332680 bytes
decode: vertex 14.70 ms (2.03 GB/sec), index 11.69 ms (1.91 GB/sec)
decode: vertex 14.72 ms (2.03 GB/sec), index 11.84 ms (1.89 GB/sec)
decode: vertex 15.14 ms (1.97 GB/sec), index 11.76 ms (1.90 GB/sec)
decode: vertex 14.17 ms (2.11 GB/sec), index 11.66 ms (1.92 GB/sec)
decode: vertex 14.40 ms (2.07 GB/sec), index 11.62 ms (1.92 GB/sec)
decode: vertex 14.27 ms (2.09 GB/sec), index 11.63 ms (1.92 GB/sec)
decode: vertex 14.24 ms (2.10 GB/sec), index 11.66 ms (1.92 GB/sec)
decode: vertex 14.28 ms (2.09 GB/sec), index 11.54 ms (1.94 GB/sec)
decode: vertex 14.24 ms (2.10 GB/sec), index 11.63 ms (1.92 GB/sec)
decode: vertex 14.18 ms (2.11 GB/sec), index 11.66 ms (1.92 GB/sec)
pass 1: vertex data 18518204 bytes, index data 2001016 bytes
decode: vertex 14.08 ms (2.12 GB/sec), index 11.43 ms (1.96 GB/sec)
decode: vertex 14.23 ms (2.10 GB/sec), index 11.36 ms (1.97 GB/sec)
decode: vertex 14.13 ms (2.11 GB/sec), index 11.40 ms (1.96 GB/sec)
decode: vertex 14.22 ms (2.10 GB/sec), index 11.50 ms (1.94 GB/sec)
decode: vertex 14.14 ms (2.11 GB/sec), index 11.40 ms (1.96 GB/sec)
decode: vertex 14.19 ms (2.10 GB/sec), index 11.46 ms (1.95 GB/sec)
decode: vertex 14.16 ms (2.11 GB/sec), index 11.49 ms (1.94 GB/sec)
decode: vertex 14.19 ms (2.10 GB/sec), index 11.41 ms (1.96 GB/sec)
decode: vertex 14.16 ms (2.11 GB/sec), index 11.50 ms (1.94 GB/sec)
decode: vertex 14.25 ms (2.10 GB/sec), index 11.45 ms (1.95 GB/sec)
filters: oct8 data 32000000 bytes, oct12/quat12 data 64000000 bytes
filter: oct8 14.21 ms (2.10 GB/sec), oct12 15.40 ms (3.87 GB/sec), quat12 22.21 ms (2.68 GB/sec), exp 4.82 ms (12.37 GB/sec)
filter: oct8 14.11 ms (2.11 GB/sec), oct12 15.31 ms (3.89 GB/sec), quat12 22.13 ms (2.69 GB/sec), exp 4.74 ms (12.57 GB/sec)
filter: oct8 14.14 ms (2.11 GB/sec), oct12 15.38 ms (3.88 GB/sec), quat12 22.12 ms (2.70 GB/sec), exp 4.74 ms (12.56 GB/sec)
filter: oct8 14.12 ms (2.11 GB/sec), oct12 15.29 ms (3.90 GB/sec), quat12 22.18 ms (2.69 GB/sec), exp 4.77 ms (12.50 GB/sec)
filter: oct8 14.14 ms (2.11 GB/sec), oct12 15.46 ms (3.85 GB/sec), quat12 22.09 ms (2.70 GB/sec), exp 4.77 ms (12.51 GB/sec)
filter: oct8 14.12 ms (2.11 GB/sec), oct12 15.13 ms (3.94 GB/sec), quat12 21.92 ms (2.72 GB/sec), exp 5.21 ms (11.44 GB/sec)
filter: oct8 14.24 ms (2.09 GB/sec), oct12 15.47 ms (3.85 GB/sec), quat12 22.08 ms (2.70 GB/sec), exp 4.73 ms (12.59 GB/sec)
filter: oct8 14.12 ms (2.11 GB/sec), oct12 15.40 ms (3.87 GB/sec), quat12 22.61 ms (2.64 GB/sec), exp 4.79 ms (12.44 GB/sec)
filter: oct8 15.41 ms (1.93 GB/sec), oct12 16.13 ms (3.70 GB/sec), quat12 22.22 ms (2.68 GB/sec), exp 4.74 ms (12.58 GB/sec)
filter: oct8 15.41 ms (1.93 GB/sec), oct12 16.93 ms (3.52 GB/sec), quat12 24.61 ms (2.42 GB/sec), exp 5.74 ms (10.38 GB/sec)
source: vertex data 32064032 bytes, index data 24000000 bytes
pass 0: vertex data 18518385 bytes, index data 2332680 bytes
decode: vertex 14.47 ms (2.06 GB/sec), index 7.92 ms (2.82 GB/sec)
decode: vertex 14.34 ms (2.08 GB/sec), index 7.98 ms (2.80 GB/sec)
decode: vertex 14.37 ms (2.08 GB/sec), index 7.90 ms (2.83 GB/sec)
decode: vertex 14.51 ms (2.06 GB/sec), index 8.10 ms (2.76 GB/sec)
decode: vertex 14.31 ms (2.09 GB/sec), index 7.91 ms (2.82 GB/sec)
decode: vertex 14.64 ms (2.04 GB/sec), index 7.90 ms (2.83 GB/sec)
decode: vertex 14.25 ms (2.09 GB/sec), index 7.95 ms (2.81 GB/sec)
decode: vertex 14.95 ms (2.00 GB/sec), index 7.94 ms (2.82 GB/sec)
decode: vertex 14.37 ms (2.08 GB/sec), index 7.97 ms (2.81 GB/sec)
decode: vertex 14.43 ms (2.07 GB/sec), index 7.90 ms (2.83 GB/sec)
pass 1: vertex data 18518204 bytes, index data 2001016 bytes
decode: vertex 14.31 ms (2.09 GB/sec), index 7.11 ms (3.14 GB/sec)
decode: vertex 14.39 ms (2.08 GB/sec), index 7.19 ms (3.11 GB/sec)
decode: vertex 14.28 ms (2.09 GB/sec), index 7.11 ms (3.14 GB/sec)
decode: vertex 14.35 ms (2.08 GB/sec), index 7.12 ms (3.14 GB/sec)
decode: vertex 14.22 ms (2.10 GB/sec), index 7.15 ms (3.12 GB/sec)
decode: vertex 14.27 ms (2.09 GB/sec), index 7.31 ms (3.06 GB/sec)
decode: vertex 14.60 ms (2.04 GB/sec), index 7.16 ms (3.12 GB/sec)
decode: vertex 14.21 ms (2.10 GB/sec), index 7.16 ms (3.12 GB/sec)
decode: vertex 14.93 ms (2.00 GB/sec), index 7.15 ms (3.12 GB/sec)
decode: vertex 14.40 ms (2.07 GB/sec), index 7.11 ms (3.14 GB/sec)
filters: oct8 data 32000000 bytes, oct12/quat12 data 64000000 bytes
filter: oct8 12.80 ms (2.33 GB/sec), oct12 14.12 ms (4.22 GB/sec), quat12 19.48 ms (3.06 GB/sec), exp 4.57 ms (13.05 GB/sec)
filter: oct8 12.77 ms (2.33 GB/sec), oct12 14.14 ms (4.22 GB/sec), quat12 19.45 ms (3.06 GB/sec), exp 4.61 ms (12.93 GB/sec)
filter: oct8 12.73 ms (2.34 GB/sec), oct12 14.09 ms (4.23 GB/sec), quat12 19.31 ms (3.09 GB/sec), exp 4.70 ms (12.68 GB/sec)
filter: oct8 12.84 ms (2.32 GB/sec), oct12 14.10 ms (4.23 GB/sec), quat12 19.40 ms (3.07 GB/sec), exp 4.57 ms (13.05 GB/sec)
filter: oct8 12.76 ms (2.34 GB/sec), oct12 14.19 ms (4.20 GB/sec), quat12 19.52 ms (3.05 GB/sec), exp 4.61 ms (12.94 GB/sec)
filter: oct8 12.83 ms (2.32 GB/sec), oct12 15.05 ms (3.96 GB/sec), quat12 19.49 ms (3.06 GB/sec), exp 4.64 ms (12.85 GB/sec)
filter: oct8 12.71 ms (2.34 GB/sec), oct12 14.26 ms (4.18 GB/sec), quat12 19.47 ms (3.06 GB/sec), exp 4.59 ms (12.98 GB/sec)
filter: oct8 12.95 ms (2.30 GB/sec), oct12 14.04 ms (4.24 GB/sec), quat12 19.53 ms (3.05 GB/sec), exp 4.65 ms (12.81 GB/sec)
filter: oct8 12.85 ms (2.32 GB/sec), oct12 14.11 ms (4.22 GB/sec), quat12 19.23 ms (3.10 GB/sec), exp 4.57 ms (13.03 GB/sec)
filter: oct8 12.31 ms (2.42 GB/sec), oct12 13.79 ms (4.32 GB/sec), quat12 19.15 ms (3.11 GB/sec), exp 4.63 ms (12.87 GB/sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment