Akron | 7524be1 | 2016-06-01 17:31:33 +0200 | [diff] [blame^] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <title>Benchmark Runner for Kalamar</title> |
| 6 | <script src="../lib/lodash.js" async="async"></script> |
| 7 | <script src="../lib/platform.js" async="async"></script> |
| 8 | <script src="../lib/benchmark.js"></script> |
| 9 | <script src="../lib/require.js"></script> |
| 10 | </head> |
| 11 | <body> |
| 12 | <textarea style="width: 100%; height: 200px"> |
| 13 | (Comparation ndiewald) |
| 14 | Menu#creation x 594 ops/sec ±9.90% (11 runs sampled) |
| 15 | Menu#next x 21,517 ops/sec ±11.64% (14 runs sampled) |
| 16 | Menu#prev x 15,666 ops/sec ±9.61% (11 runs sampled) |
| 17 | Menu#paging x 5,005 ops/sec ±1.59% (13 runs sampled) |
| 18 | Menu#prefix x 952 ops/sec ±14.86% (13 runs sampled) |
| 19 | </textarea> |
| 20 | </body> |
| 21 | <script> |
| 22 | require.config({ |
| 23 | baseUrl: "../src", |
| 24 | paths: { |
| 25 | "lib" : "../lib", |
| 26 | "bench" : "../bench" |
| 27 | } |
| 28 | }); |
| 29 | |
| 30 | require([ |
| 31 | 'lib/domReady!', |
| 32 | 'menu', |
| 33 | 'bench/benchmark' |
| 34 | ],function (undefined, menuClass, benchObj) { |
| 35 | console.log("start"); |
| 36 | benchObj.menuSuite(menuClass).run(); |
| 37 | console.log("end"); |
| 38 | }); |
| 39 | |
| 40 | </script> |
| 41 | |
| 42 | |
| 43 | </html> |