| 1 |
Summary |
| 2 |
~~~~~~~ |
| 3 |
|
| 4 |
Methanol is JavaScript based browser page load benchmark. |
| 5 |
|
| 6 |
|
| 7 |
File information |
| 8 |
~~~~~~~~~~~~~~~~ |
| 9 |
|
| 10 |
README |
| 11 |
- This file. |
| 12 |
|
| 13 |
VERSION |
| 14 |
- Version information file. |
| 15 |
|
| 16 |
engine.js |
| 17 |
- Contains the necessary JavaScript functions for Methanol. |
| 18 |
|
| 19 |
fire-smp.html |
| 20 |
- Starts SMP benchmark suite. |
| 21 |
|
| 22 |
fire-svg.html |
| 23 |
- Starts SVG benchmark suite. |
| 24 |
|
| 25 |
fire.html |
| 26 |
- Starts standard benchmark suite. By default it uses pages defined in sample.js. |
| 27 |
|
| 28 |
intoxicate.js |
| 29 |
- This file needs to be included into index.html of every test sites. |
| 30 |
- <script src="PATH/intoxicate.js"></script> |
| 31 |
- src have to point to intoxicate.js |
| 32 |
|
| 33 |
results.html |
| 34 |
- Blank html page, it necessary when you require results into the url bar. |
| 35 |
|
| 36 |
sample/ |
| 37 |
- Sample directory of sites to be benchmarked. |
| 38 |
|
| 39 |
sample.js |
| 40 |
- Sample js file that contains the references in an array to the sites. |
| 41 |
|
| 42 |
smp/ |
| 43 |
- Directory of SMP test pages. |
| 44 |
|
| 45 |
smp.js |
| 46 |
- Contains the references to the SMP test pages. |
| 47 |
|
| 48 |
svg/ |
| 49 |
- Directory of SVG test pages. |
| 50 |
|
| 51 |
svg.js |
| 52 |
- Contains the references to the SVG test pages. |
| 53 |
|
| 54 |
|
| 55 |
Behavior modifier options for the engine |
| 56 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 57 |
|
| 58 |
iter=NUMBER |
| 59 |
- set Methanol how many times have to load each page |
| 60 |
- default value: 10 |
| 61 |
|
| 62 |
skipped=NUMBER |
| 63 |
- set the number of dropped (warm up) iterations, these iterations won't be counted in results |
| 64 |
- notice: the first run will fill caches with e.g. images, css, js |
| 65 |
- default value: 2 |
| 66 |
|
| 67 |
syncStart=1/0 |
| 68 |
- 1 = true, 0 = false |
| 69 |
- provide a synchronized start for two or more simultaneously started Methanols |
| 70 |
- notice: useful for benchmarking more simultaneously running Methanol in separate processes or in |
| 71 |
separate browser-tabs, browser-windows |
| 72 |
- default value: 0 |
| 73 |
|
| 74 |
reportToUrl=1/0 |
| 75 |
- 1 = true, 0 = false |
| 76 |
- report results into the url bar |
| 77 |
- shows the results when Methanol finished and redirects the page to results.html and fill the |
| 78 |
url bar with the results after results.html |
| 79 |
- default value: 0 |
| 80 |
|
| 81 |
Usage example: |
| 82 |
|
| 83 |
- fire.html?iter=6&skipped=1&synchStart=0&reportToUrl=1 |
| 84 |
|
| 85 |
|
| 86 |
Suggested usage with QtWebKit's QtTestBrowser or MiniBrowser |
| 87 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 88 |
|
| 89 |
Start the testbrowser with -print-loaded-urls option, when Methanol finished the running the |
| 90 |
results will be printed to the shell's standard output, so you can parse it for further utilization and |
| 91 |
automatization purposes. |