Add an option to make the graphics benchmark runs a specific test
[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/strings.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 id="suites" class="column">
24                 <p>
25                     <label><input type="checkbox" id="toggleTests"> Show individual tests</label>
26                 </p>
27                 Suites:<br>
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><br>
34                     <label><input id="show-running-results" type="checkbox"> Show running results</label>
35                 </div>
36             </div>
37             <div class="buttons">
38                 <button onclick="startTest()">Start Test</button>
39             </div>
40         </section>
41         <section id="running">
42             <div id="testContainer"></div>
43             <div id="progress">
44                 <div id="progress-completed"></div>
45             </div>
46             <div id="record">
47                 <table class="record-table"></table>
48             </div>
49         </section>
50         <section id="results">
51             <h1>Results:</h1>
52             <table class="results-table"></table>
53             <div class="buttons">
54                 <button onclick="showJson()">JSON</button>
55                 <button onclick="startTest()">Test Again</button>
56             </div>
57         </section>  
58         <section id="json">
59             <h1>JSON:</h1>
60             <textarea class="results-json"></textarea>
61             <div class="buttons">
62                 <button onclick="showResults()">Results</button>
63                 <button onclick="startTest()">Test Again</button>
64             </div>
65         </section>  
66         <section id="test-graph">
67             <h1>Graph:</h1>
68             <div id="graphContainer"></div>
69             <div class="buttons">
70                 <button onclick="showResults()">Results</button>
71                 <button onclick="startTest()">Test Again</button>        
72             </div>
73         </section>  
74         <section id="test-json">
75             <h1>JSON:</h1>
76             <textarea class="results-json"></textarea>
77             <div class="buttons">
78                 <button onclick="showResults()">Results</button>
79                 <button onclick="startTest()">Test Again</button>        
80             </div>
81         </section>  
82     </main>
83 </body>
84 </html>