chore: update changeset #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmark Base Branch | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
benchmark_base_branch: | |
name: Continuous Benchmarking with Bencher | |
permissions: | |
checks: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: bencherdev/bencher@main | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
- run: npm ci | |
- run: npm run build | |
- name: Track base branch benchmarks with Bencher | |
run: | | |
bencher run \ | |
--project rdf-validate-shacl \ | |
--token '${{ secrets.BENCHER_API_TOKEN }}' \ | |
--branch master \ | |
--testbed ubuntu-latest \ | |
--threshold-measure latency \ | |
--threshold-test t_test \ | |
--threshold-max-sample-size 64 \ | |
--threshold-upper-boundary 0.99 \ | |
--threshold-measure throughput \ | |
--threshold-test t_test \ | |
--threshold-max-sample-size 64 \ | |
--threshold-upper-boundary 0.99 \ | |
--thresholds-reset \ | |
--err \ | |
--adapter json \ | |
--github-actions '${{ secrets.GITHUB_TOKEN }}' \ | |
--file benchmark.json \ | |
npm run benchmark |