Skip to content

Commit e3923ce

Browse files
committed
ci: split benchmark runs
1 parent 4d9fb57 commit e3923ce

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
115115
uses: bencherdev/bencher@main
116116

117-
- name: Run benchmarks
117+
- name: Run archive benchmarks
118118
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
119119
env:
120120
BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
@@ -130,6 +130,14 @@ jobs:
130130
--github-actions "${{ secrets.GITHUB_TOKEN }}" \
131131
--token "${{ secrets.BENCHER_API_TOKEN }}" \
132132
--err
133+
134+
- name: Run embedded benchmarks
135+
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
136+
env:
137+
BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
138+
BENCHER_PROJECT: theseus-rs-postgresql-embedded
139+
BENCHER_ADAPTER: rust_criterion
140+
run: |
133141
cargo bench --bench embedded --features blocking -- --output-format criterion | \
134142
bencher run
135143
--if-branch '${{ env.PR_HEAD }}' \

Cargo.lock

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

0 commit comments

Comments
 (0)