9fa3a0a58a31975da3727880ada2aa4dadd13a40
[WebKit-https.git] / PerformanceTests / Animometer / developer.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <title>Animometer - developer</title>
5     <meta name="viewport" content="width=device-width, user-scalable=no">
6     <link rel="stylesheet" href="resources/runner/animometer.css">
7     <link rel="stylesheet" href="resources/debug-runner/animometer.css">
8     <script src="resources/strings.js"></script>
9     <script src="resources/extensions.js"></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" charset="utf-8"></script>
14     <script src="resources/debug-runner/animometer.js"></script>
15
16     <script src="resources/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                 <button class="small-button" onclick="benchmarkController.showJSONResults()">JSON results</button>
82                 <div class="hidden">
83                     JSON:
84                     <textarea rows=1 onclick="this.focus();this.select()" readonly></textarea>
85                 </div>
86             </div>
87             <button onclick="benchmarkController.startBenchmark()">Test Again</button>
88             <p>'s': Select different data for copy/paste</p>
89         </section>
90         <section id="test-graph">
91             <header>
92                 <button onclick="benchmarkController.showResults()">&lt; Results</button>
93                 <h1>Graph:</h1>
94             </header>
95             <nav>
96                 <form name="graph-options">
97                     <ul>
98                         <li><label><input type="checkbox" name="markers" checked> Markers</label>
99                             <span>time: <span class="time"></span></span></li>
100                         <li><label><input type="checkbox" name="averages" checked> Averages</label></li>
101                         <li><label><input type="checkbox" name="complexity" checked> Complexity</label>
102                             <span class="complexity"></span></li>
103                         <li><label><input type="checkbox" name="rawFPS"> Raw FPS</label>
104                             <span class="rawFPS"></span></li>
105                         <li><label><input type="checkbox" name="filteredFPS" checked> Filtered FPS</label>
106                             <span class="filteredFPS"></span></li>
107                         <li><label><input type="checkbox" name="intervalFPS"> Average FPS per sample interval</label>
108                             <span class="intervalFPS"></span></li>
109                     </ul>
110                 </form>
111             </nav>
112             <p class="score"></p>
113             <p class="mean"></p>
114             <div id="test-graph-data"></div>
115         </section>
116         <hr>
117     </main>
118 </body>
119 </html>