OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-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("inner"); | 8 console.profile("inner"); |
9 console.profileEnd("outer"); | 9 console.profileEnd("outer"); |
10 console.profileEnd("inner"); | 10 console.profileEnd("inner"); |
11 } | 11 } |
12 | 12 |
13 function test() | 13 function test() |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 } | 65 } |
66 } | 66 } |
67 </script> | 67 </script> |
68 </head> | 68 </head> |
69 <body onload="runTest()"> | 69 <body onload="runTest()"> |
70 <p> | 70 <p> |
71 Tests that console.profile/profileEnd will record CPU profile when inspector fro
nt-end is connected.<br> | 71 Tests that console.profile/profileEnd will record CPU profile when inspector fro
nt-end is connected.<br> |
72 </p> | 72 </p> |
73 </body> | 73 </body> |
74 </html> | 74 </html> |
OLD | NEW |