Skip to content

Commit 4830ca6

Browse files
committed
Fix number format of time components
1 parent b676dd7 commit 4830ca6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/TraceDebuggerBenchmarks.package/TDBBenchmarkRunner.class/instance/resultAsJson..st

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ resultAsJson: benches
99
value: timesToRun average asFloat;
1010
range: ('stdev: {1}' format: {timesToRun tdbSampleVariance asFloat});
1111
extra: (JsonObject new
12-
totalTime: (benches collect: [:ea | ea totalTime asMilliSeconds]) average;
13-
preparationTime: (benches collect: [:ea | ea preparationTime asMilliSeconds]) average;
14-
postparationTime: (benches collect: [:ea | ea postparationTime asMilliSeconds]) average;
12+
totalTime: (benches collect: [:ea | ea totalTime asMilliSeconds]) average asFloat;
13+
preparationTime: (benches collect: [:ea | ea preparationTime asMilliSeconds]) average asFloat;
14+
postparationTime: (benches collect: [:ea | ea postparationTime asMilliSeconds]) average asFloat;
1515
asJsonString);
1616
yourself

packages/TraceDebuggerBenchmarks.package/TDBBenchmarkRunner.class/methodProperties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"configAt:ifAbsent:" : "ct 1/8/2022 15:42",
1717
"exportResults" : "ct 1/8/2022 15:37",
1818
"getEnv:" : "ct 1/8/2022 15:31",
19-
"resultAsJson:" : "ct 1/9/2022 01:57",
19+
"resultAsJson:" : "ct 1/9/2022 02:07",
2020
"resultsAsJson" : "ct 1/9/2022 01:57",
2121
"resultsFilePath" : "ct 1/8/2022 15:41",
2222
"runBenchmarks" : "ct 1/8/2022 18:50",

0 commit comments

Comments
 (0)