Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: chrome/test/data/third_party/spaceport/index.html

Issue 10154006: Add test data for spaceport benchmark. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <meta charset="utf8">
3 <title>HTML5 Game Benchmarks</title>
4 <meta name="viewport" content="width=device-width, initial-scale=1, user-scalabl e=yes">
5 <style>
6 .test .results {
7 display: none;
8 }
9
10 .test.pass .results, .test.fail .results {
11 display: block;
12 }
13
14 .test.pass .name {
15 font-weight: bold;
16 color: #008800;
17 }
18
19 .test.fail .name {
20 font-weight: bold;
21 color: #CC0000;
22 }
23
24 .test .error-message {
25 display: none;
26 }
27
28 .test.error {
29 font-weight: bold;
30 color: #FFFFFF;
31 background-color: #880000;
32 }
33
34 .test.error .error-message {
35 display: block;
36 }
37
38 table thead th, table tfoot th {
39 text-align: center;
40 font-weight: bold;
41 }
42
43 table tbody th {
44 text-align: left;
45 font-weight: bold;
46 }
47
48 table {
49 border-collapse: collapse;
50 }
51
52 table th, table td {
53 border: 2px solid #CCCCCC;
54 padding: 0.25em 0.5em;
55 }
56
57 #all-test-results {
58 width: 40em;
59 height: 20em;
60 }
61 </style>
62
63 <h1>HTML5 Game Benchmarks</h1>
64 <p>Basic benchmarks to measure HTML5 performance and support for game related fe atures.<p>
65
66 <h2>Performance Tests</h2>
67 <p style="display: none;"><button disabled id="start-performance-tests">Run Test s</button></p>
68
69 <p><label>Browser
70 <select id="ua-browser">
71 <option value="">Other...</option>
72
73 <optgroup label="Mobile">
74 <option>Android Browser</option>
75 <option>Blackberry Webkit</option>
76 <option>Google Chrome</option>
77 <option>Mobile Firefox 10</option>
78 <option>Mobile Google Chrome</option>
79 <option>Mobile IE8</option>
80 <option>Mobile IE9</option>
81 <option>Mobile Safari</option>
82 <option>Opera Mobile</option>
83 </optgroup>
84
85 <optgroup label="Desktop">
86 <option>Firefox 3.6</option>
87 <option>Firefox 4-8</option>
88 <option>Firefox 9</option>
89 <option>Firefox 10</option>
90 <option>Google Chrome</option>
91 <option>IE7</option>
92 <option>IE8</option>
93 <option>IE9</option>
94 <option>IE10</option>
95 <option>Opera 11.x</option>
96 <option>Safari</option>
97 </optgroup>
98 </select>
99 </label>
100 <input type="text" id="ua-browser-custom">
101 </p>
102
103 <p><label>Device name
104 <select id="ua-device-name">
105 <option value="">Other...</option>
106
107 <optgroup label="Android">
108 <option>Amazon Kindle Fire</option>
109 <option>Asus Eee Pad Transformer TF101</option>
110 <option>Asus Transformer Prime TF201</option>
111 <option>HTC EVO 4G</option>
112 <option>LG Optimus V</option>
113 <option>Motorola Droid 2</option>
114 <option>Motorola Droid</option>
115 <option>Motorola Droid RAZR XT910</option>
116 <option>Motorola Droid X / Shadow</option>
117 <option>Motorola XOOM</option>
118 <option>Samsung Droid Charge</option>
119 <option>Samsung Galaxy Fit</option>
120 <option>Samsung Galaxy Nexus</option>
121 <option>Samsung Galaxy S II (GT-I9100)</option>
122 <option>Samsung Galaxy Tab</option>
123 <option>Sony Ericsson Xperia PLAY</option>
124 <option>T-Mobile G2X</option>
125 <option>T-Mobile myTouch 4G Slide</option>
126 </optgroup>
127
128 <optgroup label="iOS">
129 <option>iPhone 3GS</option>
130 <option>iPhone 4</option>
131 <option>iPhone 4S</option>
132 <option>iPad</option>
133 <option>iPad 2</option>
134 <option>iPod Touch 4G</option>
135 </optgroup>
136
137 <optgroup label="Etc.">
138 <option>Blackberry Torch</option>
139 <option>Blackberry Playbook</option>
140 <option>HTC HD7S Windows Phone</option>
141 </optgroup>
142 </select>
143 </label>
144 <input type="text" id="ua-device-name-custom">
145 </p>
146
147 <p><label>OS
148 <select id="ua-os">
149 <option value="">Other...</option>
150
151 <optgroup label="Android">
152 <option>Android 2.2.2</option>
153 <option>Android 2.2.3</option>
154 <option>Android 2.3.3</option>
155 <option>Android 2.3.4</option>
156 <option>Android 2.3.5</option>
157 <option>Android 2.3.6</option>
158 <option>Android 3.2</option>
159 <option>Android 3.2.1</option>
160 <option>Android 3.2.4</option>
161 <option>Android 3.2.6</option>
162 <option>Android 4.0.2</option>
163 <option>Android 4.0.3</option>
164 </optgroup>
165
166 <optgroup label="iOS">
167 <option>iOS 4.2</option>
168 <option>iOS 4.3.2</option>
169 <option>iOS 4.3.3</option>
170 <option>iOS 4.3.5</option>
171 <option>iOS 5.0.1</option>
172
173 </optgroup>
174
175 <optgroup label="Other Mobile">
176 <option>Windows Phone 7.5</option>
177 <option>Blackberry Playbook 1.0.8.6067</option>
178 <option>Blackberry 7.0.0.261</option>
179 </optgroup>
180
181 <optgroup label="Desktop">
182 <option>Windows 7</option>
183 </optgroup>
184 </select>
185 </label>
186 <input type="text" id="ua-os-custom">
187 </p>
188
189 <p><label>Device type
190 <select id="ua-type">
191 <option>Phone</option>
192 <option>Tablet</option>
193 <option>Laptop</option>
194 <option>Desktop</option>
195 </select>
196 </p>
197
198 <p><label>Other data <input type="text" id="ua-misc"></label></p>
199
200 <p><button disabled id="upload-performance-tests">Run Tests and Upload Results</ button></p>
201
202 <ul>
203 <li id="performance-sprites"><span class="name">Sprites</span>
204 <div id="performance-sprites-placeholder"></div>
205 <li id="performance-audioLatency" class="test"><span class="name">Audio latency< /span>
206 <ul class="results">
207 <li>Cold play latency: <span data-property="coldLatency"></span>ms
208 <li>Warm play latency: <span data-property="warmLatency"></span>ms
209 </ul>
210 <li id="performance-text"><span class="name">Canvas text</span>
211 <div id="performance-text-placeholder"></div>
212 </ul>
213
214 <h2>Test Result Data</h2>
215 <textarea id="all-test-results"></textarea>
216
217 <script>
218 Object.keys = function keys(object) {
219 // Quick shim; doesn't handle IE bugs
220 var keys = [ ];
221 var key;
222 for (key in object) {
223 if (Object.prototype.hasOwnProperty.call(object, key)) {
224 keys.push(key);
225 }
226 }
227 return keys;
228 };
229
230 (function () {
231 var onLoadFunctions = [ ];
232 var loaded = false;
233
234 function registerOnLoad(fn) {
235 if (loaded) {
236 setTimeout(fn, 0);
237 } else {
238 onLoadFunctions.push(fn);
239 }
240 }
241
242 window.addEventListener('load', function () {
243 loaded = true;
244 while (onLoadFunctions.length) {
245 var fn = onLoadFunctions.shift();
246 setTimeout(fn, 0);
247 }
248 }, false);
249
250 window.registerOnLoad = registerOnLoad;
251 }());
252 </script>
253
254 <script src="js/curl.js"></script>
255 <script>curl({ baseUrl: 'js' }, [ 'index' ]);</script>
OLDNEW
« no previous file with comments | « chrome/test/data/third_party/spaceport/bin/json2csv.js ('k') | chrome/test/data/third_party/spaceport/js/Modernizr.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698