Skip to content

Commit

Permalink
[Bench] After
Browse files Browse the repository at this point in the history
  • Loading branch information
ogxd committed Dec 10, 2023
1 parent 30b4682 commit 0ade59d
Showing 1 changed file with 2 additions and 39 deletions.
41 changes: 2 additions & 39 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ jobs:
run: rustup default nightly

- name: Benchmark AVX2 (nightly)
run: cargo bench --bench throughput --features 'bench-plot avx2'

- uses: actions/upload-artifact@v3
with:
name: benches
path: benches/throughput/*.svg
run: cargo bench --bench hashset --features 'bench-plot avx2'

benchmark-arm:
name: Benchmark ARM
Expand All @@ -36,36 +31,4 @@ jobs:
- uses: actions/checkout@v4

- name: Benchmark
run: cargo bench --bench throughput --features 'bench-plot'

- uses: actions/upload-artifact@v3
with:
name: benches
path: benches/throughput/*.svg

commit:
name: Commit & Push
runs-on: buildjet-2vcpu-ubuntu-2204
needs: [benchmark-x86, benchmark-arm]

permissions:
contents: write

steps:
- uses: actions/checkout@v4

- name: Download Benchmark Results
uses: actions/download-artifact@v3
with:
name: benches
path: benches/throughput

- name: Commit & Push Benchmark Results
uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: '*.svg'
commit_message: Update Benchmark Results
commit_user_name: Benchmark Bot
commit_user_email: benchmark-bot@noreply.com
commit_author: Benchmark Bot <benchmark-bot@noreply.com>

run: cargo bench --bench hashset --features 'bench-plot'

0 comments on commit 0ade59d

Please sign in to comment.