Skip to content

Commit 6c29c9e

Browse files
committed
Fix for wrong start time
The performance testing extension outputs the Date field in seconds, rather than milliseconds.
1 parent 9fe5042 commit 6c29c9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnityPerformanceBenchmarkReporter/PerformanceTestRunProcessor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public PerformanceTestRunResult CreateTestRunResult(PerformanceTestRun runResult
188188
IsBaseline = isBaseline,
189189
TestSuite = runResults.TestSuite,
190190
StartTime =
191-
new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc).AddMilliseconds(
191+
new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc).AddSeconds(
192192
runResults.StartTime),
193193
TestResults = testResults,
194194
PlayerSystemInfo = runResults.PlayerSystemInfo,

0 commit comments

Comments
 (0)