OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/inspector-protocol-test.js"></script> |
4 <script> | 4 <script> |
5 function collectProfiles() | 5 function collectProfiles() |
6 { | 6 { |
7 console.profile("outer"); | 7 console.profile("outer"); |
8 console.profile(42); | 8 console.profile(42); |
9 console.profileEnd("outer"); | 9 console.profileEnd("outer"); |
10 console.profileEnd(42); | 10 console.profileEnd(42); |
11 } | 11 } |
12 | 12 |
13 function test() | 13 function test() |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 } | 58 } |
59 } | 59 } |
60 </script> | 60 </script> |
61 </head> | 61 </head> |
62 <body onload="runTest()"> | 62 <body onload="runTest()"> |
63 <p> | 63 <p> |
64 Tests that console.profile/profileEnd will record CPU profile when inspector fro
nt-end is connected.<br> | 64 Tests that console.profile/profileEnd will record CPU profile when inspector fro
nt-end is connected.<br> |
65 </p> | 65 </p> |
66 </body> | 66 </body> |
67 </html> | 67 </html> |
OLD | NEW |