Skip to content

Commit

Permalink
perf: Enable LTO for benchmarks (#9279)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Jul 19, 2024
1 parent 1e657c9 commit a3020b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ resolver = "2"
wasmer-wasix = { version = "0.18.0", default-features = false }

[profile.release]
# lto = true
lto = true

# We use CARGO_PROFILE_RELEASE_LTO for production builds
# lto = "fat"
Expand All @@ -157,7 +157,7 @@ resolver = "2"

[profile.bench]
debug = true
# lto = true
lto = true

# Optimize for iteration
[profile.dev.build-override]
Expand Down

0 comments on commit a3020b2

Please sign in to comment.