1 | <!doctype html>
|
2 | <html>
|
3 | <head>
|
4 | <script type="text/javascript" src="../src/lokijs.js"></script>
|
5 | <script type="text/javascript" src="./benchmark_web.js"></script>
|
6 | </head>
|
7 | <body>
|
8 | <h2>Loki browser benchmark</h2>
|
9 |
|
10 | <p>Practical browser benchmark to guage performance across
|
11 | various browser environments. Chrome is by far the fastest browser
|
12 | environment for loki.</p>
|
13 |
|
14 | <p><b>Close console (if visible) and press start. Results will display in page when done.</b></p>
|
15 | <br/>
|
16 | <button onclick="start()">Start</button>
|
17 | <p id="waitMessage" style="display:none"><i>This may take a minute please wait...</i></p>
|
18 | <br/>
|
19 |
|
20 | <div id="output"></div>
|
21 |
|
22 | <script>
|
23 | function start() {
|
24 | document.getElementById("waitMessage").style.display = "";
|
25 |
|
26 | setTimeout(function() {
|
27 | startBenchmark(document.getElementById("output"));
|
28 | }, 100);
|
29 | }
|
30 | </script>
|
31 | </body>
|
32 | </html> |
\ | No newline at end of file |