Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: LayoutTests/inspector/tracing/timeline-js-callstacks.html

Issue 1292943002: DevTools: Add total time column to the timeline tree view (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressing comment Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/tracing/timeline-js-callstacks-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/tracing/timeline-js-callstacks.html
diff --git a/LayoutTests/inspector/tracing/timeline-js-callstacks.html b/LayoutTests/inspector/tracing/timeline-js-callstacks.html
index 22108595fa2491e0c06e3dc3b621a5fa7e8bbd24..4559d41fb902f9b3e5a3fc705a3372b37468017d 100644
--- a/LayoutTests/inspector/tracing/timeline-js-callstacks.html
+++ b/LayoutTests/inspector/tracing/timeline-js-callstacks.html
@@ -400,7 +400,7 @@ function test()
function printProfileTree(padding, node)
{
- InspectorTest.addResult(" ".repeat(padding) + node.name + ": " + node.totalTime.toFixed(3));
+ InspectorTest.addResult(" ".repeat(padding) + node.name + ": " + [node.selfTime, node.totalTime].map(function (t) { return t.toFixed(3); }).join(" "));
(node.children || new Map()).forEach(printProfileTree.bind(null, padding + 1));
}
« no previous file with comments | « no previous file | LayoutTests/inspector/tracing/timeline-js-callstacks-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698