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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-sampling-codemap.html

Issue 2145873002: [DevTools] Split inspector/tracing into subdirectories to speed things up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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="../tracing-test.js"></script> 4 <script src="../../tracing-test.js"></script>
5 <script> 5 <script>
6 function test() 6 function test()
7 { 7 {
8 var codemap = new WebInspector.TimelineJSProfileProcessor.CodeMap(); 8 var codemap = new WebInspector.TimelineJSProfileProcessor.CodeMap();
9 for (var i = 0; i < 10; i++) { 9 for (var i = 0; i < 10; i++) {
10 var address = i * 0x100 + 0x77000; 10 var address = i * 0x100 + 0x77000;
11 codemap.addEntry("0x" + address.toString(16), 0x80, "frame" + i); 11 codemap.addEntry("0x" + address.toString(16), 0x80, "frame" + i);
12 } 12 }
13 13
14 codemap.addEntry( "0x77010", 0x10, "frame1killer"); 14 codemap.addEntry( "0x77010", 0x10, "frame1killer");
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 } 55 }
56 } 56 }
57 InspectorTest.completeTest(); 57 InspectorTest.completeTest();
58 } 58 }
59 59
60 </script> 60 </script>
61 </head> 61 </head>
62 <body onload="runTest()"> 62 <body onload="runTest()">
63 </body> 63 </body>
64 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698