Skip to content

Commit 8f61f9c

Browse files
Merge pull request #304 from egraphs-good/saulshanabrook-patch-3
Enable walltime for codspeed
2 parents 518ae60 + 6cabd54 commit 8f61f9c

File tree

5 files changed

+38
-9
lines changed

5 files changed

+38
-9
lines changed

.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# https://doc.rust-lang.org/cargo/reference/config.html
2+
[build]
3+
# debug symbols https://pyo3.rs/main/debugging#common-setup
4+
rustflags = ["-g"]

.github/workflows/CI.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ jobs:
4949
- run: make stubtest
5050

5151
benchmark:
52-
runs-on: ubuntu-latest
52+
runs-on: ${{ matrix.runner }}
53+
strategy:
54+
matrix:
55+
# Run on codspeed for walltime and ubuntu for instrumenentation
56+
runner: [ codspeed-macro, ubuntu-latest ]
5357
steps:
5458
- uses: actions/checkout@v4
5559
- uses: astral-sh/setup-uv@v6

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ egglog = { git = "https://github.com/egraphs-good//egglog.git", rev = "6f4942824
3131
# 'https://github.com/egraphs-good/egglog.git#[email protected]' = { git = "https://github.com/egraphs-good/egglog.git", rev = "215714e1cbb13ae9e21bed2f2e1bf95804571512" }
3232

3333
# enable debug symbols for easier profiling
34-
# [profile.release]
35-
# debug = 1
34+
[profile.release]
35+
debug = true

uv.lock

Lines changed: 26 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)