Add the test runner for a new a graphics benchmark
[WebKit-https.git] / PerformanceTests / Animometer / runner / animometer.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <link rel="stylesheet" href="resources/animometer.css">
5     <script src="../resources/statistics.js" defer></script>
6     <script src="../resources/sampler.js" defer></script>
7     <script src="../resources/extensions.js" defer></script>
8     <script src="resources/tests.js" defer=""></script>
9     <script src="resources/benchmark-runner.js" defer></script>
10     <script src="resources/animometer.js" defer></script>
11     <script src="resources/d3.min.js" defer></script>
12     <script src="resources/graph.js" defer></script>
13 </head>
14 <body>
15     <main>
16         <section id="home" class="selected">
17             <p>
18                 Animometer is a browser benchmark that measures the complexity of an animation for
19                 which a browser can achieve 50 FPS (frame per second). It uses adaptive animations
20                 to tune their complexities to stay close to 50 FPS.
21             </p>
22             <div class="options">
23                 <div class="column">
24                     <label><input id="html-suite" type="checkbox" checked> HTML elements suite</label><br>
25                     <label><input id="canvas-suite" type="checkbox" checked> Canvas drawings suite</label><br>
26                     <label><input id="svg-suite" type="checkbox" checked> SVG elements suite</label><br>
27                     <label><input id="template-suite" type="checkbox"> Template suite</label>
28                 </div>
29                 <div>
30                     <label>Test interval: <input id="test-interval" type="number" value="30"> seconds</label><br>
31                     <label>Frame rate: <input id="frame-rate" type="number" value="50"> fps</label><br>
32                     <label><input id="estimated-frame-rate" type="checkbox" checked> Estimated Frame Rate</label><br>
33                     <label><input id="fix-test-complexity" type="checkbox"> Fix test complexity after warmup</label>
34                 </div>
35             </div>
36             <div class="buttons">
37                 <button onclick="startTest()">Start Test</button>
38             </div>
39         </section>
40         <section id="running">
41             <div id="testContainer"></div>
42             <div id="progress">
43                 <div id="progress-completed"></div>
44             </div>
45             <div id="record">
46                 <table class="record-table"></table>
47             </div>
48         </section>
49         <section id="results">
50             <h1>Results</h1>
51             <table class="results-table"></table>
52             <div class="buttons">
53                 <button onclick="startTest()">Test Again</button>
54             </div>
55         </section>  
56         <section id="graph">
57             <h1>Graph</h1>
58             <div id="graphContainer"></div>
59             <div class="buttons">
60                 <button onclick="showResults()">Results</button>
61                 <button onclick="startTest()">Test Again</button>        
62             </div>
63         </section>  
64     </main>
65 </body>
66 </html>