| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <title>Profiler: basic grid functionality test</title> | |
| 4 <script type="text/javascript" src="resources/fib.js"></script> | |
| 5 </head> | |
| 6 <body onload="run_fib()"> | |
| 7 This test runs a simple looped computation to test basic | |
| 8 functionality of profile view grid. | |
| 9 <br> | |
| 10 <br> | |
| 11 To use this test: | |
| 12 <ul> | |
| 13 <li>load file in the browser; | |
| 14 <li>open DevTools (Ctrl+Shift+I on Win/Linux, Command+Option+I on Mac); | |
| 15 <li>go to 'Profiles' page; | |
| 16 <li>press 'Start profiling' button | |
| 17 (gray dot on the left side of status bar); | |
| 18 <li>wait for 5 seconds; | |
| 19 <li>press 'Stop profiling' button | |
| 20 (red dot on the left side of status bar); | |
| 21 </ul> | |
| 22 <br> | |
| 23 On the left pane under 'CPU profiles' section, an item called | |
| 24 'Profile 1' must appear, and a grid with profile data must | |
| 25 appear on the right. Now test the following functionality in the grid: | |
| 26 <ul> | |
| 27 <li>change sorting order in each column by clicking on its header; | |
| 28 <li>resize each column; | |
| 29 <li>toggle between showing absolute times and percents | |
| 30 (button with percent sign on the status bar); | |
| 31 <li>double-click on numbers in 'Self' and | |
| 32 'Total' columns to toggle between times and percents for | |
| 33 this column only; | |
| 34 <li>expanding and collapsing tree nodes; | |
| 35 <li>toggling between "Heavy" and "Tree" views. | |
| 36 </ul> | |
| 37 </body> | |
| 38 </html> | |
| OLD | NEW |