@@ -8,12 +8,14 @@ using Statistics
88resultdir = joinpath (@__DIR__ , " results" )
99resultfile (i) = " results_MPSKit@bench$i .json"
1010
11+ versions = [0 , 1 , 2 , 3 , 5 ]
12+
1113df_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