Skip to content

Commit 753e81b

Browse files
committed
try using output.json file in root
1 parent 78b20fa commit 753e81b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
Pkg.develop(PackageSpec(path=pwd()));
3636
Pkg.instantiate()'
3737
- name: Run benchmark # import Pkg; Pkg.add("BenchmarkTools") # Pkg.develop(PackageSpec(path=pwd()))
38-
run: julia --project=benchmark benchmark/runbenchmarks.jl | tee output.txt
38+
run: julia --project=benchmark benchmark/runbenchmarks.jl
3939
- uses: actions/cache@v4
4040
with:
4141
path: ./cache
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
# name: Julia benchmark result
5757
tool: 'julia'
58-
output-file-path: output.txt #benchmark/
58+
output-file-path: output.json #benchmark/
5959
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t/github-action-not-triggering-gh-pages-upon-push/16096
6060
#external-data-json-path: ./cache/output.json
6161
github-token: ${{ secrets.GITHUB_TOKEN }}

benchmark/runbenchmarks.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ suite["factorize"][1] = @benchmarkable my_factorize(Y)
3131
tune!(suite)
3232
results = run(suite, verbose = true)
3333

34-
display(median(results))
34+
# display(median(results))
3535

36-
#BenchmarkTools.save("output.json", median(results))
36+
BenchmarkTools.save("output.json", median(results))

0 commit comments

Comments
 (0)