Skip to content

Commit 011879a

Browse files
AbhinavMiredvilme
andauthored
Update Lib/profiling/sampling/_flamegraph_assets/flamegraph.js
Co-authored-by: Eduardo Villalpando Mello <eduardo.villalpando.mello@gmail.com>
1 parent adda2e2 commit 011879a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/profiling/sampling/_flamegraph_assets/flamegraph.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let zoomedNodeValue = null;
1515
// sampling interval is unknown, since a sample count is not a time.
1616
function formatSampleMs(samples) {
1717
if (sampleIntervalUsec <= 0) return "--";
18-
return ((samples * sampleIntervalUsec) / 1000).toFixed(2);
18+
return ((samples * sampleIntervalUsec) / 1_000).toFixed(2);
1919
}
2020

2121
// Heat colors are now defined in CSS variables (--heat-1 through --heat-8)

0 commit comments

Comments
 (0)