Skip to content

Commit f6278a5

Browse files
committed
try this one
1 parent 938a2fc commit f6278a5

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
with:
1515
julia-version: '1'
1616
bench-on: ${{ github.event.pull_request.head.sha }}
17+
extra-pkgs: "https://github.com/LilithHafner/ChairmarksForAirspeedVelocity.jl"
1718
- name: Remove run benchmark label
1819
if: ${{ success() }}
1920
uses: actions/github-script@v7

benchmark/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[deps]
22
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
33
Chairmarks = "0ca39b1e-fe0b-4e98-acfc-b1656634c4de"
4+
ChairmarksForAirspeedVelocity = "03f6ca6c-aa78-4850-b881-17e0d6a7eae9"
45
Copulas = "ae264745-0b69-425e-9d9d-cf662c5eec93"
56
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
67
PkgBenchmark = "32113eaa-f34f-5b0d-bd6c-c81e245fc73d"

benchmark/benchmarks.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Chairmarks
21
using BenchmarkTools
2+
using ChairmarksForAirspeedVelocity
33
using Copulas
44
using StatsBase
55
using Distributions
@@ -41,7 +41,7 @@ function conditioning(rng, C)
4141
return nothing
4242
end
4343

44-
function run_benches()
44+
function make_bench()
4545
rng = StableRNG(123)
4646

4747
EXAMPLES = unique([
@@ -110,13 +110,13 @@ function run_benches()
110110
tp = typeof(C).name.wrapper
111111
nm = sprint(show, C)
112112
@show nm
113-
G["exercise"][tp][nm] = @be exercise(rng, C)
114-
# G["metrics"][nm] = @be metrics(C)
115-
# G["fitting"][nm] = @be fitting(rng, C)
116-
# G["conditioning"][tp][nm] = @be conditioning(rng, C)
113+
G["exercise"][tp][nm] = @benchmarkable exercise(rng, C)
114+
# G["metrics"][nm] = @benchmarkable metrics(C)
115+
# G["fitting"][nm] = @benchmarkable fitting(rng, C)
116+
# G["conditioning"][tp][nm] = @benchmarkable conditioning(rng, C)
117117
end
118118
return(G)
119119
end
120120

121121
# PkgBenchmark entrypoint; must define SUITE
122-
const SUITE = run_benches();
122+
const SUITE = make_bench();

0 commit comments

Comments
 (0)