Skip to content

Commit 060dc10

Browse files
committed
fix: benchmark
1 parent 1d930f7 commit 060dc10

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
tool: cargo-codspeed
2828
- name: Build the benchmark target(s)
29-
run: cargo codspeed build -p scroll-derivation-pipeline
29+
run: cargo codspeed build -p scroll-derivation-pipeline --profile profiling
3030
- name: Run the benchmarks
3131
uses: CodSpeedHQ/action@v3
3232
with:

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,13 @@ significant_drop_tightening = "allow"
115115
too_long_first_doc_paragraph = "allow"
116116
large_enum_variant = "allow"
117117

118+
# Use the `--profile profiling` flag to show symbols in release mode.
119+
# e.g. `cargo build --profile profiling`
120+
[profile.profiling]
121+
inherits = "release"
122+
debug = "full"
123+
strip = "none"
124+
118125
[workspace.dependencies]
119126
# alloy
120127
alloy-chains = { version = "0.2.5", default-features = false }

0 commit comments

Comments
 (0)