Skip to content

Commit aa38154

Browse files
committed
moving files around
1 parent 1da30e9 commit aa38154

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
File renamed without changes.

benchmark/runbenchmarks.jl renamed to benchmark/humongous/runbenchmarks.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ROOTPATH = joinpath(@__DIR__, "..")
1+
ROOTPATH = joinpath(@__DIR__, "../..")
22
import Pkg
33
Pkg.activate(@__DIR__)
44
if !isfile(joinpath(@__DIR__, "Manifest.toml"))
@@ -12,17 +12,17 @@ import LibGit2
1212
repo = mktempdir(mktempdir()) # TestItemRunner needs access to parent directory as well.
1313
LibGit2.clone("https://github.com/epolack/DFTK-testproblems", repo)
1414

15-
#script = tempname() * ".jl"
15+
# Workaround to be able to benchmark releases before the use of PkgBenchmark.
1616
script = tempname(repo) * ".jl"
17-
benchpath = joinpath(ROOTPATH, "benchmark", "benchmarks.jl")
17+
benchpath = joinpath(ROOTPATH, "benchmark", "humongous", "benchmarks.jl")
1818
cp(benchpath, script)
1919

2020
# Reconfigures the packages in case of version changes.
2121
juliacmd=`$(joinpath(Sys.BINDIR, Base.julia_exename())) \
2222
-O3 -e"import Pkg; Pkg.activate(\"$ROOTPATH\"); Pkg.instantiate();"`
23-
current = BenchmarkConfig(; id="HEAD", juliacmd)
23+
target = BenchmarkConfig(; id="HEAD", juliacmd)
2424
baseline = BenchmarkConfig(; id="master", juliacmd)
25-
judged = judge(ROOTPATH, current, baseline; retune=true, script)
25+
judged = judge(ROOTPATH, target, baseline; retune=true, script)
2626

2727
println("MASTER BRANCH")
2828
println(judged.baseline_results)
@@ -34,4 +34,4 @@ println("DIFFGROUP")
3434
println(judged.benchmarkgroup)
3535

3636
println("MARKDOWN")
37-
export_markdown(stdout, judged, export_invariants=true)
37+
export_markdown(stdout, judged; export_invariants=false)

0 commit comments

Comments
 (0)