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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-time.html

Issue 1624783002: DevTools: Switch to using fast stack iterator to collect stacks during timeline recording. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing more caseq@ comments. Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/timeline-test.js"></script> 4 <script src="../../http/tests/inspector/timeline-test.js"></script>
5 <script> 5 <script>
6 6
7 function simpleConsoleTime() 7 function simpleConsoleTime()
8 { 8 {
9 console.time("a"); 9 console.time("a");
10 console.timeEnd("a"); 10 console.timeEnd("a");
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 function dumpName(event, level) 79 function dumpName(event, level)
80 { 80 {
81 if (namesToDump.has(event.name)) 81 if (namesToDump.has(event.name))
82 InspectorTest.addResult("----".repeat(level) + "> " + WebInspect or.TimelineUIUtils.eventTitle(event)); 82 InspectorTest.addResult("----".repeat(level) + "> " + WebInspect or.TimelineUIUtils.eventTitle(event));
83 } 83 }
84 function callback() 84 function callback()
85 { 85 {
86 InspectorTest.walkTimelineEventTree(dumpName); 86 InspectorTest.walkTimelineEventTree(dumpName);
87 next(); 87 next();
88 } 88 }
89 InspectorTest.evaluateWithTimeline(actions, InspectorTest.safeWrap(callb ack)); 89 WebInspector.panels.timeline._captureJSProfileSetting.set(false);
90 InspectorTest.evaluateWithTimeline(actions, InspectorTest.safeWrap(callb ack), true);
90 } 91 }
91 } 92 }
92 93
93 </script> 94 </script>
94 </head> 95 </head>
95 96
96 <body onload="runTest()"> 97 <body onload="runTest()">
97 <p>Test nesting of time/timeEnd records on Timeline</p> 98 <p>Test nesting of time/timeEnd records on Timeline</p>
98 99
99 </body> 100 </body>
100 </html> 101 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698