|
| 1 | +<!-- |
| 2 | + Copyright (C) 2015-2020 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>Warmup length: <input type="number" id="warmup-length" value="2000"> milliseconds</label> |
| 69 | + </li> |
| 70 | + <li> |
| 71 | + <label>Warmup frame count: <input type="number" id="warmup-frame-count" value="30"> frames</label> |
| 72 | + </li> |
| 73 | + <li> |
| 74 | + <label>First frame minimum length: <input type="number" id="first-frame-minimum-length" value="0"> ms</label> |
| 75 | + </li> |
| 76 | + <li> |
| 77 | + <label>Test length: <input type="number" id="test-interval" value="30"> seconds each</label> |
| 78 | + </li> |
| 79 | + <li> |
| 80 | + <h3>Display:</h3> |
| 81 | + <ul> |
| 82 | + <li><label><input name="display" type="radio" value="minimal" checked> Minimal</label></li> |
| 83 | + <li><label><input name="display" type="radio" value="progress-bar"> Progress bar</label></li> |
| 84 | + </ul> |
| 85 | + </li> |
| 86 | + <li> |
| 87 | + <h3>Tiles:</h3> |
| 88 | + <ul> |
| 89 | + <li><label><input name="tiles" type="radio" value="big" checked> Big tiles</label></li> |
| 90 | + <li><label><input name="tiles" type="radio" value="classic"> Classic tiles (512x512)</label></li> |
| 91 | + </ul> |
| 92 | + </li> |
| 93 | + <li> |
| 94 | + <h3>Adjusting the test complexity:</h3> |
| 95 | + <ul> |
| 96 | + <li><label><input name="controller" type="radio" value="ramp" checked> Ramp</label></li> |
| 97 | + <li><label><input name="controller" type="radio" value="fixed"> Keep at a fixed complexity</label></li> |
| 98 | + <li><label><input name="controller" type="radio" value="adaptive"> Maintain target FPS</label></li> |
| 99 | + </ul> |
| 100 | + </li> |
| 101 | + <li> |
| 102 | + <label>Target frame rate: <input type="number" id="frame-rate" value="50"> FPS</label> |
| 103 | + </li> |
| 104 | + <li> |
| 105 | + <h3>Time measurement method:</h3> |
| 106 | + <ul> |
| 107 | + <li><label><input name="time-measurement" type="radio" value="performance" checked> <code>performance.now()</code> (if available)</label></li> |
| 108 | + <li><label><input name="time-measurement" type="radio" value="raf"> <code>requestAnimationFrame()</code> timestamp</label></li> |
| 109 | + <li><label><input name="time-measurement" type="radio" value="date"> <code>Date.now()</code></label></li> |
| 110 | + </ul> |
| 111 | + </li> |
| 112 | + </ul> |
| 113 | + </form> |
| 114 | + </div> |
| 115 | + </div> |
| 116 | + <p>For accurate results, please take the browser window full screen, or rotate the device to landscape orientation.</p> |
| 117 | + <div class="start-benchmark"> |
| 118 | + <p class="hidden">Please rotate the device to orientation before starting.</p> |
| 119 | + <button id="run-benchmark" onclick="benchmarkController.startBenchmark()">Run benchmark</button> |
| 120 | + </div> |
| 121 | + </div> |
| 122 | + </section> |
| 123 | + |
| 124 | + <section id="test-container"> |
| 125 | + <div id="running-test" class="frame-container"></div> |
| 126 | + <div id="progress"> |
| 127 | + <div id="progress-completed"></div> |
| 128 | + </div> |
| 129 | + </section> |
| 130 | + |
| 131 | + <section id="results"> |
| 132 | + <div class="body"> |
| 133 | + <h1>MotionMark score</h1> |
| 134 | + <div class="detail"> |
| 135 | + <span class="small">on a small screen (phone)</span> |
| 136 | + <span class="medium">on a medium screen (laptop, tablet)</span> |
| 137 | + <span class="large">on a large screen (desktop)</span> |
| 138 | + </div> |
| 139 | + <div>version <span class="version"></span></div> |
| 140 | + <p class="score" onclick="benchmarkController.showDebugInfo()"></p> |
| 141 | + <p class="confidence"></p> |
| 142 | + <div id="results-tables" class="table-container"> |
| 143 | + <div> |
| 144 | + <table id="results-score"></table> |
| 145 | + <table id="results-data"></table> |
| 146 | + </div> |
| 147 | + <table id="results-header"></table> |
| 148 | + </div> |
| 149 | + <button onclick="benchmarkController.restartBenchmark()">Test Again</button> |
| 150 | + <p> |
| 151 | + 'j': Show JSON results<br/> |
| 152 | + 's': Select various results for copy/paste (use repeatedly to cycle) |
| 153 | + </p> |
| 154 | + </div> |
| 155 | + </section> |
| 156 | + <section id="test-graph"> |
| 157 | + <div class="body"> |
| 158 | + <header> |
| 159 | + <button onclick="benchmarkController.showResults()">< Results</button> |
| 160 | + <h1>Graph:</h1> |
| 161 | + <p class="score"></p> |
| 162 | + <p class="confidence"></p> |
| 163 | + </header> |
| 164 | + <nav> |
| 165 | + <form name="graph-type"> |
| 166 | + <ul> |
| 167 | + <li><label><input type="radio" name="graph-type" value="time"> Time graph</label></li> |
| 168 | + <li><label><input type="radio" name="graph-type" value="complexity" checked> Complexity graph</label></li> |
| 169 | + </ul> |
| 170 | + </form> |
| 171 | + <form name="time-graph-options"> |
| 172 | + <ul> |
| 173 | + <li><label><input type="checkbox" name="markers" checked> Markers</label> |
| 174 | + <span>time: <span class="time"></span></span></li> |
| 175 | + <li><label><input type="checkbox" name="averages" checked> Averages</label></li> |
| 176 | + <li><label><input type="checkbox" name="complexity" checked> Complexity</label> |
| 177 | + <span class="complexity"></span></li> |
| 178 | + <li><label><input type="checkbox" name="rawFPS" checked> Raw FPS</label> |
| 179 | + <span class="rawFPS"></span></li> |
| 180 | + <li><label><input type="checkbox" name="filteredFPS" checked> Filtered FPS</label> |
| 181 | + <span class="filteredFPS"></span></li> |
| 182 | + <li><label><input type="checkbox" name="regressions" checked> Regressions</label></li> |
| 183 | + </ul> |
| 184 | + </form> |
| 185 | + <form name="complexity-graph-options"> |
| 186 | + <ul class="series"> |
| 187 | + <li><label><input type="checkbox" name="series-raw" checked> Series raw</label></li> |
| 188 | + </ul> |
| 189 | + <ul> |
| 190 | + <li><label><input type="checkbox" name="regression-time-score"> Controller score</label></li> |
| 191 | + <li><label><input type="checkbox" name="bootstrap-score" checked> Bootstrap score and histogram</label></li> |
| 192 | + <li><label><input type="checkbox" name="complexity-regression-aggregate-raw" checked> Regression, series raw</label><span id="complexity-regression-aggregate-raw"></span></li> |
| 193 | + </ul> |
| 194 | + </form> |
| 195 | + </nav> |
| 196 | + <div id="test-graph-data"></div> |
| 197 | + </div> |
| 198 | + </section> |
| 199 | + </main> |
| 200 | +</body> |
| 201 | +</html> |
0 commit comments