Split benchmark into two different pages
[WebKit-https.git] / PerformanceTests / Animometer / developer.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <meta name="viewport" content="width=device-width, user-scalable=no">
5     <link rel="stylesheet" href="resources/runner/animometer.css">
6     <link rel="stylesheet" href="resources/debug-runner/animometer.css">
7     <script src="resources/strings.js"></script>
8     <script src="resources/sampler.js"></script>
9     <script src="resources/extensions.js" charset="utf-8"></script>
10
11     <script src="resources/runner/tests.js" charset="utf-8"></script>
12     <script src="resources/debug-runner/tests.js" charset="utf-8"></script>
13     <script src="resources/runner/animometer.js"></script>
14     <script src="resources/debug-runner/animometer.js"></script>
15
16     <script src="resources/debug-runner/benchmark-runner.js"></script>
17     <script src="resources/debug-runner/d3.min.js"></script>
18     <script src="resources/debug-runner/graph.js"></script>
19 </head>
20 <body>
21     <main>
22         <hr>
23         <section id="intro" class="selected">
24             <h1>Animometer</h1>
25             <div>
26                 <div id="suites">
27                     <h2>Suites:</h2>
28                     <ul class="tree"></ul>
29                 </div>
30                 <div id="options">
31                     <h2>Options:</h2>
32                     <form name="benchmark-options">
33                     <ul>
34                     <li>
35                         <label>Test length: <input type="number" id="test-interval" value="10"> seconds each</label>
36                     </li>
37                     <li>
38                         <h3>Display:</h3>
39                         <ul>
40                             <li><label><input name="display" type="radio" value="minimal" checked> Minimal</label></li>
41                             <li><label><input name="display" type="radio" value="progress-bar" checked> Progress bar</label></li>
42                         </ul>
43                     </li>
44                     <li>
45                         <h3>Adjusting the test complexity:</h3>
46                         <ul>
47                             <li><label><input name="adjustment" type="radio" value="fixed"> Keep constant</label></li>
48                             <li><label><input name="adjustment" type="radio" value="fixed-after-warmup"> Keep constant after warmup to target FPS</label></li>
49                             <li><label><input name="adjustment" type="radio" value="adaptive" checked> Maintain target FPS</label></li>
50                         </ul>
51                     </li>
52                     <li>
53                         <label>Target frame rate: <input type="number" id="frame-rate" value="50"> FPS</label>
54                     </li>
55                     <li>
56                         <label><input type="checkbox" id="estimated-frame-rate" checked> Filter frame rate calculation</label>
57                     </li>
58                     </ul>
59                     </form>
60                 </div>
61             </div>
62             <button onclick="benchmarkController.startBenchmark()">Start Test</button>
63         </section>
64         <section id="test-container">
65             <div id="running-test" class="frame-container"></div>
66             <div id="progress">
67                 <div id="progress-completed"></div>
68             </div>
69         </section>
70         <section id="results">
71             <h1>Animometer score</h1>
72             <p class="score"></p>
73             <div id="results-tables">
74                 <div>
75                     <table id="results-score"></table>
76                     <table id="results-data"></table>
77                 </div>
78                 <table id="results-header"></table>
79             </div>
80             <div id="results-json">
81                 JSON:
82                 <textarea rows=1 onclick="this.focus();this.select()" readonly></textarea>
83             </div>
84             <button onclick="benchmarkController.startBenchmark()">Test Again</button>
85             <p>'s': Select different data for copy/paste</p>
86         </section>
87         <section id="test-graph">
88             <header>
89                 <button onclick="benchmarkController.showResults()">&lt; Results</button>
90                 <h1>Graph:</h1>
91             </header>
92             <p class="score"></p>
93             <p class="mean"></p>
94             <div id="test-graph-data"></div>
95         </section>
96         <hr>
97     </main>
98 </body>
99 </html>