Skip to content

Commit cb8fd8a

Browse files
authored
Fix timestamp formatting
1 parent 369ef1d commit cb8fd8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

turbopack/scripts/analyze_cache_effectiveness.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def format_time(nanoseconds: float) -> str:
131131
elif nanoseconds >= 1_000: # >= 1 microsecond
132132
return f"{sign}{nanoseconds / 1_000:.1f}μs"
133133
else: # nanoseconds
134-
return f"{nanoseconds:.0f}ns"
134+
return f"{sign}{nanoseconds:.0f}ns"
135135

136136

137137
def print_analysis(results: List[Tuple[TaskStats, float]]):

0 commit comments

Comments
 (0)