1 | <!DOCTYPE html>
|
2 | <html>
|
3 | <head>
|
4 | <title>Benchmark Source Maps</title>
|
5 | <meta charset="UTF-8" />
|
6 | <style>
|
7 | table {
|
8 | border-collapse: collapse;
|
9 | }
|
10 | td {
|
11 | border: 1px solid #ccc;
|
12 | padding: 1em;
|
13 | }
|
14 | thead td {
|
15 | font-weight: bold;
|
16 | }
|
17 | tbody td {
|
18 | font-family: monospace;
|
19 | text-align: right;
|
20 | }
|
21 | </style>
|
22 | </head>
|
23 | <body>
|
24 | <h1>Benchmark Source Maps</h1>
|
25 |
|
26 | <hr/>
|
27 |
|
28 | <button id="bench-consumer">
|
29 | <h2>Benchmark Parsing Source Maps</h2>
|
30 | </button>
|
31 | <div id="consumer-results"></div>
|
32 |
|
33 | <hr/>
|
34 |
|
35 | <button id="bench-generator">
|
36 | <h2>Benchmark Serializing Source Maps</h2>
|
37 | </button>
|
38 | <div id="generator-results"></div>
|
39 |
|
40 | <script src="scalajs-runtime-sourcemap.js"></script>
|
41 | <script src="stats.js"></script>
|
42 | <script src="../dist/source-map.js"></script>
|
43 | <script src="bench.js"></script>
|
44 | </body>
|
45 | </html>
|