commit | 252ddbac176a149751a30c1f5a82c164c3641fb3 | [log] [tgz] |
---|---|---|
author | Florian Mayer <fmayer@google.com> | Thu Jan 23 13:19:40 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jan 23 13:19:40 2020 +0000 |
tree | 7a1b2da75de26d3a5e161eeba38dc9d5ec4dcf47 | |
parent | 219a0682d2cf9c8de3b753229f444b16400e6ec4 [diff] | |
parent | 9c415ad3a7183574022ee2d7b7a02e1797e4ae62 [diff] |
Merge "Mark merged callsites as [merged]"
diff --git a/ui/src/frontend/flamegraph.ts b/ui/src/frontend/flamegraph.ts index 36923f8..e74befe 100644 --- a/ui/src/frontend/flamegraph.ts +++ b/ui/src/frontend/flamegraph.ts
@@ -307,7 +307,7 @@ if (unit === '') return totalSize.toLocaleString(); if (totalSize === 0) return `0 ${unit}`; const units = [ - ['', 0], + ['', 1], ['K', step], ['M', Math.pow(step, 2)], ['G', Math.pow(step, 3)]