Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
willtebbutt committed Feb 21, 2024
1 parent 12b83d5 commit 4434e6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
PERF_GROUP: ${{ matrix.perf_group }}
shell: bash
compperf:
name: "Comparative Performance Test"
name: "Performance (inter-AD)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -83,4 +83,4 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: benchmarking-results
path: foo/benchmarking_results.png
path: benchmarking_results.png
4 changes: 2 additions & 2 deletions bench/run_benchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ end

function main()
perf_group = get(ENV, "PERF_GROUP", "hand_written")
@show perf_group
if perf_group == "hand_written"
flag_concerning_performance(benchmark_hand_written_rrules!!(Xoshiro))
elseif perf_group == "derived"
Expand All @@ -280,8 +281,7 @@ function main()
# println()
plt = plot()
plot!(plt, randn(10), randn(10))
mkdir("foo")
savefig(plt, "foo/benchmarking_results.png")
savefig(plt, "benchmarking_results.png")
else
throw(error("perf_group=$(perf_group) is not recognised"))
end
Expand Down

0 comments on commit 4434e6e

Please sign in to comment.