Skip to content

Commit 3dacd82

Browse files
committed
VERIFY ONLY: compare benchmark runners (#2125)
1 parent 5663e92 commit 3dacd82

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎.github/workflows/benchmark.yml‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ name: Engine Benchmark
1616
# scope, and a report it cannot post is a warning. Nothing here pushes, and the
1717
# docs stay hand-updated from the report.
1818
on:
19+
# VERIFY ONLY (not for merge): compare runners on push to this branch.
20+
push:
21+
branches: [ verify/bench-2125 ]
1922
schedule:
2023
# Wednesdays 03:17 UTC: off the hour, where GitHub delays scheduled runs
2124
# most, and midweek, clear of the Saturday crons (#1967), Monday's Python
@@ -101,7 +104,8 @@ jobs:
101104
timeout-minutes: 300
102105
strategy:
103106
matrix:
104-
os: [ "${{ inputs.runner || 'ubuntu-latest' }}" ]
107+
os: [ ubuntu-latest, ubuntu-26.04-arm, macos-latest, windows-latest ]
108+
fail-fast: false
105109
defaults:
106110
run:
107111
shell: bash
@@ -181,7 +185,7 @@ jobs:
181185
env:
182186
INSTALLED: ${{ needs.python-versions.outputs.engine-ktlo }} ${{ needs.python-versions.outputs.engine-supported }}
183187
PYTHONS: ${{ inputs.pythons }}
184-
ENGINES: ${{ inputs.engines }}
188+
ENGINES: default,dpkt,scapy,pypcap,pcap_ct,pypcapfile
185189
ROUNDS: ${{ inputs.rounds }}
186190
REPEATS: ${{ inputs.repeats }}
187191
RUNNER_LABEL: ${{ matrix.os }}
@@ -239,7 +243,7 @@ jobs:
239243
if: ${{ always() }}
240244
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
241245
with:
242-
name: benchmark-out
246+
name: benchmark-out-${{ matrix.os }}
243247
path: out/
244248
if-no-files-found: ignore
245249
retention-days: 90
@@ -251,7 +255,7 @@ jobs:
251255
discussion:
252256
name: Post the engine benchmark report
253257
needs: [ benchmark ]
254-
if: ${{ always() && needs.benchmark.result != 'skipped' }}
258+
if: false
255259
runs-on: ubuntu-latest
256260
timeout-minutes: 10
257261
continue-on-error: true

0 commit comments

Comments
 (0)