Skip to content

Instantly share code, notes, and snippets.

@Amanieu
Created February 19, 2021 04:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Amanieu/0b9d45967124b63272e8d32f4eec566e to your computer and use it in GitHub Desktop.
Save Amanieu/0b9d45967124b63272e8d32f4eec566e to your computer and use it in GitHub Desktop.
wget https://zombsroyale.io/asset/build/webgl.wasm.code.unityweb
clif-util wasm -T --target x86_64 --set enable_verifier=false -- webgl.wasm.code.unityweb
Old backend
======== ======== ==================================
Total Self Pass
-------- -------- ----------------------------------
5.288 0.158 Translate WASM module
5.131 5.131 Translate WASM function
23.970 0.088 Compilation passes
0.304 0.304 Control flow graph
0.639 0.639 Dominator tree
2.779 2.779 Legalization
0.012 0.012 Remove unreachable blocks
1.008 1.008 Remove constant phi-nodes
16.773 0.349 Register allocation
3.315 3.315 RA liveness analysis
0.733 0.733 RA coalescing CSSA
3.085 3.085 RA spilling
3.322 3.322 RA reloading
5.601 5.601 RA coloring
0.655 0.655 Prologue/epilogue insertion
2.274 2.081 Branch relaxation
0.997 0.997 Binary machine code emission
0.000 0.000 Layout full renumbering
======== ======== ==================================
New backend
======== ======== ==================================
Total Self Pass
-------- -------- ----------------------------------
6.285 0.196 Translate WASM module
6.089 6.089 Translate WASM function
54.914 4.886 Compilation passes
0.222 0.222 Control flow graph
0.283 0.283 Dominator tree
0.015 0.015 Remove unreachable blocks
1.243 1.243 Remove constant phi-nodes
8.455 8.455 VCode lowering
1.804 1.804 VCode post-register allocation finalization
1.833 1.833 VCode emission
0.091 0.091 VCode emission finalization
36.082 36.082 Register allocation
0.466 0.466 Binary machine code emission
======== ======== ==================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment