bytecodealliance / wasmtime

A fast and secure runtime for WebAssembly
https://wasmtime.dev/
Apache License 2.0
15.44k stars 1.3k forks source link

Speed up a "big stack" test, and test Winch #9636

Closed alexcrichton closed 5 days ago

alexcrichton commented 5 days ago

This test currently takes 50s locally in debug mode locally so optimize it by disabling optimizations in Cranelift and additionally using the single-pass register allocator. This drops the test time to ~3s locally.

alexcrichton commented 5 days ago

A good question! I did a bit more digging and I've now changed this to:

That makes the test much speedier now so it will continue to test Cranelift.

pchickey commented 5 days ago

Thanks. Comment needs a fix, then its good to go

alexcrichton commented 5 days ago

oops, thanks!