Closed jtremback closed 5 years ago
For some reason, cargo is building a huge binary:
$ du -sh bench/cases/fib_recursive/target/wasm32-unknown-unknown/release/fib_recursive.wasm
1.4M bench/cases/fib_recursive/target/wasm32-unknown-unknown/release/fib_recursive.wasm
This is likely not an issue with life.
Adding
[profile.release]
lto = true
to the cargo.toml
has reduced the size to 48k, which life can run.
I'm trying to run stuff from the benchmarks folder just to get a sense of how things work.
In the
fib_recursive
benchmark folder I rancargo build --release
. This produced a .wasm file in the target folder. I then tried to run it with life like this: