dfinity / canister-profiling

Collection of canister performance benchmarks
Apache License 2.0
21 stars 8 forks source link

Rust canister release profile tuning #68

Open chenyan-dfinity opened 1 year ago

chenyan-dfinity commented 1 year ago

With the current rustc setup, the best Rust release profile for canister seems to be:

[profile.release]
lto = true
opt-level = 2

Observations:

Rust canister release profile tuning