Skip to content

Commit

Permalink
getting the math right...
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Jan 12, 2025
1 parent 7e5b698 commit 07145a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/compute_size_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
js_size=$(stat --format="%s" build-with-port/index.js)
wasm_size=$(stat --format="%s" build-with-port/index.wasm)
total_size=$((js_size + wasm_size))
delta=$(echo "scale=2; $js_size / $TOTAL_SIZE_LIBRARY_GLFW" | bc)
delta=$(echo "scale=2; $total_size / $TOTAL_SIZE_LIBRARY_GLFW" | bc)
echo "js:$js_size, wasm:$wasm_size, total: $total_size | ${delta}x"
- name: Compiling with contrib.glfw3 (small)
Expand All @@ -67,5 +67,5 @@ jobs:
wasm_size=$(stat --format="%s" build-with-port-small/index.wasm)
total_size=$((js_size + wasm_size))
echo "js:$js_size, wasm:$wasm_size, total: $total_size"
delta=$(echo "scale=2; $js_size / $TOTAL_SIZE_LIBRARY_GLFW" | bc)
delta=$(echo "scale=2; $total_size / $TOTAL_SIZE_LIBRARY_GLFW" | bc)
echo "js:$js_size, wasm:$wasm_size, total: $total_size | ${delta}x"

0 comments on commit 07145a9

Please sign in to comment.