| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- Copyright 2013 the V8 project authors. All rights reserved. | 2 <!-- Copyright 2013 the V8 project authors. All rights reserved. |
| 3 | 3 |
| 4 Redistribution and use in source and binary forms, with or without | 4 Redistribution and use in source and binary forms, with or without |
| 5 modification, are permitted provided that the following conditions are | 5 modification, are permitted provided that the following conditions are |
| 6 met: | 6 met: |
| 7 * Redistributions of source code must retain the above copyright | 7 * Redistributions of source code must retain the above copyright |
| 8 notice, this list of conditions and the following disclaimer. | 8 notice, this list of conditions and the following disclaimer. |
| 9 * Redistributions in binary form must reproduce the above | 9 * Redistributions in binary form must reproduce the above |
| 10 copyright notice, this list of conditions and the following | 10 copyright notice, this list of conditions and the following |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 </a> | 89 </a> |
| 90 </h1> | 90 </h1> |
| 91 <div id="instructions"> | 91 <div id="instructions"> |
| 92 <ol> | 92 <ol> |
| 93 <li> | 93 <li> |
| 94 Run V8 with | 94 Run V8 with |
| 95 <span class="tt">--prof --log-timer-events</span>, | 95 <span class="tt">--prof --log-timer-events</span>, |
| 96 or alternatively,<br/> | 96 or alternatively,<br/> |
| 97 Chrome with | 97 Chrome with |
| 98 <span class="tt"> | 98 <span class="tt"> |
| 99 --no-sandbox --js-flags="--prof --noprof-lazy --log-timer-events | 99 --no-sandbox --js-flags="--prof --log-timer-events" |
| 100 </span> to produce <span class="tt">v8.log</span>. | 100 </span> to produce <span class="tt">v8.log</span>. |
| 101 </li> | 101 </li> |
| 102 <li> | 102 <li> |
| 103 Open | 103 Open |
| 104 <span class="tt">v8.log</span> | 104 <span class="tt">v8.log</span> |
| 105 on this page. Don't worry, it won't be uploaded anywhere. | 105 on this page. Don't worry, it won't be uploaded anywhere. |
| 106 </li> | 106 </li> |
| 107 <li> | 107 <li> |
| 108 Click "Start" to start number crunching. This will take a while. | 108 Click "Start" to start number crunching. This will take a while. |
| 109 </li> | 109 </li> |
| 110 <li> | 110 <li> |
| 111 Click "Show plot/profile" to switch between the statistical profile and | 111 Click "Show plot/profile" to switch between the statistical profile and |
| 112 the timeline plot.<br/> | 112 the timeline plot.<br/> |
| 113 C++ items are missing in the statistical profile because symbol | 113 C++ items are missing in the statistical profile because symbol |
| 114 information is not available.<br> | 114 information is not available.<br> |
| 115 Consider using the | 115 Consider using the |
| 116 <a href="https://code.google.com/p/v8/wiki/V8Profiler"> | 116 <a href="https://code.google.com/p/v8/wiki/V8Profiler"> |
| 117 command-line utility | 117 command-line utility |
| 118 </a> instead. | 118 </a> instead. |
| 119 </li> | 119 </li> |
| 120 </ol> |
| 121 If you expect multiple V8 instances to run concurrently, for example |
| 122 with several tabs in Chrome,<br/> |
| 123 add the V8 flag <span class="tt">--logfile=v8.%p.log</span> |
| 124 so that each instance writes to its own log file. |
| 120 </div> | 125 </div> |
| 121 </div> | 126 </div> |
| 122 | 127 |
| 123 <div class="text"> | 128 <div class="text"> |
| 124 <h1> | 129 <h1> |
| 125 <a href="javascript:ui.info('credits');" class="unroll"> | 130 <a href="javascript:ui.info('credits');" class="unroll"> |
| 126 Credits | 131 Credits |
| 127 </a> | 132 </a> |
| 128 </h1> | 133 </h1> |
| 129 <div id="credits"> | 134 <div id="credits"> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 144 <li> | 149 <li> |
| 145 The <a href="https://developers.google.com/v8/">V8 project</a>. | 150 The <a href="https://developers.google.com/v8/">V8 project</a>. |
| 146 </li> | 151 </li> |
| 147 </ul> | 152 </ul> |
| 148 </div> | 153 </div> |
| 149 </div> | 154 </div> |
| 150 | 155 |
| 151 </div> | 156 </div> |
| 152 </body> | 157 </body> |
| 153 </html> | 158 </html> |
| OLD | NEW |