Skip to content

Commit 13caa77

Browse files
committed
Use lto = true and codegen-units = 1 in benchmark profile
This is to improve reproducibility of results
1 parent cff72f9 commit 13caa77

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bench/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ harness = false
2020
name = "random"
2121
harness = false
2222

23-
[profile.release]
24-
debug = true
23+
[profile.bench]
24+
codegen-units = 1
25+
lto = true

0 commit comments

Comments
 (0)