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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-line-level-profile.html

Issue 2262543002: DevTools: Profiler domain refactoring: encode timestamps as deltas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 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/debugger-test.js"></script> 4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script src="../resources/timeline-data.js"></script> 5 <script src="../resources/timeline-data.js"></script>
6 <script> 6 <script>
7 function test() 7 function test()
8 { 8 {
9 var cpuProfile = { 9 var cpuProfile = {
10 startTime: 10, 10 startTime: 10e6,
11 endTime: 20, 11 endTime: 20e6,
12 nodes: [ 12 nodes: [
13 { 13 {
14 id: 0, 14 id: 0,
15 callFrame: { functionName: "(root)" }, 15 callFrame: { functionName: "(root)" },
16 hitCount: 0, 16 hitCount: 0,
17 children: [1, 2] 17 children: [1, 2]
18 }, 18 },
19 { 19 {
20 id: 1, 20 id: 1,
21 callFrame: { functionName: "foo1" }, 21 callFrame: { functionName: "foo1" },
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 setTimeout(() => InspectorTest.completeTest(), 0); 72 setTimeout(() => InspectorTest.completeTest(), 0);
73 } 73 }
74 } 74 }
75 75
76 </script> 76 </script>
77 </head> 77 </head>
78 <body onload="runTest()"> 78 <body onload="runTest()">
79 Tests that a line-level CPU profile is shown in the text editor. 79 Tests that a line-level CPU profile is shown in the text editor.
80 </body> 80 </body>
81 </html> 81 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698