REGRESSION (r236501?): Layout Test compositing/geometry/limit-layer-bounds-opacity...
[WebKit-https.git] / Websites / browserbench.org / MotionMark1.1 / developer.html
1 <!--
2   Copyright (C) 2015-2018 Apple Inc. All rights reserved.
3
4   Redistribution and use in source and binary forms, with or without
5   modification, are permitted provided that the following conditions
6   are met:
7   1. Redistributions of source code must retain the above copyright
8      notice, this list of conditions and the following disclaimer.
9   2. Redistributions in binary form must reproduce the above copyright
10      notice, this list of conditions and the following disclaimer in the
11      documentation and/or other materials provided with the distribution.
12
13   THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
14   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15   THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16   PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
17   BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
18   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
19   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
20   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
21   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
23   THE POSSIBILITY OF SUCH DAMAGE.
24 -->
25 <!DOCTYPE html>
26 <html>
27 <head>
28     <meta charset="utf-8">
29     <meta name="viewport" content="width=device-width, user-scalable=no">
30
31     <title>MotionMark developer</title>
32
33     <link rel="stylesheet" href="resources/runner/motionmark.css">
34     <link rel="stylesheet" href="resources/debug-runner/motionmark.css">
35
36     <script src="resources/strings.js"></script>
37     <script src="resources/extensions.js"></script>
38     <script src="resources/statistics.js"></script>
39
40     <script src="resources/runner/tests.js" charset="utf-8"></script>
41     <script src="resources/debug-runner/tests.js" charset="utf-8"></script>
42     <script src="resources/runner/motionmark.js"></script>
43     <script src="resources/debug-runner/motionmark.js" charset="utf-8"></script>
44
45     <script src="resources/runner/benchmark-runner.js"></script>
46     <script src="resources/debug-runner/d3.min.js"></script>
47     <script src="resources/debug-runner/graph.js" charset="utf-8"></script>
48 </head>
49 <body class="showing-intro">
50     <main>
51         <section id="intro" class="selected">
52             <header>
53                 <h1>MotionMark</h1>
54                 <h2>version <span class="version"></span></h2>
55             </header>
56             <div class="body">
57                 <div>
58                     <div id="suites">
59                         <h2>Suites:</h2>
60                         <ul class="tree"></ul>
61                         <div><span id="drop-target">Drop results here</span></div>
62                     </div>
63                     <div id="options">
64                         <h2>Options:</h2>
65                         <form name="benchmark-options">
66                             <ul>
67                                 <li>
68                                     <label>Test length: <input type="number" id="test-interval" value="30"> seconds each</label>
69                                 </li>
70                                 <li>
71                                     <h3>Display:</h3>
72                                     <ul>
73                                         <li><label><input name="display" type="radio" value="minimal" checked> Minimal</label></li>
74                                         <li><label><input name="display" type="radio" value="progress-bar"> Progress bar</label></li>
75                                     </ul>
76                                 </li>
77                                 <li>
78                                     <h3>Tiles:</h3>
79                                     <ul>
80                                         <li><label><input name="tiles" type="radio" value="big" checked> Big tiles</label></li>
81                                         <li><label><input name="tiles" type="radio" value="classic"> Classic tiles (512x512)</label></li>
82                                     </ul>
83                                 </li>
84                                 <li>
85                                     <h3>Adjusting the test complexity:</h3>
86                                     <ul>
87                                         <li><label><input name="controller" type="radio" value="ramp" checked> Ramp</label></li>
88                                         <li><label><input name="controller" type="radio" value="fixed"> Keep at a fixed complexity</label></li>
89                                         <li><label><input name="controller" type="radio" value="adaptive"> Maintain target FPS</label></li>
90                                     </ul>
91                                 </li>
92                                 <li>
93                                     <label>Target frame rate: <input type="number" id="frame-rate" value="50"> FPS</label>
94                                 </li>
95                                 <li>
96                                     <h3>Kalman filter estimated error:</h3>
97                                     <ul>
98                                         <li><label>Process error (Q): <input type="number" id="kalman-process-error" value="1"></label></li>
99                                         <li><label>Measurement error (R): <input type="number" id="kalman-measurement-error" value="4"></label></li>
100                                     </ul>
101                                 </li>
102                                 <li>
103                                     <h3>Time measurement method:</h3>
104                                     <ul>
105                                         <li><label><input name="time-measurement" type="radio" value="performance" checked> <code>performance.now()</code> (if available)</label></li>
106                                         <li><label><input name="time-measurement" type="radio" value="raf"> <code>requestAnimationFrame()</code> timestamp</label></li>
107                                         <li><label><input name="time-measurement" type="radio" value="date"> <code>Date.now()</code></label></li>
108                                     </ul>
109                                 </li>
110                             </ul>
111                         </form>
112                     </div>
113                 </div>
114                 <p>For accurate results, please take the browser window full screen, or rotate the device to landscape orientation.</p>
115                 <div class="start-benchmark">
116                     <p class="hidden">Please rotate the device to orientation before starting.</p>
117                     <button id="run-benchmark" onclick="benchmarkController.startBenchmark()">Run benchmark</button>
118                 </div>
119             </div>
120         </section>
121
122         <section id="test-container">
123             <div id="running-test" class="frame-container"></div>
124             <div id="progress">
125                 <div id="progress-completed"></div>
126             </div>
127         </section>
128
129         <section id="results">
130             <div class="body">
131                 <h1>MotionMark score</h1>
132                 <div class="detail">
133                     <span class="small">on a small screen (phone)</span>
134                     <span class="medium">on a medium screen (laptop, tablet)</span>
135                     <span class="large">on a large screen (desktop)</span>
136                 </div>
137                 <div>version <span class="version"></span></div>
138                 <p class="score" onclick="benchmarkController.showDebugInfo()"></p>
139                 <p class="confidence"></p>
140                 <div id="results-tables" class="table-container">
141                     <div>
142                         <table id="results-score"></table>
143                         <table id="results-data"></table>
144                     </div>
145                     <table id="results-header"></table>
146                 </div>
147                 <button onclick="benchmarkController.restartBenchmark()">Test Again</button>
148                 <p>
149                     'j': Show JSON results<br/>
150                     's': Select various results for copy/paste (use repeatedly to cycle)
151                 </p>
152             </div>
153         </section>
154         <section id="test-graph">
155             <div class="body">
156                 <header>
157                     <button onclick="benchmarkController.showResults()">&lt; Results</button>
158                     <h1>Graph:</h1>
159                     <p class="score"></p>
160                     <p class="confidence"></p>
161                 </header>
162                 <nav>
163                     <form name="graph-type">
164                         <ul>
165                             <li><label><input type="radio" name="graph-type" value="time"> Time graph</label></li>
166                             <li><label><input type="radio" name="graph-type" value="complexity" checked> Complexity graph</label></li>
167                         </ul>
168                     </form>
169                     <form name="time-graph-options">
170                         <ul>
171                             <li><label><input type="checkbox" name="markers" checked> Markers</label>
172                                 <span>time: <span class="time"></span></span></li>
173                             <li><label><input type="checkbox" name="averages" checked> Averages</label></li>
174                             <li><label><input type="checkbox" name="complexity" checked> Complexity</label>
175                                 <span class="complexity"></span></li>
176                             <li><label><input type="checkbox" name="rawFPS" checked> Raw FPS</label>
177                                 <span class="rawFPS"></span></li>
178                             <li><label><input type="checkbox" name="filteredFPS" checked> Filtered FPS</label>
179                                 <span class="filteredFPS"></span></li>
180                             <li><label><input type="checkbox" name="regressions" checked> Regressions</label></li>
181                         </ul>
182                     </form>
183                     <form name="complexity-graph-options">
184                         <ul class="series">
185                             <li><label><input type="checkbox" name="series-raw" checked> Series raw</label></li>
186                         </ul>
187                         <ul>
188                             <li><label><input type="checkbox" name="regression-time-score"> Controller score</label></li>
189                             <li><label><input type="checkbox" name="bootstrap-score" checked> Bootstrap score and histogram</label></li>
190                             <li><label><input type="checkbox" name="complexity-regression-aggregate-raw" checked> Regression, series raw</label><span id="complexity-regression-aggregate-raw"></span></li>
191                         </ul>
192                     </form>
193                 </nav>
194                 <div id="test-graph-data"></div>
195             </div>
196         </section>
197     </main>
198 </body>
199 </html>