# Runtime Stats Komparator

## Data

## Result

Compare against:
Green the selected version above performs better on this measurement.

## Version Selector

## Page Selector

###

Version | Pos. | Time▴ | Percent | Count
--- | --- | --- | --- | ---

### Page Comparison for

Page | Time | Percent▾ | %/Entry | Count
--- | --- | --- | --- | ---
Total: |  |  |  |

### Impact list for

Name | Time | Percent▾ | Top Pages
--- | --- | --- | ---

###

###

###

Pos. | Name | Time | Percent | Count
--- | --- | --- | --- | ---

## Usage

1. Install scipy, e.g. `sudo aptitude install python-scipy`
2. Build chrome with the extended runtime callstats.
3. Run `callstats.py` with a web-page-replay archive:

       $V8_DIR/tools/callstats.py run \
               --replay-bin=$CHROME_SRC/third_party/webpagereplay/replay.py \
               --replay-wpr=$INPUT_DIR/top25.wpr \
               --js-flags="" \
               --with-chrome=$CHROME_SRC/out/Release/chrome \
               --sites-file=$INPUT_DIR/top25.json

4. Move results file to a subdirectory: `mkdir $VERSION_DIR; mv *.txt $VERSION_DIR`
5. Repeat from step 1 with a different configuration (e.g. `--js-flags="--nolazy"`).
6. Create the final results file: `./callstats.py json $VERSION_DIR1 $VERSION_DIR2 > result.json`
7. Use `results.json` on this site.

Page: |
Version: |  |
Time: |  | ± |  |  | ± |
Percent: |  | ± |  |  | ± |
Percent per Entry: |  |  |  |
Count: |  | ± |  |  | ± |
Overall Impact: |  | ± |  |  | ± |