Commit d92e643
Make the benchmark suite self-contained (drop the StableRNGs dependency)
The `Benchmarks` CI job errored with `ArgumentError: Package StableRNGs not
found in current path`. AirspeedVelocity's `benchpkg` benchmarks each revision
in a bare environment containing only the package under test (it does not read
`benchmark/Project.toml` — `project_toml` is `nothing`), so `using StableRNGs`
in `benchmark/benchmarks.jl` could never resolve.
Replace StableRNGs with a tiny vendored SplitMix64 stream (`_bench_rand`)
mapped to Float64 in [0, 1). It is deterministic across Julia versions and
branches — all the base-vs-PR comparison needs — and pulls in no packages, so
the suite runs in the environment benchpkg builds.
Also fix the workflow path filter: it watched `bench/**`, but the suite lives
in `benchmark/**`, so benchmark-only changes never triggered the job.
Verified in a bare env (only FindFirstFunctions + BenchmarkTools, no
StableRNGs): the suite loads, builds all groups, and runs a benchmarkable.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FvBXVKGujjeaCB3iLwsDeG1 parent f7317fe commit d92e643
2 files changed
Lines changed: 23 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
12 | 30 | | |
13 | 31 | | |
14 | | - | |
15 | 32 | | |
16 | 33 | | |
17 | 34 | | |
18 | 35 | | |
19 | 36 | | |
20 | | - | |
| 37 | + | |
21 | 38 | | |
22 | 39 | | |
23 | 40 | | |
24 | 41 | | |
25 | 42 | | |
26 | 43 | | |
27 | | - | |
28 | 44 | | |
29 | 45 | | |
30 | 46 | | |
31 | | - | |
| 47 | + | |
32 | 48 | | |
33 | 49 | | |
34 | 50 | | |
35 | 51 | | |
36 | 52 | | |
37 | | - | |
| 53 | + | |
38 | 54 | | |
39 | 55 | | |
40 | 56 | | |
| |||
0 commit comments