| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <title>PEG.js Benchmark Suite</title> |
| 6 | <link rel="stylesheet" href="index.css"> |
| 7 | </head> |
| 8 | <body> |
| 9 | <h1>PEG.js Benchmark Suite</h1> |
| 10 | |
| 11 | <div id="options"> |
| 12 | <label for="run-count">Run each test</label> |
| 13 | <input type="text" id="run-count" value="10"> times |
| 14 | <input type="checkbox" id="cache"> |
| 15 | <label for="cache">Use results cache</label> |
| 16 | <label for="optimize">Optimize:</label> |
| 17 | <select id="optimize"> |
| 18 | <option value="speed">Speed</option> |
| 19 | <option value="size">Size</option> |
| 20 | </select> |
| 21 | <input type="button" id="run" value="Run"> |
| 22 | </div> |
| 23 | |
| 24 | <table id="results-table"> |
| 25 | <tr class="columns"> |
| 26 | <th>Test</th> |
| 27 | <th>Input Size</th> |
| 28 | <th>Average Parse Time</th> |
| 29 | <th>Average Parse Speed</th> |
| 30 | </tr> |
| 31 | <tr> |
| 32 | <td class="no-results" colspan="4">No results available yet.</td> |
| 33 | </tr> |
| 34 | </table> |
| 35 | |
| 36 | <script src="../browser/peg-0.10.0.js"></script> |
| 37 | <script src="vendor/jquery/jquery.js"></script> |
| 38 | <script src="vendor/jquery.scrollto/jquery.scrollTo.js"></script> |
| 39 | <script src="benchmarks.js"></script> |
| 40 | <script src="runner.js"></script> |
| 41 | <script src="index.js"></script> |
| 42 | </body> |
| 43 | </html> |