Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronO committed Sep 1, 2024
1 parent 4284494 commit 3567c51
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cibench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ jobs:
- name: Run benchmarks (master)
run: |
git checkout master
cargo bench --bench parse ${{ matrix.feature != 'swar' && format('--features httparse_simd') || '' }} -- --save-baseline master-${{ matrix.feature }}
cargo bench --bench parse -- --save-baseline master-${{ matrix.feature }}
env:
CARGO_CFG_HTTPARSE_DISABLE_SIMD: 1
CARGO_CFG_HTTPARSE_DISABLE_SIMD: ${{ matrix.feature == 'swar' && '1' || '0' }}
RUSTFLAGS: ${{ matrix.feature != 'swar' && format('-C target-feature=+{0}', matrix.feature) || '' }}

- name: Run benchmarks (PR)
run: |
git checkout ${{ github.event.pull_request.head.sha }}
cargo bench --bench parse ${{ matrix.feature != 'swar' && format('--features httparse_simd') || '' }} -- --save-baseline pr-${{ matrix.feature }}-${{ github.event.pull_request.number }}
cargo bench --bench parse -- --save-baseline pr-${{ matrix.feature }}-${{ github.event.pull_request.number }}
env:
CARGO_CFG_HTTPARSE_DISABLE_SIMD: 1
CARGO_CFG_HTTPARSE_DISABLE_SIMD: ${{ matrix.feature == 'swar' && '1' || '0' }}
RUSTFLAGS: ${{ matrix.feature != 'swar' && format('-C target-feature=+{0}', matrix.feature) || '' }}

- name: Compare benchmarks
Expand Down Expand Up @@ -105,17 +105,17 @@ jobs:
- name: Run benchmarks (master)
run: |
git checkout master
cargo bench --bench parse ${{ matrix.feature == 'neon' && '--features httparse_simd' || '' }} -- --save-baseline master-aarch64-${{ matrix.feature }}
cargo bench --bench parse -- --save-baseline master-aarch64-${{ matrix.feature }}
env:
CARGO_CFG_HTTPARSE_DISABLE_SIMD: 1
CARGO_CFG_HTTPARSE_DISABLE_SIMD: ${{ matrix.feature == 'swar' && '1' || '0' }}
RUSTFLAGS: ${{ matrix.feature == 'neon' && '-C target-feature=+neon' || '' }}

- name: Run benchmarks (PR)
run: |
git checkout ${{ github.event.pull_request.head.sha }}
cargo bench --bench parse ${{ matrix.feature == 'neon' && '--features httparse_simd' || '' }} -- --save-baseline pr-aarch64-${{ matrix.feature }}-${{ github.event.pull_request.number }}
cargo bench --bench parse -- --save-baseline pr-aarch64-${{ matrix.feature }}-${{ github.event.pull_request.number }}
env:
CARGO_CFG_HTTPARSE_DISABLE_SIMD: 1
CARGO_CFG_HTTPARSE_DISABLE_SIMD: ${{ matrix.feature == 'swar' && '1' || '0' }}
RUSTFLAGS: ${{ matrix.feature == 'neon' && '-C target-feature=+neon' || '' }}

- name: Compare benchmarks
Expand Down

0 comments on commit 3567c51

Please sign in to comment.