Skip to content

Commit c23f647

Browse files
committed
Stabilize benchmarks using opt-level
1 parent 7518483 commit c23f647

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ opt-level = "s" # optimize for size
7373
[profile.release.package.datadog-serverless-trace-mini-agent]
7474
strip = true
7575

76+
[profile.bench]
77+
codegen-units = 1
78+
debug = false
79+
incremental = false
80+
opt-level = 3
81+
7682
# https://camshaft.github.io/bolero/library-installation.html
7783
[profile.fuzz]
7884
inherits = "dev"

0 commit comments

Comments
 (0)