Add a ES6 generator benchmark
[WebKit-https.git] / PerformanceTests / Basic / test.html
1 <html>
2 <head>
3 <title>Basic</title>
4 <script src="ast.js"></script>
5 <script src="basic.js"></script>
6 <script src="caseless_map.js"></script>
7 <script src="lexer.js"></script>
8 <script src="number.js"></script>
9 <script src="parser.js"></script>
10 <script src="random.js"></script>
11 <script src="state.js"></script>
12 <script src="util.js"></script>
13 <script src="benchmark.js"></script>
14 <script>
15     function runTest() {
16         try {
17             var result = runBenchmark();
18             document.getElementById("result-summary").innerHTML = "That took " + result + " ms.";
19         } catch (e) {
20             document.getElementById("result-summary").innerHTML = "Failed: " + e;
21         }
22     }
23 </script>
24 </head>
25 <body>
26 <h1>Basic</h1>
27 <p>
28   <div id="result-summary"></div>
29   <div><a href="javascript:runTest()">Start Test</a></div>
30 </p>
31 </body>
32 </html>
33
34