@@ -169,20 +169,30 @@ function perftestsuffix(context :: Context)
169169
170170 testresdict = Dict {String,Union{Dict,Test_Result}} ()
171171 if TS isa Vector
172+ benchmarks = BenchmarkGroup ()
172173 for ts in TS
173- testresdict[ts. description] = extractTestResults (TS)
174+ testresdict[ts. description * ts. iterator] = extractTestResults (TS)
175+ benchmarks[ts. description * ts. iterator] = ts. benchmarks
174176 end
177+ # Save new results
178+ newres = Suite_Execution_Result (
179+ timestamp= datetime2unix (now ()),
180+ elapsed= time () - _t_begin,
181+ benchmarks= benchmarks,
182+ # Populate new with results of current execution
183+ perftests = testresdict
184+ )
175185 else
176186 testresdict[TS. description] = extractTestResults (TS)
187+ # Save new results
188+ newres = Suite_Execution_Result (
189+ timestamp= datetime2unix (now ()),
190+ elapsed= time () - _t_begin,
191+ benchmarks= TS. benchmarks,
192+ # Populate new with results of current execution
193+ perftests = testresdict
194+ )
177195 end
178- # Save new results
179- newres = Suite_Execution_Result (
180- timestamp= datetime2unix (now ()),
181- elapsed= time () - _t_begin,
182- benchmarks= TS. benchmarks,
183- # Populate new with results of current execution
184- perftests = testresdict
185- )
186196 push! (_PRFT_GLOBALS. datafile. results, newres)
187197
188198 # No fails no errors
0 commit comments