From 48179534e086935b07f6fc7a91e020cf1dc4526a Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 22 Jul 2026 10:01:56 -0400 Subject: [PATCH 1/3] Fix FindFirstFunctions benchmark v3 dispatch Co-Authored-By: Chris Rackauckas --- .github/workflows/Benchmark.yml | 1 + benchmark/benchmarks.jl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Benchmark.yml b/.github/workflows/Benchmark.yml index 68ee742..6fd9edf 100644 --- a/.github/workflows/Benchmark.yml +++ b/.github/workflows/Benchmark.yml @@ -5,6 +5,7 @@ on: paths: - "src/**" - "bench/**" + - "benchmark/**" - "Project.toml" - ".github/workflows/Benchmark.yml" workflow_dispatch: diff --git a/benchmark/benchmarks.jl b/benchmark/benchmarks.jl index 8aba939..3df81c9 100644 --- a/benchmark/benchmarks.jl +++ b/benchmark/benchmarks.jl @@ -55,7 +55,7 @@ let v = collect(Int64, 1:1024), x = Int64(500), hint = 480 ("Auto", Auto()), ] SUITE["per_query"][name] = @benchmarkable( - searchsortedlast($strategy, $v, $x, $hint), + searchsorted_last($strategy, $v, $x, $hint), evals = 1, samples = 200, ) end From daf9191b265fec2b3b9fd3cff176dab43e80876b Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 22 Jul 2026 10:25:23 -0400 Subject: [PATCH 2/3] Run benchmark script from the tested revision Co-Authored-By: Chris Rackauckas --- .github/workflows/Benchmark.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Benchmark.yml b/.github/workflows/Benchmark.yml index 6fd9edf..362dd6c 100644 --- a/.github/workflows/Benchmark.yml +++ b/.github/workflows/Benchmark.yml @@ -21,7 +21,11 @@ permissions: jobs: benchmark: - uses: "SciML/.github/.github/workflows/benchmark.yml@v1" - with: - julia-version: "1.11" - secrets: "inherit" + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: MilesCranmer/AirspeedVelocity.jl@action-v1 + with: + julia-version: "1.11" + bench-on: ${{ github.event.pull_request.head.sha || github.sha }} From c8d17d761ee74171b0b9e3c3511851ed4d4df83c Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Wed, 22 Jul 2026 10:36:40 -0400 Subject: [PATCH 3/3] Write benchmark results to the job summary Co-Authored-By: Chris Rackauckas --- .github/workflows/Benchmark.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/Benchmark.yml b/.github/workflows/Benchmark.yml index 362dd6c..0566a1f 100644 --- a/.github/workflows/Benchmark.yml +++ b/.github/workflows/Benchmark.yml @@ -29,3 +29,4 @@ jobs: with: julia-version: "1.11" bench-on: ${{ github.event.pull_request.head.sha || github.sha }} + job-summary: "true"