OLD | NEW |
1 <html> | 1 <html> |
2 <!-- | 2 <!-- |
3 Copyright 2016 the V8 project authors. All rights reserved. Use of this source | 3 Copyright 2016 the V8 project authors. All rights reserved. Use of this source |
4 code is governed by a BSD-style license that can be found in the LICENSE file. | 4 code is governed by a BSD-style license that can be found in the LICENSE file. |
5 --> | 5 --> |
6 | 6 |
7 <head> | 7 <head> |
8 <meta charset="UTF-8"> | 8 <meta charset="UTF-8"> |
9 <style> | 9 <style> |
10 body { | 10 body { |
(...skipping 1726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1737 </thead> | 1737 </thead> |
1738 <tbody></tbody> | 1738 <tbody></tbody> |
1739 </table> | 1739 </table> |
1740 </div> | 1740 </div> |
1741 </div> | 1741 </div> |
1742 | 1742 |
1743 <div class="inline"> | 1743 <div class="inline"> |
1744 <h2>Usage</h2> | 1744 <h2>Usage</h2> |
1745 <ol> | 1745 <ol> |
1746 <li>Install scipy, e.g. <code>sudo aptitude install python-scipy</code> | 1746 <li>Install scipy, e.g. <code>sudo aptitude install python-scipy</code> |
1747 <li>Build chrome with the <a href="https://codereview.chromium.org/1923893
002">extended runtime callstats</a>.</li> | 1747 <li>Build chrome.</li> |
| 1748 <li>Check out a known working version of webpagereply: |
| 1749 <pre>git -C $CHROME_DIR/third_party/webpagereplay checkout 7dbd94752d1cd
e5536ffc623a9e10a51721eff1d</pre> |
| 1750 </li> |
1748 <li>Run <code>callstats.py</code> with a web-page-replay archive: | 1751 <li>Run <code>callstats.py</code> with a web-page-replay archive: |
1749 <pre>$V8_DIR/tools/callstats.py run \ | 1752 <pre>$V8_DIR/tools/callstats.py run \ |
1750 --replay-bin=$CHROME_SRC/third_party/webpagereplay/replay.py \ | 1753 --replay-bin=$CHROME_SRC/third_party/webpagereplay/replay.py \ |
1751 --replay-wpr=$INPUT_DIR/top25.wpr \ | 1754 --replay-wpr=$INPUT_DIR/top25.wpr \ |
1752 --js-flags="" \ | 1755 --js-flags="" \ |
1753 --with-chrome=$CHROME_SRC/out/Release/chrome \ | 1756 --with-chrome=$CHROME_SRC/out/Release/chrome \ |
1754 --sites-file=$INPUT_DIR/top25.json</pre> | 1757 --sites-file=$INPUT_DIR/top25.json</pre> |
1755 </li> | 1758 </li> |
1756 <li>Move results file to a subdirectory: <code>mkdir $VERSION_DIR; mv *.tx
t $VERSION_DIR</code></li> | 1759 <li>Move results file to a subdirectory: <code>mkdir $VERSION_DIR; mv *.tx
t $VERSION_DIR</code></li> |
1757 <li>Repeat from step 1 with a different configuration (e.g. <code>--js-fla
gs="--nolazy"</code>).</li> | 1760 <li>Repeat from step 1 with a different configuration (e.g. <code>--js-fla
gs="--nolazy"</code>).</li> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1797 </tr> | 1800 </tr> |
1798 <tr> | 1801 <tr> |
1799 <td>Overall Impact:</td> | 1802 <td>Overall Impact:</td> |
1800 <td class="timeImpact"></td><td>±</td><td class="timePercentImpact"></td
> | 1803 <td class="timeImpact"></td><td>±</td><td class="timePercentImpact"></td
> |
1801 <td class="compare timeImpact"></td><td class="compare"> ± </td><td clas
s="compare timePercentImpact"></td> | 1804 <td class="compare timeImpact"></td><td class="compare"> ± </td><td clas
s="compare timePercentImpact"></td> |
1802 </tr> | 1805 </tr> |
1803 </table> | 1806 </table> |
1804 </div> | 1807 </div> |
1805 </body> | 1808 </body> |
1806 </html> | 1809 </html> |
OLD | NEW |