Skip to content

Commit

Permalink
Add parallel bench
Browse files Browse the repository at this point in the history
  • Loading branch information
alonh5 authored Sep 24, 2024
1 parent 1d5a8ce commit 34c3edd
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,32 @@ jobs:
comment-on-alert: true
alert-comment-cc-users: "@shaharsamocha7"

run-avx512-bench-parallel:
runs-on: avx
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-01-04
- name: Run benchmark
run: ./scripts/bench.sh --features="parallel" -- --output-format bencher | tee output.txt
- name: Download previous benchmark data
uses: actions/cache@v4
with:
path: ./cache
key: ${{ runner.os }}-benchmark
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
tool: "cargo"
output-file-path: output.txt
external-data-json-path: ./cache/benchmark-data.json
fail-on-alert: true
summary-always: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
alert-comment-cc-users: "@shaharsamocha7"

run-tests:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 34c3edd

Please sign in to comment.