Skip to content

Commit f1a758a

Browse files
committed
update plots script
1 parent cb8fefa commit f1a758a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

benchmark/plot_results.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ using Statistics
88
resultdir = joinpath(@__DIR__, "results")
99
resultfile(i) = "results_MPSKit@bench$i.json"
1010

11+
versions = [0, 1, 2, 3, 5]
12+
1113
df_contract = let df = DataFrame(
1214
:version => Int[], :model => String[], :symmetry => String[],
1315
:D => Int[], :V => Int[], :memory => Int[], :allocs => Int[], :times => Vector{Int}[]
1416
)
1517

16-
for version in 0:3
18+
for version in versions
1719
result = JSON.parsefile(joinpath(resultdir, resultfile(version)))
1820
for (model, model_res) in result.data.derivatives.data.AC2_contraction.data
1921
for (symmetry, sym_res) in model_res.data
@@ -35,7 +37,7 @@ df_prep = let df = DataFrame(
3537
:D => Int[], :V => Int[], :memory => Int[], :allocs => Int[], :times => Vector{Int}[]
3638
)
3739

38-
for version in 0:3
40+
for version in versions
3941
result = JSON.parsefile(joinpath(resultdir, resultfile(version)))
4042
for (model, model_res) in result.data.derivatives.data.AC2_preparation.data
4143
for (symmetry, sym_res) in model_res.data

0 commit comments

Comments
 (0)