Skip to content

Commit 0450498

Browse files
committed
Fix a Swift bug that printed zero for all the timestamps
1 parent 9a75492 commit 0450498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Performance/Harness.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class Harness: GeneratedHarnessMembers {
106106

107107
for name in taskNames {
108108
let time = currentSubtasks[name] ?? 0
109-
print(String(format: "%9.3f", name, time), terminator: "")
109+
print(String(format: "%9.3f", time), terminator: "")
110110
subtaskTimings[name] = (subtaskTimings[name] ?? []) + [time]
111111
}
112112
print()

0 commit comments

Comments
 (0)