File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 52
52
js_size=$(stat --format="%s" build-with-port/index.js)
53
53
wasm_size=$(stat --format="%s" build-with-port/index.wasm)
54
54
total_size=$((js_size + wasm_size))
55
- delta=$(echo "scale=2; $js_size / $TOTAL_SIZE_LIBRARY_GLFW" | bc)
55
+ delta=$(echo "scale=2; $total_size / $TOTAL_SIZE_LIBRARY_GLFW" | bc)
56
56
echo "js:$js_size, wasm:$wasm_size, total: $total_size | ${delta}x"
57
57
58
58
- name : Compiling with contrib.glfw3 (small)
67
67
wasm_size=$(stat --format="%s" build-with-port-small/index.wasm)
68
68
total_size=$((js_size + wasm_size))
69
69
echo "js:$js_size, wasm:$wasm_size, total: $total_size"
70
- delta=$(echo "scale=2; $js_size / $TOTAL_SIZE_LIBRARY_GLFW" | bc)
70
+ delta=$(echo "scale=2; $total_size / $TOTAL_SIZE_LIBRARY_GLFW" | bc)
71
71
echo "js:$js_size, wasm:$wasm_size, total: $total_size | ${delta}x"
You can’t perform that action at this time.
0 commit comments