Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Advisory only: manual dispatch, reports into the job summary, gates nothing.
name: Benchmark

on:
workflow_dispatch:
inputs:
base:
description: Ref to compare against
default: origin/master
head:
description: Ref to measure, empty for the dispatched ref
default: ''
reps:
description: Repetitions per arm
default: '3'
duration:
description: Seconds per measurement
default: '10'

jobs:
benchmark:
runs-on: ubuntu-latest
timeout-minutes: 90

permissions:
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Run benchmark
run: |
./scripts/benchmark.sh \
--base '${{ inputs.base }}' \
--head '${{ inputs.head || github.sha }}' \
--reps '${{ inputs.reps }}' \
--duration '${{ inputs.duration }}'
Loading
Loading