Add a version number to ARES-6
[WebKit-https.git] / PerformanceTests / ChangeLog
1 2017-06-06  Saam Barati  <sbarati@apple.com>
2
3         Add a version number to ARES-6
4         https://bugs.webkit.org/show_bug.cgi?id=172962
5
6         Reviewed by Yusuke Suzuki.
7
8         * ARES-6/glue.js:
9         (driver.reportResult):
10
11 2017-06-01  Saam Barati  <sbarati@apple.com>
12
13         Ensure a good experience for ARES-6 error reporting
14         https://bugs.webkit.org/show_bug.cgi?id=171699
15
16         Reviewed by Filip Pizlo and Jon Davis.
17
18         This patch fixes a bug where we would silently fail running ARES-6. The bug
19         was that we were calling reportError with the wrong |this| value.
20         I also cleaned up a bit of the code around error reporting. We
21         now indicate which test failed, and update the status to reflect
22         that a failure happened.
23         
24         This patch also modifies the CSS a bit to work better on smaller
25         screened devices. The CSS prevents the status from having a line
26         break both when an error is reported and when we're running the 
27         benchmark.
28
29         * ARES-6/driver.js:
30         (Driver):
31         (Driver.prototype.reportError):
32         * ARES-6/results.js:
33         (Results.prototype.reportError):
34         (Results):
35         * ARES-6/styles.css:
36         (.start):
37         (#status):
38         (.failed):
39         (#status.failed):
40         (.test .failed:before):
41         (#magic):
42         (@media only screen and (max-width: 784px)):
43         (.test):
44         (p):
45         (@media only screen and (max-width: 320px)):
46
47 2017-05-19  Ryosuke Niwa  <rniwa@webkit.org>
48
49         REGRESSION(r217118): Speedometer 2.0: Flight.js test is broken
50         https://bugs.webkit.org/show_bug.cgi?id=172394
51
52         Reviewed by Chris Dumez.
53
54         Fixed the bug that we were never clearing window.checkLoadedTimeoutId.
55
56         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs/require.js:
57         (newContext.checkLoaded):
58
59 2017-05-19  Yusuke Suzuki  <utatane.tea@gmail.com>
60
61         Add SixSpeed benchmark to PerformanceTests
62         https://bugs.webkit.org/show_bug.cgi?id=172326
63
64         Reviewed by Sam Weinig.
65
66         This patch imports SixSpeed benchmark into WebKit tree.
67         It is a collection of ES6 microbenchmarks. While the scripts are very tiny,
68         it sometimes hits our missing care for optimization. So including it is useful.
69
70         The benchmark is released under MIT license.
71
72         * SixSpeed/LICENSE: Added.
73         * SixSpeed/REVISION: Added.
74         * SixSpeed/ReadMe.md: Added.
75         * SixSpeed/tests/.eslintrc: Added.
76         * SixSpeed/tests/arrow-args/arrow-args.es5: Added.
77         * SixSpeed/tests/arrow-args/arrow-args.es6: Added.
78         * SixSpeed/tests/arrow-declare/arrow-declare.es5: Added.
79         * SixSpeed/tests/arrow-declare/arrow-declare.es6: Added.
80         * SixSpeed/tests/arrow/arrow.es5: Added.
81         * SixSpeed/tests/arrow/arrow.es6: Added.
82         * SixSpeed/tests/bindings-compound/bindings-compound.es5: Added.
83         * SixSpeed/tests/bindings-compound/bindings-compound.es6: Added.
84         * SixSpeed/tests/bindings/bindings.es5: Added.
85         * SixSpeed/tests/bindings/bindings.es6: Added.
86         * SixSpeed/tests/classes/classes.es5: Added.
87         * SixSpeed/tests/classes/classes.es6: Added.
88         * SixSpeed/tests/defaults/defaults.es5: Added.
89         * SixSpeed/tests/defaults/defaults.es6: Added.
90         * SixSpeed/tests/destructuring-simple/destructuring-simple.es5: Added.
91         * SixSpeed/tests/destructuring-simple/destructuring-simple.es6: Added.
92         * SixSpeed/tests/destructuring/destructuring.es5: Added.
93         * SixSpeed/tests/destructuring/destructuring.es6: Added.
94         * SixSpeed/tests/for-of-array/for-of-array.es5: Added.
95         * SixSpeed/tests/for-of-array/for-of-array.es6: Added.
96         * SixSpeed/tests/for-of-object/for-of-object.es5: Added.
97         * SixSpeed/tests/for-of-object/for-of-object.es6: Added.
98         * SixSpeed/tests/generator/generator.es5: Added.
99         * SixSpeed/tests/generator/generator.es6: Added.
100         * SixSpeed/tests/map-set-lookup/map-set-lookup.es5: Added.
101         * SixSpeed/tests/map-set-lookup/map-set-lookup.es6: Added.
102         * SixSpeed/tests/map-set-object/map-set-object.es5: Added.
103         * SixSpeed/tests/map-set-object/map-set-object.es6: Added.
104         * SixSpeed/tests/map-set/map-set.es5: Added.
105         * SixSpeed/tests/map-set/map-set.es6: Added.
106         * SixSpeed/tests/map-string/map-string.es5: Added.
107         * SixSpeed/tests/map-string/map-string.es6: Added.
108         * SixSpeed/tests/new-target/defaults.es5: Added.
109         * SixSpeed/tests/new-target/defaults.es6: Added.
110         * SixSpeed/tests/object-assign/object-assign.es5: Added.
111         * SixSpeed/tests/object-assign/object-assign.es6: Added.
112         * SixSpeed/tests/object-literal-ext/object-literal-ext.es5: Added.
113         * SixSpeed/tests/object-literal-ext/object-literal-ext.es6: Added.
114         * SixSpeed/tests/regex-u/regex-u.es5: Added.
115         * SixSpeed/tests/regex-u/regex-u.es6: Added.
116         * SixSpeed/tests/rest/rest.es5: Added.
117         * SixSpeed/tests/rest/rest.es6: Added.
118         * SixSpeed/tests/spread-generator/spread-generator.es5: Added.
119         * SixSpeed/tests/spread-generator/spread-generator.es6: Added.
120         * SixSpeed/tests/spread-literal/spread-literal.es5: Added.
121         * SixSpeed/tests/spread-literal/spread-literal.es6: Added.
122         * SixSpeed/tests/spread/spread.es5: Added.
123         * SixSpeed/tests/spread/spread.es6: Added.
124         * SixSpeed/tests/super/super.es5: Added.
125         * SixSpeed/tests/super/super.es6: Added.
126         * SixSpeed/tests/template_string/template_string.es5: Added.
127         * SixSpeed/tests/template_string/template_string.es6: Added.
128         * SixSpeed/tests/template_string_tag/template_string_tag.es5: Added.
129         * SixSpeed/tests/template_string_tag/template_string_tag.es6: Added.
130         * SixSpeed/wrappers/wrapper.js:
131         (test):
132
133 2017-05-19  Ryosuke Niwa  <rniwa@webkit.org>
134
135         Speedometer 2.0: Angular v1 test only deletes the second item
136         https://bugs.webkit.org/show_bug.cgi?id=172353
137
138         Reviewed by Antti Koivisto.
139
140         Like jQuery and Inferno, run querySelector after removing each todo item.
141
142         * Speedometer/InteractiveRunner.html: Tweaked CSS again.
143         * Speedometer/resources/tests.js:
144
145 2017-05-19  Ryosuke Niwa  <rniwa@webkit.org>
146
147         Speedometer 2.0: Elem test isn't updating DOM during the measurement
148         https://bugs.webkit.org/show_bug.cgi?id=172343
149
150         Reviewed by Antti Koivisto.
151
152         Elem test wasn't doing much work because it simply enqueues items into the work queue, which doesn't get
153         executed until the next requestAnimationFrame or setTimeout callback happens.
154
155         Expose elm's work function as contentWindow.elemWork and make the first use of rAF a synchronous callback
156         just as it would when requestAnimationFrame isn't defined, and make the second use of rAF queue up to
157         an array of callbacks, and have the test runner manually invoke each callback.
158
159         This increases the runtime of the Elm suite from 100ms to 300ms on Safari.
160
161         * Speedometer/resources/tests.js:
162         (processElmWorkQueue): Added. A helper which processes Elm's work queue and manually invokes render callbacks.
163         * Speedometer/resources/todomvc/functional-prog-examples/elm/dist/elm.js:
164
165 2017-05-18  Ryosuke Niwa  <rniwa@webkit.org>
166
167         Speedometer 2.0: Flight.js test is sometime broken
168         https://bugs.webkit.org/show_bug.cgi?id=172347
169
170         Reviewed by Antti Koivisto.
171
172         The bug was caused by the test runner only waiting for #new-todo, which happens before all other states are
173         updated in the Flight.js dependency example. As done in Speedometer v1, insert a dummy element with id set
174         to appIsReady and wait for this element to appear in the benchmark harness.
175
176         * Speedometer/resources/tests.js: Wait for #appIsReady.
177         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/main.js: Removed the superflous call
178         to console.log.
179         (checkReady): Added. Insert #appIsReady if checkLoaded is no longer running at 50ms interval. Because this
180         could happen asynchronously, we check the absense of checkLoadedTimeoutId Î©every 10ms for 5 times for
181         the total duration of 50ms. If checkLoadedTimeoutId was never present, we call it ready. If we ever observed
182         the presence of checkLoadedTimeoutId, wait another 50ms and start over.
183         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs/require.js:
184         (.newContext.checkLoaded): Expose checkLoadedTimeoutId which is a timer ID used to check the dependency.
185
186 2017-05-19  Ryosuke Niwa  <rniwa@webkit.org>
187
188         Speedometer 2.0: jQuery and Inferno tests don't delete all ToDo items
189         https://bugs.webkit.org/show_bug.cgi?id=172341
190
191         Reviewed by Antti Koivisto.
192
193         The bug was caused by the fact TodoMVC examples for jQuery and Inferno JS create a new button
194         to delete the todo item each time todo items are rendered.
195
196         Fixed the bug by dynamically look for .destroy using querySelector for each item.
197
198         Also moved the deletion of the iframe from the end of each test suite to the beginning of each suite.
199         This will make debugging the issue like this easier on InteractiveRunner.html since the iframe
200         will stick around after stepping the last item in the suite.
201
202         * Speedometer/InteractiveRunner.html: Tweaked the CSS to make buttons to "Step" and "Run" always visible
203         even if the list of suites and subtests are too long to fit in the viewport.
204
205         * Speedometer/resources/benchmark-runner.js:
206         (BenchmarkRunner.prototype.step):
207         (BenchmarkRunner.prototype._runTestAndRecordResults):
208
209         * Speedometer/resources/tests.js: Fixed the bug for jQuery and Inferno. In the case of jQuery
210         we also have to fix the code for checking every ToDo item as completed as well.
211
212 2017-05-19  Ryosuke Niwa  <rniwa@webkit.org>
213
214         Speedometer 2.0: Vanilla JS test doesn't mark all todo items as completed
215         https://bugs.webkit.org/show_bug.cgi?id=172348
216
217         Reviewed by Antti Koivisto.
218
219         The bug was caused by the in-memory store class using the milisecond precision timestamp as an ID.
220         Because we inserts 50 items all at once, this can result in multiple data items sharing a single ID.
221
222         Fixed the bug by using a mononotically increasing ID instead.
223
224         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/js/store.js:
225         (Store.prototype.save):
226
227 2017-05-18  Ryosuke Niwa  <rniwa@webkit.org>
228
229         REGRESSION (r216694 - 216712): Performance test Speedometer/Full.html is failing
230         https://bugs.webkit.org/show_bug.cgi?id=172077
231
232         Reviewed by Chris Dumez.
233
234         Rename Full.html to index.html to match the convention of other benchmarks.
235
236         * Speedometer/index.html: Renamed from PerformanceTests/Speedometer/Full.html.
237
238 2017-05-18  Addy Osmani  <addyosmani@gmail.com>
239
240         Speedometer: check-in missing React TodoMVC dependency
241         https://bugs.webkit.org/show_bug.cgi?id=172213
242
243         Reviewed by Ryosuke Niwa.
244
245         * Speedometer/resources/todomvc/architecture-examples/react/index.html: fix director.min.js path.
246         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/director/director.min.js: Added.
247
248 2017-05-17  Addy Osmani  <addyosmani@gmail.com>
249
250         Speedometer: adjust Ember TodoMVC to use full path
251         https://bugs.webkit.org/show_bug.cgi?id=172211
252
253         Reviewed by Ryosuke Niwa.
254
255         * Speedometer/resources/tests.js: use full path to Ember TodoMVC app.
256
257 2017-05-16  Addy Osmani  <addyosmani@gmail.com>
258
259         Update to Speedometer 2.0 w/updated frameworks + new workloads
260         https://bugs.webkit.org/show_bug.cgi?id=170513
261
262         Reviewed by Ryosuke Niwa.
263
264         Refresh test runner and fix apps to work with it.
265
266         * Speedometer/InteractiveRunner.html:
267         (parseQueryString): Adds support for startAutomatically query parameter.
268         * Speedometer/resources/tests.js:
269         (triggerEnter): Refactor event triggering behavior for tests.
270         * Speedometer/resources/todomvc/architecture-examples/angular/dist/index.html:
271         (CSS): Drop reference to extraneous stylesheet in Angular TodoMVC.
272         * Speedometer/resources/todomvc/architecture-examples/emberjs/assets/todomvc.js:
273         * Speedometer/resources/todomvc/architecture-examples/emberjs/index.html:
274         (base): Enable Ember TodoMVC to be run from any directory/level.
275         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/services/memory.js:
276         (localStorageMemory): Correct import path and switch to window.localStorageMemory to fix Ember failures.
277         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/services/repo.js:
278         * Speedometer/resources/todomvc/architecture-examples/emberjs/tests/index.html:
279         * Speedometer/resources/todomvc/architecture-examples/jquery/index.html:
280         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/director/LICENSE: Added.
281         (LICENSE): Add missing metadata and LICENSE files as part of director.js package for jQuery TodoMVC
282         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/director/bower.json: Added.
283         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/director/dist/director.js: Add missing 
284         director.js dependency for jQuery TodoMVC implementation.
285         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/director/dist/director.min.js: Added.
286         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/director/dist/ender.js: Added.
287         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/director/package.json: Added.
288         * Speedometer/resources/todomvc/functional-prog-examples/elm/index.html: Fix path to built Elm TodoMVC scripts.
289
290 2017-05-12  Addy Osmani  <addyosmani@gmail.com>
291
292         Speedometer: Add a React.js TodoMVC implementation
293         https://bugs.webkit.org/show_bug.cgi?id=171444
294
295         Reviewed by Ryosuke Niwa.
296
297         Adds a more recent React.js TodoMVC implemenation to Speedometer
298
299         * Speedometer/resources/todomvc/architecture-examples/react/build.min.js: Added.
300         * Speedometer/resources/todomvc/architecture-examples/react/index.html: Added.
301         * Speedometer/resources/todomvc/architecture-examples/react/js/app.jsx: Added.
302         * Speedometer/resources/todomvc/architecture-examples/react/license.md: Added.
303         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/classnames/LICENSE: Added.
304         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/classnames/bind.js: Added.
305         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/classnames/bower.json: Added.
306         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/classnames/dedupe.js: Added.
307         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/classnames/index.js: Added.
308         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/classnames/package.json: Added.
309         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/director/LICENSE: Added.
310         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/director/bower.json: Added.
311         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/director/package.json: Added.
312         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/react-dom/LICENSE: Added.
313         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/react-dom/dist/react-dom-server.min.js: Added.
314         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/react-dom/dist/react-dom.min.js: Added.
315         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/react-dom/index.js: Added.
316         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/react/LICENSE: Added.
317         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/react/README.md: Added.
318         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/react/dist/react-with-addons.min.js: Added.
319         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/react/dist/react.min.js: Added.
320         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/react/package.json: Added.
321         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/todomvc-app-css/index.css: Added.
322         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/todomvc-common/base.css: Added.
323         * Speedometer/resources/todomvc/architecture-examples/react/node_modules/todomvc-common/base.js: Added.
324         * Speedometer/resources/todomvc/architecture-examples/react/npm-shrinkwrap.json: Added.
325         * Speedometer/resources/todomvc/architecture-examples/react/package.json: Added.
326         * Speedometer/resources/todomvc/architecture-examples/react/yarn.lock: Added.
327
328 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
329
330         Speedometer: Update the Ember.js TodoMVC to a more recent version
331         https://bugs.webkit.org/show_bug.cgi?id=171342
332
333         Reviewed by Ryosuke Niwa.
334
335         Update the Ember TodoMVC app in Speedometer to latest
336
337         * Speedometer/resources/todomvc/architecture-examples/emberjs/assets/todomvc.css: Added.
338         * Speedometer/resources/todomvc/architecture-examples/emberjs/assets/todomvc.js: Added.
339         * Speedometer/resources/todomvc/architecture-examples/emberjs/assets/vendor.css: Renamed from PerformanceTests/Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.css.
340         * Speedometer/resources/todomvc/architecture-examples/emberjs/assets/vendor.js: Added.
341         * Speedometer/resources/todomvc/architecture-examples/emberjs/bower.json: Removed.
342         * Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/ember-data/ember-data.js: Removed.
343         * Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter/localstorage_adapter.js: Removed.
344         * Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/ember/ember.js: Removed.
345         * Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js: Removed.
346         * Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/jquery/jquery.js: Removed.
347         * Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.js: Removed.
348         * Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/bg.png: Removed.
349         * Speedometer/resources/todomvc/architecture-examples/emberjs/crossdomain.xml: Added.
350         * Speedometer/resources/todomvc/architecture-examples/emberjs/index.html:
351         * Speedometer/resources/todomvc/architecture-examples/emberjs/js/app.js: Removed.
352         * Speedometer/resources/todomvc/architecture-examples/emberjs/js/controllers/todo_controller.js: Removed.
353         * Speedometer/resources/todomvc/architecture-examples/emberjs/js/controllers/todos_controller.js: Removed.
354         * Speedometer/resources/todomvc/architecture-examples/emberjs/js/helpers/pluralize.js: Removed.
355         * Speedometer/resources/todomvc/architecture-examples/emberjs/js/models/todo.js: Removed.
356         * Speedometer/resources/todomvc/architecture-examples/emberjs/js/router.js: Removed.
357         * Speedometer/resources/todomvc/architecture-examples/emberjs/js/views/edit_todo_view.js: Removed.
358         * Speedometer/resources/todomvc/architecture-examples/emberjs/js/views/todos_view.js: Removed.
359         * Speedometer/resources/todomvc/architecture-examples/emberjs/readme.md: Removed.
360         * Speedometer/resources/todomvc/architecture-examples/emberjs/robots.txt: Added.
361         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/.bowerrc: Added.
362         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/.editorconfig: Added.
363         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/.ember-cli: Added.
364         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/.gitignore: Added.
365         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/.jshintrc: Added.
366         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/.travis.yml: Added.
367         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/.watchmanconfig: Added.
368         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/README.md: Added.
369         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/app.js: Added.
370         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/components/.gitkeep: Added.
371         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/components/todo-item.js: Added.
372         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/components/todo-list.js: Added.
373         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/controllers/active.js: Added.
374         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/controllers/application.js: Added.
375         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/controllers/completed.js: Added.
376         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/helpers/gt.js: Added.
377         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/helpers/pluralize.js: Added.
378         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/index.html: Added.
379         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/instance-initializers/global.js: Added.
380         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/models/.gitkeep: Added.
381         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/resolver.js: Added.
382         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/router.js: Added.
383         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/routes/.gitkeep: Added.
384         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/routes/application.js: Added.
385         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/services/memory.js: Added.
386         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/services/repo.js: Added.
387         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/styles/app.css: Added.
388         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/templates/active.hbs: Added.
389         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/templates/application.hbs: Added.
390         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/templates/completed.hbs: Added.
391         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/templates/components/.gitkeep: Added.
392         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/templates/components/todo-item.hbs: Added.
393         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/templates/components/todo-list.hbs: Added.
394         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/templates/index.hbs: Added.
395         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/bower.json: Added.
396         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/config/environment.js: Added.
397         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/ember-cli-build.js: Added.
398         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/package.json: Added.
399         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/public/crossdomain.xml: Added.
400         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/public/robots.txt: Added.
401         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/testem.js: Added.
402         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/tests/.jshintrc: Added.
403         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/tests/helpers/destroy-app.js: Added.
404         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/tests/helpers/module-for-acceptance.js: Added.
405         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/tests/helpers/resolver.js: Added.
406         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/tests/helpers/start-app.js: Added.
407         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/tests/index.html: Added.
408         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/tests/integration/.gitkeep: Added.
409         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/tests/test-helper.js: Added.
410         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/tests/unit/.gitkeep: Added.
411         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/vendor/.gitkeep: Added.
412         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/vendor/base.css: Added.
413         * Speedometer/resources/todomvc/architecture-examples/emberjs/source/vendor/index.css: Added.
414         * Speedometer/resources/todomvc/architecture-examples/emberjs/test.html: Removed.
415         * Speedometer/resources/todomvc/architecture-examples/emberjs/testem.js: Added.
416         * Speedometer/resources/todomvc/architecture-examples/emberjs/tests/index.html: Added.
417
418 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
419
420         Speedometer: Add a React + Redux TodoMVC implementation
421         https://bugs.webkit.org/show_bug.cgi?id=171329
422
423         Reviewed by Ryosuke Niwa.
424
425         Adds React and Redux TodoMVC implementation for Speedometer
426
427         * Speedometer/resources/todomvc/architecture-examples/react-redux/README.md: Added.
428         * Speedometer/resources/todomvc/architecture-examples/react-redux/dist/index.html: Added.
429         * Speedometer/resources/todomvc/architecture-examples/react-redux/dist/static/css/main.d43d2909.css: Added.
430         * Speedometer/resources/todomvc/architecture-examples/react-redux/dist/static/js/main.946269ff.js: Added.
431         * Speedometer/resources/todomvc/architecture-examples/react-redux/package.json: Added.
432         * Speedometer/resources/todomvc/architecture-examples/react-redux/public/index.html: Added.
433         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/actions/index.js: Added.
434         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/actions/index.spec.js: Added.
435         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/components/Footer.js: Added.
436         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/components/Footer.spec.js: Added.
437         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/components/Header.js: Added.
438         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/components/Header.spec.js: Added.
439         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/components/MainSection.js: Added.
440         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/components/MainSection.spec.js: Added.
441         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/components/TodoItem.js: Added.
442         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/components/TodoItem.spec.js: Added.
443         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/components/TodoTextInput.js: Added.
444         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/components/TodoTextInput.spec.js: Added.
445         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/constants/ActionTypes.js: Added.
446         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/constants/TodoFilters.js: Added.
447         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/containers/App.js: Added.
448         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/index.js: Added.
449         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/reducers/index.js: Added.
450         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/reducers/todos.js: Added.
451         * Speedometer/resources/todomvc/architecture-examples/react-redux/src/reducers/todos.spec.js: Added.
452         * Speedometer/resources/todomvc/architecture-examples/react-redux/yarn.lock: Added.
453
454 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
455
456         Speedometer: Add an ES2015 (Babel + Webpack) TodoMVC implementation
457         https://bugs.webkit.org/show_bug.cgi?id=171452
458
459         Reviewed by Ryosuke Niwa.
460
461         Adds ES2015 Babel + Webpack TodoMVC implem
462
463         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/.babelrc: Added.
464         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/.eslintignore: Added.
465         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/dist/bundle.app.73bcc5d3c1d07180f0e3.js: Added.
466         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/dist/bundle.app.73bcc5d3c1d07180f0e3.js.map: Added.
467         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/dist/bundle.manifest.112bf70a7f3deebf1f93.js: Added.
468         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/dist/bundle.manifest.112bf70a7f3deebf1f93.js.map: Added.
469         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/dist/bundle.vendor.efaa3e0e20077c8e7471.js: Added.
470         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/dist/bundle.vendor.efaa3e0e20077c8e7471.js.map: Added.
471         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/dist/index.html: Added.
472         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/dist/styles.app.73bcc5d3c1d07180f0e3.css: Added.
473         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/dist/styles.app.73bcc5d3c1d07180f0e3.css.map: Added.
474         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/dist/styles.vendor.efaa3e0e20077c8e7471.css: Added.
475         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/dist/styles.vendor.efaa3e0e20077c8e7471.css.map: Added.
476         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/package.json: Added.
477         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/app.css: Added.
478         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/app.js: Added.
479         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/bootstrap.js: Added.
480         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/controller.js: Added.
481         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/controller.test.js: Added.
482         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/helpers.js: Added.
483         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/index.html: Added.
484         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/memory.js: Added.
485         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/model.js: Added.
486         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/store.js: Added.
487         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/template.js: Added.
488         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/todo.js: Added.
489         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/src/view.js: Added.
490         * Speedometer/resources/todomvc/vanilla-examples/es2015-babel-webpack/webpack.config.babel.js: Added.
491
492 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
493
494         Speedometer: Add an Inferno TodoMVC implementation
495         https://bugs.webkit.org/show_bug.cgi?id=171411
496
497         Reviewed by Ryosuke Niwa.
498
499         Adds a Inferno implem of TodoMVC to Speedometer
500
501         * Speedometer/resources/todomvc/architecture-examples/inferno/dist/bundle.js: Added.
502         * Speedometer/resources/todomvc/architecture-examples/inferno/index.html: Added.
503         * Speedometer/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-app-css/index.css: Added.
504         * Speedometer/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-app-css/package.json: Added.
505         * Speedometer/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-app-css/readme.md: Added.
506         * Speedometer/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-common/base.css: Added.
507         * Speedometer/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-common/base.js: Added.
508         * Speedometer/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-common/package.json: Added.
509         * Speedometer/resources/todomvc/architecture-examples/inferno/node_modules/todomvc-common/readme.md: Added.
510         * Speedometer/resources/todomvc/architecture-examples/inferno/package.json: Added.
511         * Speedometer/resources/todomvc/architecture-examples/inferno/src/base.js: Added.
512         * Speedometer/resources/todomvc/architecture-examples/inferno/src/index.js: Added.
513         * Speedometer/resources/todomvc/architecture-examples/inferno/src/item.js: Added.
514         * Speedometer/resources/todomvc/architecture-examples/inferno/src/model.js: Added.
515         * Speedometer/resources/todomvc/architecture-examples/inferno/src/share.js: Added.
516         * Speedometer/resources/todomvc/architecture-examples/inferno/webpack.config.js: Added.
517
518 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
519
520         Speedometer: Add an Angular 2 (4.x) TodoMVC implementation
521         https://bugs.webkit.org/show_bug.cgi?id=171343
522
523         Reviewed by Ryosuke Niwa.
524
525         Add a TodoMVC Angular 2 (4.x) implem for the benchmark
526
527         * Speedometer/resources/todomvc/architecture-examples/angular/.angular-cli.json: Added.
528         * Speedometer/resources/todomvc/architecture-examples/angular/.editorconfig: Added.
529         * Speedometer/resources/todomvc/architecture-examples/angular/README.md: Added.
530         * Speedometer/resources/todomvc/architecture-examples/angular/dist/assets/css/todomvc-app.css: Added.
531         * Speedometer/resources/todomvc/architecture-examples/angular/dist/assets/css/todomvc-common.css: Added.
532         * Speedometer/resources/todomvc/architecture-examples/angular/dist/favicon.ico: Added.
533         * Speedometer/resources/todomvc/architecture-examples/angular/dist/index.html: Added.
534         * Speedometer/resources/todomvc/architecture-examples/angular/dist/inline.b342d102ba4a53bf2002.bundle.js: Added.
535         * Speedometer/resources/todomvc/architecture-examples/angular/dist/main.779eb2f1ddbe23ac61c7.bundle.js: Added.
536         * Speedometer/resources/todomvc/architecture-examples/angular/dist/polyfills.2d45a4c73c85e24fe474.bundle.js: Added.
537         * Speedometer/resources/todomvc/architecture-examples/angular/dist/styles.d41d8cd98f00b204e980.bundle.css: Added.
538         * Speedometer/resources/todomvc/architecture-examples/angular/dist/vendor.b4be818cb6d8028f9192.bundle.js: Added.
539         * Speedometer/resources/todomvc/architecture-examples/angular/e2e/app.e2e-spec.ts: Added.
540         * Speedometer/resources/todomvc/architecture-examples/angular/e2e/app.po.ts: Added.
541         * Speedometer/resources/todomvc/architecture-examples/angular/e2e/tsconfig.e2e.json: Added.
542         * Speedometer/resources/todomvc/architecture-examples/angular/karma.conf.js: Added.
543         * Speedometer/resources/todomvc/architecture-examples/angular/package.json: Added.
544         * Speedometer/resources/todomvc/architecture-examples/angular/protractor.conf.js: Added.
545         * Speedometer/resources/todomvc/architecture-examples/angular/src/app/app.component.css: Added.
546         * Speedometer/resources/todomvc/architecture-examples/angular/src/app/app.component.html: Added.
547         * Speedometer/resources/todomvc/architecture-examples/angular/src/app/app.component.spec.ts: Added.
548         * Speedometer/resources/todomvc/architecture-examples/angular/src/app/app.component.ts: Added.
549         * Speedometer/resources/todomvc/architecture-examples/angular/src/app/app.module.ts: Added.
550         * Speedometer/resources/todomvc/architecture-examples/angular/src/app/todo-data.service.spec.ts: Added.
551         * Speedometer/resources/todomvc/architecture-examples/angular/src/app/todo-data.service.ts: Added.
552         * Speedometer/resources/todomvc/architecture-examples/angular/src/app/todo.spec.ts: Added.
553         * Speedometer/resources/todomvc/architecture-examples/angular/src/app/todo.ts: Added.
554         * Speedometer/resources/todomvc/architecture-examples/angular/src/assets/.gitkeep: Added.
555         * Speedometer/resources/todomvc/architecture-examples/angular/src/assets/css/todomvc-app.css: Added.
556         * Speedometer/resources/todomvc/architecture-examples/angular/src/assets/css/todomvc-common.css: Added.
557         * Speedometer/resources/todomvc/architecture-examples/angular/src/environments/environment.prod.ts: Added.
558         * Speedometer/resources/todomvc/architecture-examples/angular/src/environments/environment.ts: Added.
559         * Speedometer/resources/todomvc/architecture-examples/angular/src/favicon.ico: Added.
560         * Speedometer/resources/todomvc/architecture-examples/angular/src/index.html: Added.
561         * Speedometer/resources/todomvc/architecture-examples/angular/src/main.ts: Added.
562         * Speedometer/resources/todomvc/architecture-examples/angular/src/polyfills.ts: Added.
563         * Speedometer/resources/todomvc/architecture-examples/angular/src/styles.css: Added.
564         * Speedometer/resources/todomvc/architecture-examples/angular/src/test.ts: Added.
565         * Speedometer/resources/todomvc/architecture-examples/angular/src/tsconfig.app.json: Added.
566         * Speedometer/resources/todomvc/architecture-examples/angular/src/tsconfig.spec.json: Added.
567         * Speedometer/resources/todomvc/architecture-examples/angular/src/typings.d.ts: Added.
568         * Speedometer/resources/todomvc/architecture-examples/angular/tsconfig.json: Added.
569         * Speedometer/resources/todomvc/architecture-examples/angular/tslint.json: Added.
570
571 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
572
573         Speedometer: Add a Vue.js TodoMVC implementation
574         https://bugs.webkit.org/show_bug.cgi?id=171325
575
576         Reviewed by Ryosuke Niwa.
577
578         Adds a Vue.js TodoMVC implementation to Speedometer
579
580         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/.babelrc: Added.
581         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/.editorconfig: Added.
582         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/.eslintignore: Added.
583         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/.eslintrc.js: Added.
584         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/README.md: Added.
585         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/config/dev.env.js: Added.
586         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/config/index.js: Added.
587         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/config/prod.env.js: Added.
588         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/dist/index.html: Added.
589         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/dist/static/css/app.677b45842d9f8b96e5b23c18969233b7.css: Added.
590         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/dist/static/js/app.b0e835874bc8949670d1.js: Added.
591         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/dist/static/js/manifest.84b2b4fceb74ab1f91f3.js: Added.
592         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/dist/static/js/vendor.a52517c5aa98e7fbea2e.js: Added.
593         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/index.html: Added.
594         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/package.json: Added.
595         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/src/App.vue: Added.
596         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/src/components/Todos.vue: Added.
597         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/src/components/todo.css: Added.
598         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/src/main.js: Added.
599         * Speedometer/resources/todomvc/architecture-examples/vuejs-cli/yarn.lock: Added.
600
601 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
602
603         Speedometer: Update the vanilla JavaScript TodoMVC implem to a more recent version
604         https://bugs.webkit.org/show_bug.cgi?id=171306
605
606         Reviewed by Ryosuke Niwa.
607
608         Update vanilla JS TodoMVC implementation to the latest.
609
610         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/bower.json: Removed.
611         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.css: Removed.
612         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.js: Removed.
613         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/bg.png: Removed.
614         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/index.html:
615         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/js/app.js:
616         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/js/controller.js:
617         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/js/helpers.js:
618         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/js/model.js:
619         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/js/store.js:
620         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/js/template.js: Added.
621         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/js/view.js:
622         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/node_modules/todomvc-app-css/index.css: Added.
623         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/node_modules/todomvc-common/base.css: Added.
624         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/node_modules/todomvc-common/base.js: Added.
625         * Speedometer/resources/todomvc/vanilla-examples/vanillajs/package.json: Added.
626
627 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
628
629         Speedometer: Add an ES2015 TodoMVC implementation
630         https://bugs.webkit.org/show_bug.cgi?id=171448
631
632         Reviewed by Ryosuke Niwa.
633
634         Adds ES2015 TodoMVC implementation for Speedometer
635
636         * Speedometer/resources/todomvc/vanilla-examples/es2015/index.html: Added.
637         * Speedometer/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-app-css/index.css: Added.
638         * Speedometer/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-app-css/package.json: Added.
639         * Speedometer/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-app-css/readme.md: Added.
640         * Speedometer/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-common/base.css: Added.
641         * Speedometer/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-common/base.js: Added.
642         * Speedometer/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-common/package.json: Added.
643         * Speedometer/resources/todomvc/vanilla-examples/es2015/node_modules/todomvc-common/readme.md: Added.
644         * Speedometer/resources/todomvc/vanilla-examples/es2015/package.json: Added.
645         * Speedometer/resources/todomvc/vanilla-examples/es2015/src/.jshintrc: Added.
646         * Speedometer/resources/todomvc/vanilla-examples/es2015/src/app.js: Added.
647         * Speedometer/resources/todomvc/vanilla-examples/es2015/src/controller.js: Added.
648         * Speedometer/resources/todomvc/vanilla-examples/es2015/src/helpers.js: Added.
649         * Speedometer/resources/todomvc/vanilla-examples/es2015/src/model.js: Added.
650         * Speedometer/resources/todomvc/vanilla-examples/es2015/src/store.js: Added.
651         * Speedometer/resources/todomvc/vanilla-examples/es2015/src/template.js: Added.
652         * Speedometer/resources/todomvc/vanilla-examples/es2015/src/view.js: Added.
653
654 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
655
656         Speedometer: Add an Elm TodoMVC implementation
657         https://bugs.webkit.org/show_bug.cgi?id=171464
658
659         Reviewed by Ryosuke Niwa.
660
661         Speedometer: Add Elm TodoMVC implementation
662
663         * Speedometer/resources/todomvc/functional-prog-examples/elm/Todo.elm: Added.
664         * Speedometer/resources/todomvc/functional-prog-examples/elm/Todo/Task.elm: Added.
665         * Speedometer/resources/todomvc/functional-prog-examples/elm/dist/elm.js: Added.
666         * Speedometer/resources/todomvc/functional-prog-examples/elm/index.html: Added.
667         * Speedometer/resources/todomvc/functional-prog-examples/elm/node_modules/todomvc-app-css/index.css: Added.
668         * Speedometer/resources/todomvc/functional-prog-examples/elm/node_modules/todomvc-common/base.css: Added.
669         * Speedometer/resources/todomvc/functional-prog-examples/elm/node_modules/todomvc-common/base.js: Added.
670         * Speedometer/resources/todomvc/functional-prog-examples/elm/package.json: Added.
671         * Speedometer/resources/todomvc/functional-prog-examples/elm/readme.md: Added.
672
673 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
674
675         Speedometer: Update the Backbone.js implementation to a more recent library version
676         https://bugs.webkit.org/show_bug.cgi?id=171305
677
678         Reviewed by Ryosuke Niwa.
679
680         Updates the Backbone.js TodoMVC implementation to latest
681
682         * Speedometer/resources/todomvc/architecture-examples/backbone/bower.json: Removed.
683         * Speedometer/resources/todomvc/architecture-examples/backbone/bower_components/backbone.localStorage/backbone.localStorage.js: Removed.
684         * Speedometer/resources/todomvc/architecture-examples/backbone/bower_components/jquery/jquery.js: Removed.
685         * Speedometer/resources/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.css: Removed.
686         * Speedometer/resources/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.js: Removed.
687         * Speedometer/resources/todomvc/architecture-examples/backbone/bower_components/todomvc-common/bg.png: Removed.
688         * Speedometer/resources/todomvc/architecture-examples/backbone/bower_components/underscore/underscore.js: Removed.
689         * Speedometer/resources/todomvc/architecture-examples/backbone/index.html:
690         * Speedometer/resources/todomvc/architecture-examples/backbone/js/app.js:
691         * Speedometer/resources/todomvc/architecture-examples/backbone/js/backbone.sync.js: Added.
692         * Speedometer/resources/todomvc/architecture-examples/backbone/js/collections/todos.js:
693         * Speedometer/resources/todomvc/architecture-examples/backbone/js/models/todo.js:
694         * Speedometer/resources/todomvc/architecture-examples/backbone/js/routers/router.js:
695         * Speedometer/resources/todomvc/architecture-examples/backbone/js/views/app-view.js:
696         * Speedometer/resources/todomvc/architecture-examples/backbone/js/views/todo-view.js:
697         * Speedometer/resources/todomvc/architecture-examples/backbone/node_modules/backbone/backbone.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/architecture-examples/backbone/bower_components/backbone/backbone.js.
698         * Speedometer/resources/todomvc/architecture-examples/backbone/node_modules/jquery/dist/jquery.js: Added.
699         * Speedometer/resources/todomvc/architecture-examples/backbone/node_modules/todomvc-app-css/index.css: Added.
700         * Speedometer/resources/todomvc/architecture-examples/backbone/node_modules/todomvc-common/base.css: Added.
701         * Speedometer/resources/todomvc/architecture-examples/backbone/node_modules/todomvc-common/base.js: Added.
702         * Speedometer/resources/todomvc/architecture-examples/backbone/node_modules/underscore/underscore.js: Added.
703         * Speedometer/resources/todomvc/architecture-examples/backbone/package.json: Added.
704
705 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
706
707         Speedometer: Add a Preact.js TodoMVC implementation
708         https://bugs.webkit.org/show_bug.cgi?id=171323
709
710         Reviewed by Ryosuke Niwa.
711
712         Adds Preact.js TodoMVC implementation to Speedometer
713
714         * Speedometer/resources/todomvc/architecture-examples/preact/.babelrc: Added.
715         * Speedometer/resources/todomvc/architecture-examples/preact/README.md: Added.
716         * Speedometer/resources/todomvc/architecture-examples/preact/dist/app.js: Added.
717         * Speedometer/resources/todomvc/architecture-examples/preact/dist/index.html: Added.
718         * Speedometer/resources/todomvc/architecture-examples/preact/dist/todomvc-common/base.css: Added.
719         * Speedometer/resources/todomvc/architecture-examples/preact/dist/todomvc-common/base.js: Added.
720         * Speedometer/resources/todomvc/architecture-examples/preact/dist/todomvc.css: Added.
721         * Speedometer/resources/todomvc/architecture-examples/preact/package.json: Added.
722         * Speedometer/resources/todomvc/architecture-examples/preact/rollup.config.js: Added.
723         * Speedometer/resources/todomvc/architecture-examples/preact/src/app/footer.js: Added.
724         * Speedometer/resources/todomvc/architecture-examples/preact/src/app/index.js: Added.
725         * Speedometer/resources/todomvc/architecture-examples/preact/src/app/item.js: Added.
726         * Speedometer/resources/todomvc/architecture-examples/preact/src/app/model.js: Added.
727         * Speedometer/resources/todomvc/architecture-examples/preact/src/app/util.js: Added.
728         * Speedometer/resources/todomvc/architecture-examples/preact/src/index.html: Added.
729         * Speedometer/resources/todomvc/architecture-examples/preact/src/index.js: Added.
730         * Speedometer/resources/todomvc/architecture-examples/preact/webpack.config.babel.js: Added.
731
732 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
733
734         Speedometer: Update the jQuery implementation to a more recent library version
735         https://bugs.webkit.org/show_bug.cgi?id=171308
736
737         Reviewed by Ryosuke Niwa.
738
739         Updates the jQuery implementation of TodoMVC to a more recent version
740
741         * Speedometer/resources/todomvc/architecture-examples/jquery/bower.json: Removed.
742         * Speedometer/resources/todomvc/architecture-examples/jquery/bower_components/handlebars/handlebars.js: Removed.
743         * Speedometer/resources/todomvc/architecture-examples/jquery/bower_components/jquery/jquery.js: Removed.
744         * Speedometer/resources/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.css: Removed.
745         * Speedometer/resources/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.js: Removed.
746         * Speedometer/resources/todomvc/architecture-examples/jquery/bower_components/todomvc-common/bg.png: Removed.
747         * Speedometer/resources/todomvc/architecture-examples/jquery/index.html:
748         * Speedometer/resources/todomvc/architecture-examples/jquery/js/app.js:
749         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/handlebars/dist/handlebars.js: Added.
750         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/jquery/dist/jquery.js: Added.
751         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-app-css/index.css: Added.
752         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-app-css/package.json: Added.
753         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-app-css/readme.md: Added.
754         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-common/base.css: Added.
755         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-common/base.js: Added.
756         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-common/package.json: Added.
757         * Speedometer/resources/todomvc/architecture-examples/jquery/node_modules/todomvc-common/readme.md: Added.
758         * Speedometer/resources/todomvc/architecture-examples/jquery/package.json: Added.
759         * Speedometer/resources/todomvc/architecture-examples/jquery/readme.md:
760
761 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
762
763         Speedometer: Update the Flight.js implementation to a more recent library version
764         https://bugs.webkit.org/show_bug.cgi?id=171471
765
766         Reviewed by Ryosuke Niwa.
767
768         Speedometer: Update FlightJS TodoMVC implementation
769
770         * Speedometer/resources/todomvc/dependency-examples/flight/.gitignore: Removed.
771         * Speedometer/resources/todomvc/dependency-examples/flight/.jshintrc: Removed.
772         * Speedometer/resources/todomvc/dependency-examples/flight/app/js/main.js: Removed.
773         * Speedometer/resources/todomvc/dependency-examples/flight/app/js/store.js: Removed.
774         * Speedometer/resources/todomvc/dependency-examples/flight/bower.json: Removed.
775         * Speedometer/resources/todomvc/dependency-examples/flight/bower_components/es5-shim/es5-shim.js: Removed.
776         * Speedometer/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/compose.js: Removed.
777         * Speedometer/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/index.js: Removed.
778         * Speedometer/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/logger.js: Removed.
779         * Speedometer/resources/todomvc/dependency-examples/flight/bower_components/jquery/jquery.js: Removed.
780         * Speedometer/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common/base.css: Removed.
781         * Speedometer/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common/bg.png: Removed.
782         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/data/stats.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/app/js/data/stats.js.
783         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/data/todos.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/app/js/data/todos.js.
784         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/main.js: Added.
785         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/page/app.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/app/js/app.js.
786         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/store.js: Added.
787         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/ui/main_selector.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/app/js/ui/main_selector.js.
788         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/ui/new_item.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/app/js/ui/new_item.js.
789         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/ui/stats.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/app/js/ui/stats.js.
790         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/ui/todo_list.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/app/js/ui/todo_list.js.
791         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/ui/toggle_all.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/app/js/ui/toggle_all.js.
792         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/ui/with_filters.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/app/js/ui/with_filters.js.
793         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/js/utils.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/app/js/utils.js.
794         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/templates/stats.html: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/app/templates/stats.html.
795         * Speedometer/resources/todomvc/dependency-examples/flight/flight/app/templates/todo.html: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/app/templates/todo.html.
796         * Speedometer/resources/todomvc/dependency-examples/flight/flight/index.html: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/index.html.
797         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/depot/README.md: Added.
798         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/depot/depot.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/bower_components/depot/depot.js.
799         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/depot/depot.min.js: Added.
800         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/depot/package.json: Added.
801         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/es5-shim/LICENSE: Added.
802         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/es5-shim/es5-sham.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/bower_components/es5-shim/es5-sham.js.
803         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/es5-shim/es5-sham.min.js: Added.
804         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/es5-shim/es5-shim.js: Added.
805         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/es5-shim/es5-shim.min.js: Added.
806         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/flight/LICENSE: Added.
807         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/flight/index.js: Added.
808         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/flight/lib/advice.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/advice.js.
809         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/flight/lib/base.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/base.js.
810         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/flight/lib/component.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/component.js.
811         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/flight/lib/compose.js: Added.
812         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/flight/lib/debug.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/debug.js.
813         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/flight/lib/logger.js: Added.
814         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/flight/lib/registry.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/registry.js.
815         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/flight/lib/utils.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/utils.js.
816         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/jquery/README.md: Added.
817         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/jquery/dist/jquery.js: Added.
818         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/jquery/dist/jquery.min.js: Added.
819         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/jquery/package.json: Added.
820         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/memorystorage/memorystorage.js: Added.
821         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs-text/LICENSE: Added.
822         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs-text/README.md: Added.
823         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs-text/bower.json: Added.
824         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs-text/package.json: Added.
825         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs-text/text.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/bower_components/requirejs-text/text.js.
826         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs/README.md: Added.
827         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs/package.json: Added.
828         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/requirejs/require.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/bower_components/requirejs/require.js.
829         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-app-css/index.css: Added.
830         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-app-css/package.json: Added.
831         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-app-css/readme.md: Added.
832         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-common/base.css: Added.
833         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-common/base.js: Renamed from PerformanceTests/Speedometer/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common/base.js.
834         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-common/package.json: Added.
835         * Speedometer/resources/todomvc/dependency-examples/flight/flight/node_modules/todomvc-common/readme.md: Added.
836         * Speedometer/resources/todomvc/dependency-examples/flight/flight/package.json: Added.
837         * Speedometer/resources/todomvc/dependency-examples/flight/karma.conf.js: Removed.
838         * Speedometer/resources/todomvc/dependency-examples/flight/package.json: Removed.
839         * Speedometer/resources/todomvc/dependency-examples/flight/readme.md: Removed.
840         * Speedometer/resources/todomvc/dependency-examples/flight/test/.jshintrc: Removed.
841         * Speedometer/resources/todomvc/dependency-examples/flight/test/fixture/footer.html: Removed.
842         * Speedometer/resources/todomvc/dependency-examples/flight/test/fixture/new_todo.html: Removed.
843         * Speedometer/resources/todomvc/dependency-examples/flight/test/fixture/toggle_all.html: Removed.
844         * Speedometer/resources/todomvc/dependency-examples/flight/test/mock/datastore.js: Removed.
845         * Speedometer/resources/todomvc/dependency-examples/flight/test/spec/data/stats_spec.js: Removed.
846         * Speedometer/resources/todomvc/dependency-examples/flight/test/spec/data/todos_spec.js: Removed.
847         * Speedometer/resources/todomvc/dependency-examples/flight/test/spec/ui/new_item_spec.js: Removed.
848         * Speedometer/resources/todomvc/dependency-examples/flight/test/spec/ui/stats_spec.js: Removed.
849         * Speedometer/resources/todomvc/dependency-examples/flight/test/spec/ui/toggle_all_spec.js: Removed.
850         * Speedometer/resources/todomvc/dependency-examples/flight/test/test-main.js: Removed.
851
852 2017-05-11  Addy Osmani  <addyosmani@gmail.com>
853
854         Speedometer: Update the AngularJS implementation to a more recent library version
855         https://bugs.webkit.org/show_bug.cgi?id=171307
856
857         Reviewed by Ryosuke Niwa.
858
859         Updates the AngularJS implementation of TodoMVC to 1.4.x
860
861         * Speedometer/resources/todomvc/architecture-examples/angularjs/bower.json: Removed.
862         * Speedometer/resources/todomvc/architecture-examples/angularjs/bower_components/angular-mocks/angular-mocks.js: Removed.
863         * Speedometer/resources/todomvc/architecture-examples/angularjs/bower_components/angular/angular.js: Removed.
864         * Speedometer/resources/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/base.css: Removed.
865         * Speedometer/resources/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/base.js: Removed.
866         * Speedometer/resources/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/bg.png: Removed.
867         * Speedometer/resources/todomvc/architecture-examples/angularjs/index.html:
868         * Speedometer/resources/todomvc/architecture-examples/angularjs/js/app.js:
869         * Speedometer/resources/todomvc/architecture-examples/angularjs/js/controllers/todoCtrl.js:
870         * Speedometer/resources/todomvc/architecture-examples/angularjs/js/directives/todoBlur.js: Removed.
871         * Speedometer/resources/todomvc/architecture-examples/angularjs/js/directives/todoEscape.js:
872         * Speedometer/resources/todomvc/architecture-examples/angularjs/js/directives/todoFocus.js:
873         * Speedometer/resources/todomvc/architecture-examples/angularjs/js/services/todoStorage.js:
874         * Speedometer/resources/todomvc/architecture-examples/angularjs/node_modules/angular-resource/angular-resource.js: Added.
875         * Speedometer/resources/todomvc/architecture-examples/angularjs/node_modules/angular-route/angular-route.js: Added.
876         * Speedometer/resources/todomvc/architecture-examples/angularjs/node_modules/angular/angular.js: Added.
877         * Speedometer/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-app-css/index.css: Added.
878         * Speedometer/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-app-css/package.json: Added.
879         * Speedometer/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-app-css/readme.md: Added.
880         * Speedometer/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-common/base.css: Added.
881         * Speedometer/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-common/base.js: Added.
882         * Speedometer/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-common/package.json: Added.
883         * Speedometer/resources/todomvc/architecture-examples/angularjs/node_modules/todomvc-common/readme.md: Added.
884         * Speedometer/resources/todomvc/architecture-examples/angularjs/package.json: Added.
885         * Speedometer/resources/todomvc/architecture-examples/angularjs/readme.md:
886         * Speedometer/resources/todomvc/architecture-examples/angularjs/test/config/testacular.conf.js: Removed.
887         * Speedometer/resources/todomvc/architecture-examples/angularjs/test/package.json: Removed.
888         * Speedometer/resources/todomvc/architecture-examples/angularjs/test/readme.md: Removed.
889         * Speedometer/resources/todomvc/architecture-examples/angularjs/test/unit/directivesSpec.js: Removed.
890         * Speedometer/resources/todomvc/architecture-examples/angularjs/test/unit/todoCtrlSpec.js: Removed.
891         * Speedometer/resources/todomvc/architecture-examples/angularjs/todomvc-index.html: Added.
892
893 2017-05-09  Jon Davis  <jond@apple.com>
894
895         [ARES6] Improved the running test indicator
896         https://bugs.webkit.org/show_bug.cgi?id=171400
897         
898         Running tests show a triangle before the test title and the titles are white.
899
900         Reviewed by Joseph Pecoraro.
901
902         * ARES-6/index.html:
903         * ARES-6/styles.css:
904         (.test .running):
905         (.test .running:before):
906         (.test .indicator): Deleted.
907         (.test .indicator.running): Deleted.
908         (@keyframes test-running): Deleted.
909
910 2017-05-04  Andy VanWagoner  <thetalecrafter@gmail.com>
911
912         [INTL] Add PerformanceTests for Intl objects
913         https://bugs.webkit.org/show_bug.cgi?id=171695
914
915         Reviewed by Benjamin Poulain.
916
917         * Intl/collator-compare-all-options.html: Added.
918         * Intl/collator-compare-default.html: Added.
919         * Intl/collator-create-all-options.html: Added.
920         * Intl/collator-create-default.html: Added.
921         * Intl/datetimeformat-create-all-options.html: Added.
922         * Intl/datetimeformat-create-default.html: Added.
923         * Intl/datetimeformat-format-all-options.html: Added.
924         * Intl/datetimeformat-format-default.html: Added.
925         * Intl/numberformat-create-all-options.html: Added.
926         * Intl/numberformat-create-default.html: Added.
927         * Intl/numberformat-format-all-options.html: Added.
928         * Intl/numberformat-format-default.html: Added.
929
930 2017-04-27  Michael Saboff  <msaboff@apple.com>
931
932         Add back tests inadvertently deleted in r205032.
933
934         Rubber stamped by Geoffrey Garen.
935
936         * MallocBench/run-malloc-benchmarks:
937
938 2017-04-25  Myles C. Maxfield  <mmaxfield@apple.com>
939
940         Add performance test for FontCache::systemFallbackForCharacters()
941         https://bugs.webkit.org/show_bug.cgi?id=170842
942
943         Reviewed by Tim Horton.
944
945         * Layout/word-joiner.html: Added.
946
947 2017-04-24  Saam Barati  <sbarati@apple.com>
948
949         Add ML to ARES6
950         https://bugs.webkit.org/show_bug.cgi?id=171206
951
952         Rubber stamped by Filip Pizlo.
953
954         This patch adds a new test to ARES6 called ML. ML is an implementation of
955         a feedforward neural network: https://github.com/mljs/feedforward-neural-networks.
956         It makes heavy use of classes, and does non-trivial matrix math using the
957         ml-matrix library: https://github.com/mljs/matrix
958
959         * ARES-6/about.html:
960         * ARES-6/cli.js:
961         * ARES-6/glue.js:
962         * ARES-6/index.html:
963         * ARES-6/ml: Added.
964         * ARES-6/ml/benchmark.js: Added.
965         * ARES-6/ml/index.js: Added.
966         * ARES-6/ml_benchmark.js: Added.
967
968 2017-04-21  Zalan Bujtas  <zalan@apple.com>
969
970         Simple line layout: Add performance test to measure mid-word line breaking with long text.
971         https://bugs.webkit.org/show_bug.cgi?id=171136
972
973         Reviewed by Ryosuke Niwa.
974
975         * Layout/simple-line-layout-word-break-long-text.html: Added.
976
977 2017-04-17  Ryan Haddad  <ryanhaddad@apple.com>
978
979         Unreviewed, rolling out r215366.
980
981         This test is failing on performance bots.
982
983         Reverted changeset:
984
985         "Add performance test for asking the platform for a font for
986         U+2060 WORD JOINER"
987         https://bugs.webkit.org/show_bug.cgi?id=170842
988         http://trac.webkit.org/changeset/215366
989
990 2017-04-14  Myles C. Maxfield  <mmaxfield@apple.com>
991
992         Add performance test for asking the platform for a font for U+2060 WORD JOINER
993         https://bugs.webkit.org/show_bug.cgi?id=170842
994
995         Reviewed by Tim Horton.
996
997         * Layout/word-joiner.html: Added.
998
999 2017-04-03  Saam Barati  <sbarati@apple.com>
1000
1001         Add a new test to ARES6
1002         https://bugs.webkit.org/show_bug.cgi?id=170077
1003
1004         Rubber stamped by Filip Pizlo.
1005
1006         This patch adds a new test to ARES6. The test is called Babylon. Babylon is
1007         the JavaScript parser that is part of the Babel transpiler. The test runs
1008         the parser on 4 different JS scripts.
1009
1010         * ARES-6/Babylon: Added.
1011         * ARES-6/Babylon/AUTHORS: Added.
1012         * ARES-6/Babylon/air-blob.js: Added.
1013         (Reg):
1014         (Reg.fromReg):
1015         (Reg.prototype.get index):
1016         (Reg.prototype.get type):
1017         (Reg.prototype.get name):
1018         (Reg.prototype.get isCalleeSave):
1019         (Reg.prototype.get isReg):
1020         (Reg.prototype.hash):
1021         (Reg.prototype.toString):
1022         (Reg.extract):
1023         (Reg.forEachFast):
1024         (Reg.forEach):
1025         (newGPR):
1026         (Reg.gprs.Reg.fprs.Reg.calleeSaveGPRs.Reg.calleeSaveFPRs.Reg.calleeSaves):
1027         * ARES-6/Babylon/babylon-blob.js: Added.
1028         (export.default.Parser):
1029         (export.default.Parser.prototype.isReservedWord):
1030         (export.default.Parser.prototype.hasPlugin):
1031         (export.default.Parser.prototype.extend):
1032         (export.default.Parser.prototype.loadPlugins):
1033         (export.default.Parser.prototype.parse):
1034         * ARES-6/Babylon/basic-blob.js: Added.
1035         (Basic.NumberApply):
1036         (Basic.Variable):
1037         (Basic.Const):
1038         (Basic.NumberPow):
1039         (Basic.NumberMul):
1040         (Basic.NumberDiv):
1041         (Basic.NumberNeg):
1042         (Basic.NumberAdd):
1043         (Basic.NumberSub):
1044         (Basic.StringVar):
1045         (Basic.Equals):
1046         (Basic.NotEquals):
1047         (Basic.LessThan):
1048         (Basic.GreaterThan):
1049         (Basic.LessEqual):
1050         (Basic.GreaterEqual):
1051         (Basic.GoTo):
1052         (Basic.GoSub):
1053         (Basic.Def):
1054         (Basic.Let):
1055         (Basic.If):
1056         (Basic.Return):
1057         (Basic.Stop):
1058         (Basic.On):
1059         (sideState.shouldStop):
1060         (Basic.For):
1061         (Basic.Next):
1062         (Basic.Print):
1063         (Basic.Input):
1064         (Basic.Read):
1065         (Basic.Restore):
1066         (Basic.Dim):
1067         (Basic.Randomize):
1068         (Basic.End):
1069         (Basic.Program):
1070         * ARES-6/Babylon/benchmark.js: Added.
1071         (this.performance.performance.now.currentTime):
1072         (else.this.preciseTime.currentTime):
1073         (else.currentTime):
1074         (BabylonBenchmark.appendSource):
1075         (BabylonBenchmark):
1076         (BabylonBenchmark.prototype.runIteration.parse):
1077         (BabylonBenchmark.prototype.runIteration.parseExpression):
1078         (BabylonBenchmark.prototype.runIteration):
1079         (runBenchmark):
1080         * ARES-6/Babylon/index.js: Added.
1081         (isIdentifierStart):
1082         (isIdentifierChar):
1083         (isNewLine):
1084         (Position):
1085         (SourceLocation):
1086         (getLineInfo):
1087         (TokenType):
1088         (KeywordTokenType):
1089         (BinopTokenType):
1090         (TokContext):
1091         (tt.parenR.updateContext.tt.braceR.updateContext):
1092         (tt.name.updateContext):
1093         (tt.braceL.updateContext):
1094         (tt.dollarBraceL.updateContext):
1095         (tt.parenL.updateContext):
1096         (tt.incDec.updateContext):
1097         (tt._function.updateContext):
1098         (tt.backQuote.updateContext):
1099         (State.prototype.init):
1100         (State.prototype.curPosition):
1101         (State.prototype.clone):
1102         (State):
1103         (Token):
1104         (codePointToString):
1105         (Tokenizer):
1106         (Tokenizer.prototype.next):
1107         (Tokenizer.prototype.eat):
1108         (Tokenizer.prototype.match):
1109         (Tokenizer.prototype.isKeyword):
1110         (Tokenizer.prototype.lookahead):
1111         (Tokenizer.prototype.setStrict):
1112         (Tokenizer.prototype.curContext):
1113         (Tokenizer.prototype.nextToken):
1114         (Tokenizer.prototype.readToken):
1115         (Tokenizer.prototype.fullCharCodeAtPos):
1116         (Tokenizer.prototype.pushComment):
1117         (Tokenizer.prototype.skipBlockComment):
1118         (Tokenizer.prototype.skipLineComment):
1119         (Tokenizer.prototype.skipSpace):
1120         (Tokenizer.prototype.finishToken):
1121         (Tokenizer.prototype.readToken_dot):
1122         (Tokenizer.prototype.readToken_slash):
1123         (Tokenizer.prototype.readToken_mult_modulo):
1124         (Tokenizer.prototype.readToken_pipe_amp):
1125         (Tokenizer.prototype.readToken_caret):
1126         (Tokenizer.prototype.readToken_plus_min):
1127         (Tokenizer.prototype.readToken_lt_gt):
1128         (Tokenizer.prototype.readToken_eq_excl):
1129         (Tokenizer.prototype.getTokenFromCode):
1130         (Tokenizer.prototype.finishOp):
1131         (Tokenizer.prototype.readRegexp):
1132         (Tokenizer.prototype.readInt):
1133         (Tokenizer.prototype.readRadixNumber):
1134         (Tokenizer.prototype.readNumber):
1135         (Tokenizer.prototype.readCodePoint):
1136         (Tokenizer.prototype.readString):
1137         (Tokenizer.prototype.readTmplToken):
1138         (Tokenizer.prototype.readEscapedChar):
1139         (Tokenizer.prototype.readHexChar):
1140         (Tokenizer.prototype.readWord1):
1141         (Tokenizer.prototype.readWord):
1142         (Tokenizer.prototype.braceIsBlock):
1143         (Tokenizer.prototype.updateContext):
1144         (getOptions):
1145         (prototype.isReservedWord):
1146         (prototype.hasPlugin):
1147         (prototype.extend):
1148         (prototype.loadPlugins):
1149         (prototype.parse):
1150         (last):
1151         (pp.addComment):
1152         (pp.processComment):
1153         (pp.checkPropClash):
1154         (pp.getExpression):
1155         (pp.parseExpression):
1156         (pp.parseMaybeAssign):
1157         (pos.set i):
1158         * ARES-6/Babylon/inspector-blob.js: Added.
1159         (WebInspector.ScriptSyntaxTree):
1160         (WebInspector.ScriptSyntaxTree.prototype.get parsedSuccessfully):
1161         (WebInspector.ScriptSyntaxTree.prototype.forEachNode):
1162         (WebInspector.ScriptSyntaxTree.prototype.filter):
1163         (WebInspector.ScriptSyntaxTree.prototype.containersOfOffset):
1164         (WebInspector.ScriptSyntaxTree.prototype.filterByRange.filterForNodesInRange):
1165         (WebInspector.ScriptSyntaxTree.prototype.filterByRange):
1166         (WebInspector.ScriptSyntaxTree.prototype.containsNonEmptyReturnStatement.removeFunctionsFilter):
1167         (WebInspector.ScriptSyntaxTree.prototype.containsNonEmptyReturnStatement):
1168         (WebInspector.ScriptSyntaxTree.functionReturnDivot):
1169         (WebInspector.ScriptSyntaxTree.prototype.updateTypes):
1170         (WebInspector.ScriptSyntaxTree.prototype._gatherIdentifiersInDeclaration.gatherIdentifiers):
1171         (WebInspector.ScriptSyntaxTree.prototype._gatherIdentifiersInDeclaration):
1172         (WebInspector.ScriptSyntaxTree.prototype._defaultParserState):
1173         (WebInspector.ScriptSyntaxTree.prototype._recurse):
1174         (WebInspector.ScriptSyntaxTree.prototype._recurseArray):
1175         (WebInspector.ScriptSyntaxTree.prototype._createInternalSyntaxTree):
1176         * ARES-6/about.html:
1177         * ARES-6/babylon_benchmark.js: Added.
1178         * ARES-6/cli.js:
1179         * ARES-6/glue.js:
1180         * ARES-6/index.html:
1181         * ARES-6/results.js:
1182         (Results.prototype.reportResult):
1183         (Results.prototype.reportResult.averageAbovePercentile): Deleted.
1184         * ARES-6/styles.css:
1185         (.test):
1186         (@media only screen and (max-width: 784px)):
1187
1188 2017-03-29  Zalan Bujtas <zalan@apple.com>
1189
1190         [Arabic text] Add whitespace preserve/word wrap performance test.
1191         https://bugs.webkit.org/show_bug.cgi?id=170243
1192
1193         Reviewed by Simon Fraser.
1194
1195         * Layout/ArabicLineLayout-pre-and-wrap.html: Added.
1196
1197 2017-03-08  Yusuke Suzuki  <utatane.tea@gmail.com>
1198
1199         [JSC] Add helpers to run Six Speed to run-jsc-benchmarks
1200         https://bugs.webkit.org/show_bug.cgi?id=169351
1201
1202         Reviewed by Saam Barati.
1203
1204         * SixSpeed/wrappers/wrapper.js: Added.
1205         (assertEqual):
1206         (test):
1207         (jscRun):
1208
1209 2017-03-08  Jon Davis  <jond@apple.com>
1210
1211         Fixed ARES-6 animations for other browsers
1212
1213         Rubber stamped by Saam Barati.
1214
1215         * ARES-6/styles.css:
1216         (.swoop):
1217         (.logo):
1218
1219 2017-03-07  Filip Pizlo  <fpizlo@apple.com>
1220
1221         Revise the ARES-6 explainer text
1222         https://bugs.webkit.org/show_bug.cgi?id=169287
1223
1224         Reviewed by Saam Barati.
1225         
1226         Just did some copy-editing.
1227
1228         * ARES-6/about.html:
1229
1230 2017-03-06  Jon Davis  <jond@apple.com>
1231
1232         Refined the ARES-6 experience
1233         https://bugs.webkit.org/show_bug.cgi?id=169205
1234
1235         Reviewed by Saam Barati.
1236
1237         * ARES-6/about.html: Copied from PerformanceTests/ARES-6/index.html.
1238         * ARES-6/driver.js:
1239         (Driver.prototype.start):
1240         (Driver.prototype._updateIterations):
1241         (Driver):
1242         * ARES-6/index.html:
1243         * ARES-6/stats.js:
1244         (Stats.prototype.toString.span.span):
1245         * ARES-6/styles.css:
1246         (body):
1247         (.swoop):
1248         (p):
1249         (.logo):
1250         (.start):
1251         (.test):
1252         (.test:nth-child(odd)):
1253         (.overall):
1254         (.about h2):
1255         (.button):
1256         (.button:hover):
1257         (.button.return:before):
1258         (@keyframes fade-in):
1259         (@keyframes scale-in):
1260         (@keyframes flicker-in):
1261         (@keyframes wipe-in):
1262         (.flip): Deleted.
1263         (.testing, .about): Deleted.
1264         (.testing): Deleted.
1265         (.about): Deleted.
1266         (#about:target): Deleted.
1267
1268 2017-03-06  Jeremy Jones  <jeremyj@apple.com>
1269
1270         StandardCanPlayThrough.html does not work on iOS.
1271         https://bugs.webkit.org/show_bug.cgi?id=169207
1272
1273         Reviewed by Jer Noble.
1274
1275         On iOS only, add muted=true and autoplay=allowed. The loading policy on iOS requires these attributes to load enough
1276         data to trigger canPlayThrough.
1277
1278         * Media/StandardCanPlayThrough.html:
1279
1280 2017-02-13  Zalan Bujtas <zalan@apple.com>
1281
1282         Simple line layout: Add performance test with text-rendering: optimizeSpeed
1283         https://bugs.webkit.org/show_bug.cgi?id=168248
1284
1285         Reviewed by Simon Fraser.
1286
1287         * Layout/simple-line-layout-with-varying-content-and-optimized-speed.html: Added.
1288
1289 2017-02-10  Zalan Bujtas  <zalan@apple.com>
1290
1291         Mail hangs when removing multiple rows from large table.
1292         https://bugs.webkit.org/show_bug.cgi?id=168103
1293         <rdar://problem/30090186>
1294
1295         Reviewed by Ryosuke Niwa.
1296
1297         * DOM/large-table-edit.html: Added.
1298
1299 2017-02-05  Filip Pizlo  <fpizlo@apple.com>
1300
1301         Beef up the ARES-6 explainer text
1302         https://bugs.webkit.org/show_bug.cgi?id=167867
1303
1304         Reviewed by Saam Barati.
1305         
1306         Added appropriate links.
1307
1308         Added text that explains the subscores.
1309
1310         * ARES-6/index.html:
1311
1312 2017-02-06  Jer Noble  <jer.noble@apple.com>
1313
1314         Playback stalls when a SourceBuffer append causes frame eviction
1315         https://bugs.webkit.org/show_bug.cgi?id=167834
1316
1317         Reviewed by Eric Carlson.
1318
1319         Add an in-page performance test measuring the amount of time required
1320         to append a large amount of media data to a SourceBuffer, and then to
1321         completely remove that data 30s at a time.
1322
1323         Add a microbenchmark for MediaTime which measures the amount of time
1324         required to create a 1M entry std::map and traverse the map 1M times.
1325
1326         * Media/MSERemoveCodedFrames.html: Added.
1327         * Media/media-source-loader.js:
1328         (MediaSourceLoader.prototype.get duration):
1329         * MediaTime/Configurations/Base.xcconfig: Added.
1330         * MediaTime/Configurations/DebugRelease.xcconfig: Added.
1331         * MediaTime/Makefile: Added.
1332         * MediaTime/MediaTime.xcodeproj/project.pbxproj: Added.
1333         * MediaTime/main.cpp: Added.
1334         (performTest):
1335         (test):
1336         (main):
1337         * Skipped:
1338
1339 2017-02-06  Saam Barati  <sbarati@apple.com>
1340
1341         Make ARES-6 work from the CLI again
1342         https://bugs.webkit.org/show_bug.cgi?id=167895
1343
1344         Reviewed by Michael Saboff.
1345
1346         * ARES-6/driver.js:
1347         (Driver.prototype.readyTrigger):
1348         (Driver.prototype.disableTrigger):
1349         * ARES-6/stats.js:
1350         (Stats.prototype.toString.span.span):
1351         (Stats.prototype.toString.return.span):
1352         (Stats.prototype.toString):
1353
1354 2017-02-06  Ryan Haddad  <ryanhaddad@apple.com>
1355
1356         Skip ARES-6 on performance bots
1357         https://bugs.webkit.org/show_bug.cgi?id=167863
1358
1359         Unreviewed test gardening.
1360
1361         ES6SampleBench was renamed to ARES-6, so this should be updated in PerformanceTests/Skipped as well.
1362
1363         * Skipped:
1364
1365 2017-02-05  Filip Pizlo  <fpizlo@apple.com>
1366
1367         Change ES6SampleBench into ARES-6
1368         https://bugs.webkit.org/show_bug.cgi?id=167863
1369
1370         Rubber stamped by Saam Barati.
1371         
1372         This imports changes that Jonathan Davis (jond@apple.com) made to ES6SampleBench to make it look
1373         super awesome. Its now called ARES-6.
1374
1375         * ARES-6: Copied from PerformanceTests/ES6SampleBench.
1376         * ARES-6/ARES-6.svg: Added.
1377         * ARES-6/driver.js:
1378         (Driver):
1379         (Driver.prototype.readyTrigger):
1380         (Driver.prototype.disableTrigger):
1381         (Driver.prototype.start):
1382         (Driver.prototype._updateIterations):
1383         * ARES-6/glue.js:
1384         * ARES-6/index.html:
1385         * ARES-6/results.js:
1386         (Results.prototype.reportRunning):
1387         (Results.prototype.reportDone):
1388         * ARES-6/stats.js:
1389         (Stats.prototype.toString.return.span):
1390         (Stats.prototype.toString.span.span):
1391         (Stats.prototype.toString): Deleted.
1392         * ARES-6/style.css: Removed.
1393         * ARES-6/styles.css: Added.
1394         (html):
1395         (body):
1396         (header,):
1397         (p a):
1398         (p a:hover):
1399         (.flip):
1400         (header):
1401         (h2,):
1402         (p):
1403         (.about h2):
1404         (.logo):
1405         (.start):
1406         (.start.ready):
1407         (.start.ready:hover):
1408         (.start:after):
1409         (.start.ready .testrun):
1410         (.tests):
1411         (.test):
1412         (.overall h2,):
1413         (.test .indicator):
1414         (.test .indicator.running):
1415         (@keyframes test-running):
1416         (100%):
1417         (.score):
1418         (.score label):
1419         (.score .value):
1420         (.score .units):
1421         (.score .margin):
1422         (.overall):
1423         (.overall .score):
1424         (.overall .margin):
1425         (.testing, .about):
1426         (.testing):
1427         (.about):
1428         (#about:target):
1429         (@media only screen and (max-width: 784px)):
1430         * ARES-6/swoop.svg: Added.
1431         * ES6SampleBench: Removed.
1432         * ES6SampleBench/Air: Removed.
1433         * ES6SampleBench/Air/README.md: Removed.
1434         * ES6SampleBench/Air/airjs-tests.yaml: Removed.
1435         * ES6SampleBench/Air/all.js: Removed.
1436         * ES6SampleBench/Air/allocate_stack.js: Removed.
1437         * ES6SampleBench/Air/arg.js: Removed.
1438         * ES6SampleBench/Air/basic_block.js: Removed.
1439         * ES6SampleBench/Air/benchmark.js: Removed.
1440         * ES6SampleBench/Air/code.js: Removed.
1441         * ES6SampleBench/Air/custom.js: Removed.
1442         * ES6SampleBench/Air/frequented_block.js: Removed.
1443         * ES6SampleBench/Air/insertion_set.js: Removed.
1444         * ES6SampleBench/Air/inst.js: Removed.
1445         * ES6SampleBench/Air/liveness.js: Removed.
1446         * ES6SampleBench/Air/make_dist.sh: Removed.
1447         * ES6SampleBench/Air/opcode.js: Removed.
1448         * ES6SampleBench/Air/payload-airjs-ACLj8C.js: Removed.
1449         * ES6SampleBench/Air/payload-gbemu-executeIteration.js: Removed.
1450         * ES6SampleBench/Air/payload-imaging-gaussian-blur-gaussianBlur.js: Removed.
1451         * ES6SampleBench/Air/payload-typescript-scanIdentifier.js: Removed.
1452         * ES6SampleBench/Air/reg.js: Removed.
1453         * ES6SampleBench/Air/stack_slot.js: Removed.
1454         * ES6SampleBench/Air/stress-test.js: Removed.
1455         * ES6SampleBench/Air/strip-hash.rb: Removed.
1456         * ES6SampleBench/Air/symbols.js: Removed.
1457         * ES6SampleBench/Air/test.html: Removed.
1458         * ES6SampleBench/Air/test.js: Removed.
1459         * ES6SampleBench/Air/tmp.js: Removed.
1460         * ES6SampleBench/Air/tmp_base.js: Removed.
1461         * ES6SampleBench/Air/util.js: Removed.
1462         * ES6SampleBench/Basic: Removed.
1463         * ES6SampleBench/Basic/ast.js: Removed.
1464         * ES6SampleBench/Basic/basic-tests.yaml: Removed.
1465         * ES6SampleBench/Basic/basic.js: Removed.
1466         * ES6SampleBench/Basic/benchmark.js: Removed.
1467         * ES6SampleBench/Basic/caseless_map.js: Removed.
1468         * ES6SampleBench/Basic/lexer.js: Removed.
1469         * ES6SampleBench/Basic/number.js: Removed.
1470         * ES6SampleBench/Basic/parser.js: Removed.
1471         * ES6SampleBench/Basic/random.js: Removed.
1472         * ES6SampleBench/Basic/state.js: Removed.
1473         * ES6SampleBench/Basic/stress-test.js: Removed.
1474         * ES6SampleBench/Basic/test.html: Removed.
1475         * ES6SampleBench/Basic/test.js: Removed.
1476         * ES6SampleBench/Basic/util.js: Removed.
1477         * ES6SampleBench/air_benchmark.js: Removed.
1478         * ES6SampleBench/basic_benchmark.js: Removed.
1479         * ES6SampleBench/cli.js: Removed.
1480         * ES6SampleBench/driver.js: Removed.
1481         * ES6SampleBench/glue.js: Removed.
1482         * ES6SampleBench/index.html: Removed.
1483         * ES6SampleBench/results.js: Removed.
1484         * ES6SampleBench/stats.js: Removed.
1485         * ES6SampleBench/style.css: Removed.
1486
1487 2017-02-05  Zalan Bujtas  <zalan@apple.com>
1488
1489         Simple line layout: Add performance test with varying string and font-size to minimize width-cache hit.
1490         https://bugs.webkit.org/show_bug.cgi?id=167859
1491         <rdar://problem/30368070>
1492
1493         Reviewed by Antti Koivisto.
1494
1495         This is in preparation for webkit.org/b/167843.
1496
1497         * Layout/simple-line-layout-with-varying-content.html: Added.
1498
1499 2017-01-16  Filip Pizlo  <fpizlo@apple.com>
1500
1501         Add framerate baselines to the splay-detail test
1502         https://bugs.webkit.org/show_bug.cgi?id=167659
1503
1504         Reviewed by Geoffrey Garen.
1505
1506         * JetStream/Octane2/splay-detail.html:
1507
1508 2017-01-31  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1509
1510         [EFL][GTK] Skip some IndexedDB tests that time out on the Perf bots.
1511
1512         Unreviewed performance test gardening.
1513
1514         * Skipped:
1515
1516 2017-01-30  Zalan Bujtas  <zalan@apple.com>
1517
1518         Simple line layout: Small tweaks to improve performance.
1519         https://bugs.webkit.org/show_bug.cgi?id=167611
1520         <rdar://problem/30274294>
1521
1522         Reviewed by Simon Fraser.
1523
1524         * Layout/simple-line-layout-non-repeating-text.html: Added.
1525
1526 2017-01-13  Said Abou-Hallawa  <sabouhallawa@apple.com>
1527
1528         26 MotionMark performance tests failing
1529         https://bugs.webkit.org/show_bug.cgi?id=166854
1530
1531         Reviewed by Ryosuke Niwa.
1532         
1533         Skip running MotionMark on WebKit perf bots.
1534
1535         * Skipped:
1536
1537 2017-01-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
1538
1539         Rename the directory and the files of MotionMark from Animometer to MotionMark
1540         https://bugs.webkit.org/show_bug.cgi?id=166659
1541
1542         Reviewed by Jon Lee.
1543         
1544         Rename the directory and the files of the benchmark to its new name.
1545
1546         * MotionMark/developer.html: Renamed from PerformanceTests/Animometer/developer.html.
1547         * MotionMark/index.html: Renamed from PerformanceTests/Animometer/index.html.
1548         * MotionMark/resources/debug-runner/d3.min.js: Renamed from PerformanceTests/Animometer/resources/debug-runner/d3.min.js.
1549         * MotionMark/resources/debug-runner/graph.js: Renamed from PerformanceTests/Animometer/resources/debug-runner/graph.js.
1550         * MotionMark/resources/debug-runner/motionmark.css: Renamed from PerformanceTests/Animometer/resources/debug-runner/animometer.css.
1551         * MotionMark/resources/debug-runner/motionmark.js: Renamed from PerformanceTests/Animometer/resources/debug-runner/animometer.js.
1552         * MotionMark/resources/debug-runner/tests.js: Renamed from PerformanceTests/Animometer/resources/debug-runner/tests.js.
1553         * MotionMark/resources/extensions.js: Renamed from PerformanceTests/Animometer/resources/extensions.js.
1554         * MotionMark/resources/runner/benchmark-runner.js: Renamed from PerformanceTests/Animometer/resources/runner/benchmark-runner.js.
1555         * MotionMark/resources/runner/crystal.svg: Renamed from PerformanceTests/Animometer/resources/runner/crystal.svg.
1556         * MotionMark/resources/runner/lines.svg: Renamed from PerformanceTests/Animometer/resources/runner/lines.svg.
1557         * MotionMark/resources/runner/logo.svg: Renamed from PerformanceTests/Animometer/resources/runner/logo.svg.
1558         * MotionMark/resources/runner/motionmark.css: Renamed from PerformanceTests/Animometer/resources/runner/animometer.css.
1559         * MotionMark/resources/runner/motionmark.js: Renamed from PerformanceTests/Animometer/resources/runner/animometer.js.
1560         * MotionMark/resources/runner/tests.js: Renamed from PerformanceTests/Animometer/resources/runner/tests.js.
1561         * MotionMark/resources/statistics.js: Renamed from PerformanceTests/Animometer/resources/statistics.js.
1562         * MotionMark/resources/strings.js: Renamed from PerformanceTests/Animometer/resources/strings.js.
1563         * MotionMark/tests/3d/resources/webgl.js: Renamed from PerformanceTests/Animometer/tests/3d/resources/webgl.js.
1564         * MotionMark/tests/3d/webgl.html: Renamed from PerformanceTests/Animometer/tests/3d/webgl.html.
1565         * MotionMark/tests/bouncing-particles/bouncing-canvas-images.html: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/bouncing-canvas-images.html.
1566         * MotionMark/tests/bouncing-particles/bouncing-canvas-shapes.html: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/bouncing-canvas-shapes.html.
1567         * MotionMark/tests/bouncing-particles/bouncing-css-images.html: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/bouncing-css-images.html.
1568         * MotionMark/tests/bouncing-particles/bouncing-css-shapes.html: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/bouncing-css-shapes.html.
1569         * MotionMark/tests/bouncing-particles/bouncing-svg-images.html: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/bouncing-svg-images.html.
1570         * MotionMark/tests/bouncing-particles/bouncing-svg-shapes.html: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/bouncing-svg-shapes.html.
1571         * MotionMark/tests/bouncing-particles/bouncing-tagged-images.html: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/bouncing-tagged-images.html.
1572         * MotionMark/tests/bouncing-particles/resources/bouncing-canvas-images.js: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-canvas-images.js.
1573         * MotionMark/tests/bouncing-particles/resources/bouncing-canvas-particles.js: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-canvas-particles.js.
1574         * MotionMark/tests/bouncing-particles/resources/bouncing-canvas-shapes.js: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-canvas-shapes.js.
1575         * MotionMark/tests/bouncing-particles/resources/bouncing-css-images.js: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-css-images.js.
1576         * MotionMark/tests/bouncing-particles/resources/bouncing-css-shapes.js: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-css-shapes.js.
1577         * MotionMark/tests/bouncing-particles/resources/bouncing-svg-images.js: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-svg-images.js.
1578         * MotionMark/tests/bouncing-particles/resources/bouncing-svg-particles.js: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-svg-particles.js.
1579         * MotionMark/tests/bouncing-particles/resources/bouncing-svg-shapes.js: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-svg-shapes.js.
1580         * MotionMark/tests/bouncing-particles/resources/bouncing-tagged-images.js: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-tagged-images.js.
1581         * MotionMark/tests/bouncing-particles/resources/image1.jpg: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/image1.jpg.
1582         * MotionMark/tests/bouncing-particles/resources/image2.jpg: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/image2.jpg.
1583         * MotionMark/tests/bouncing-particles/resources/image3.jpg: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/image3.jpg.
1584         * MotionMark/tests/bouncing-particles/resources/image4.jpg: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/image4.jpg.
1585         * MotionMark/tests/bouncing-particles/resources/image5.jpg: Renamed from PerformanceTests/Animometer/tests/bouncing-particles/resources/image5.jpg.
1586         * MotionMark/tests/dom/compositing-transforms.html: Renamed from PerformanceTests/Animometer/tests/dom/compositing-transforms.html.
1587         * MotionMark/tests/dom/focus.html: Renamed from PerformanceTests/Animometer/tests/dom/focus.html.
1588         * MotionMark/tests/dom/leaves.html: Renamed from PerformanceTests/Animometer/tests/dom/leaves.html.
1589         * MotionMark/tests/dom/particles.html: Renamed from PerformanceTests/Animometer/tests/dom/particles.html.
1590         * MotionMark/tests/dom/resources/compositing-transforms.js: Renamed from PerformanceTests/Animometer/tests/dom/resources/compositing-transforms.js.
1591         * MotionMark/tests/dom/resources/dom-particles.js: Renamed from PerformanceTests/Animometer/tests/dom/resources/dom-particles.js.
1592         * MotionMark/tests/dom/resources/focus.js: Renamed from PerformanceTests/Animometer/tests/dom/resources/focus.js.
1593         * MotionMark/tests/dom/resources/leaves.js: Renamed from PerformanceTests/Animometer/tests/dom/resources/leaves.js.
1594         * MotionMark/tests/master/canvas-stage.html: Renamed from PerformanceTests/Animometer/tests/master/canvas-stage.html.
1595         * MotionMark/tests/master/focus.html: Renamed from PerformanceTests/Animometer/tests/master/focus.html.
1596         * MotionMark/tests/master/image-data.html: Renamed from PerformanceTests/Animometer/tests/master/image-data.html.
1597         * MotionMark/tests/master/leaves.html: Renamed from PerformanceTests/Animometer/tests/master/leaves.html.
1598         * MotionMark/tests/master/multiply.html: Renamed from PerformanceTests/Animometer/tests/master/multiply.html.
1599         * MotionMark/tests/master/resources/canvas-stage.js: Renamed from PerformanceTests/Animometer/tests/master/resources/canvas-stage.js.
1600         * MotionMark/tests/master/resources/canvas-tests.js: Renamed from PerformanceTests/Animometer/tests/master/resources/canvas-tests.js.
1601         * MotionMark/tests/master/resources/compass.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/compass.svg.
1602         * MotionMark/tests/master/resources/compass100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/compass100.png.
1603         * MotionMark/tests/master/resources/console.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/console.svg.
1604         * MotionMark/tests/master/resources/console100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/console100.png.
1605         * MotionMark/tests/master/resources/contribute.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/contribute.svg.
1606         * MotionMark/tests/master/resources/contribute100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/contribute100.png.
1607         * MotionMark/tests/master/resources/debugger.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/debugger.svg.
1608         * MotionMark/tests/master/resources/debugger100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/debugger100.png.
1609         * MotionMark/tests/master/resources/focus.js: Renamed from PerformanceTests/Animometer/tests/master/resources/focus.js.
1610         * MotionMark/tests/master/resources/image-data.js: Renamed from PerformanceTests/Animometer/tests/master/resources/image-data.js.
1611         * MotionMark/tests/master/resources/inspector.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/inspector.svg.
1612         * MotionMark/tests/master/resources/inspector100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/inspector100.png.
1613         * MotionMark/tests/master/resources/layout.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/layout.svg.
1614         * MotionMark/tests/master/resources/layout100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/layout100.png.
1615         * MotionMark/tests/master/resources/leaves.js: Renamed from PerformanceTests/Animometer/tests/master/resources/leaves.js.
1616         * MotionMark/tests/master/resources/multiply.js: Renamed from PerformanceTests/Animometer/tests/master/resources/multiply.js.
1617         * MotionMark/tests/master/resources/particles.js: Renamed from PerformanceTests/Animometer/tests/master/resources/particles.js.
1618         * MotionMark/tests/master/resources/performance.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/performance.svg.
1619         * MotionMark/tests/master/resources/performance100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/performance100.png.
1620         * MotionMark/tests/master/resources/script.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/script.svg.
1621         * MotionMark/tests/master/resources/script100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/script100.png.
1622         * MotionMark/tests/master/resources/shortcuts.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/shortcuts.svg.
1623         * MotionMark/tests/master/resources/shortcuts100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/shortcuts100.png.
1624         * MotionMark/tests/master/resources/standards.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/standards.svg.
1625         * MotionMark/tests/master/resources/standards100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/standards100.png.
1626         * MotionMark/tests/master/resources/storage.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/storage.svg.
1627         * MotionMark/tests/master/resources/storage100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/storage100.png.
1628         * MotionMark/tests/master/resources/styles.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/styles.svg.
1629         * MotionMark/tests/master/resources/styles100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/styles100.png.
1630         * MotionMark/tests/master/resources/svg-particles.js: Renamed from PerformanceTests/Animometer/tests/master/resources/svg-particles.js.
1631         * MotionMark/tests/master/resources/text.js: Renamed from PerformanceTests/Animometer/tests/master/resources/text.js.
1632         * MotionMark/tests/master/resources/timeline.svg: Renamed from PerformanceTests/Animometer/tests/master/resources/timeline.svg.
1633         * MotionMark/tests/master/resources/timeline100.png: Renamed from PerformanceTests/Animometer/tests/master/resources/timeline100.png.
1634         * MotionMark/tests/master/svg-particles.html: Renamed from PerformanceTests/Animometer/tests/master/svg-particles.html.
1635         * MotionMark/tests/master/text.html: Renamed from PerformanceTests/Animometer/tests/master/text.html.
1636         * MotionMark/tests/resources/main.js: Renamed from PerformanceTests/Animometer/tests/resources/main.js.
1637         * MotionMark/tests/resources/math.js: Renamed from PerformanceTests/Animometer/tests/resources/math.js.
1638         * MotionMark/tests/resources/stage.css: Renamed from PerformanceTests/Animometer/tests/resources/stage.css.
1639         * MotionMark/tests/resources/star.svg: Renamed from PerformanceTests/Animometer/tests/resources/star.svg.
1640         * MotionMark/tests/resources/yin-yang.png: Renamed from PerformanceTests/Animometer/tests/resources/yin-yang.png.
1641         * MotionMark/tests/resources/yin-yang.svg: Renamed from PerformanceTests/Animometer/tests/resources/yin-yang.svg.
1642         * MotionMark/tests/simple/resources/simple-canvas-paths.js: Renamed from PerformanceTests/Animometer/tests/simple/resources/simple-canvas-paths.js.
1643         * MotionMark/tests/simple/resources/simple-canvas.js: Renamed from PerformanceTests/Animometer/tests/simple/resources/simple-canvas.js.
1644         * MotionMark/tests/simple/resources/tiled-canvas-image.js: Renamed from PerformanceTests/Animometer/tests/simple/resources/tiled-canvas-image.js.
1645         * MotionMark/tests/simple/simple-canvas-paths.html: Renamed from PerformanceTests/Animometer/tests/simple/simple-canvas-paths.html.
1646         * MotionMark/tests/simple/tiled-canvas-image.html: Renamed from PerformanceTests/Animometer/tests/simple/tiled-canvas-image.html.
1647         * MotionMark/tests/template/resources/template-canvas.js: Renamed from PerformanceTests/Animometer/tests/template/resources/template-canvas.js.
1648         * MotionMark/tests/template/resources/template-css.js: Renamed from PerformanceTests/Animometer/tests/template/resources/template-css.js.
1649         * MotionMark/tests/template/resources/template-svg.js: Renamed from PerformanceTests/Animometer/tests/template/resources/template-svg.js.
1650         * MotionMark/tests/template/template-canvas.html: Renamed from PerformanceTests/Animometer/tests/template/template-canvas.html.
1651         * MotionMark/tests/template/template-css.html: Renamed from PerformanceTests/Animometer/tests/template/template-css.html.
1652         * MotionMark/tests/template/template-svg.html: Renamed from PerformanceTests/Animometer/tests/template/template-svg.html.
1653
1654 2016-12-13  Brady Eidson  <beidson@apple.com>
1655
1656         Add a PerfTest targeting IDBObjectStore.get().
1657         https://bugs.webkit.org/show_bug.cgi?id=165816
1658
1659         Reviewed by Alex Christensen.
1660
1661         * IndexedDB/objectstore-get.html: Added.
1662
1663 2016-12-13  Brady Eidson  <beidson@apple.com>
1664
1665         Add a PerfTest targeting IDBIndex.get().
1666         https://bugs.webkit.org/show_bug.cgi?id=165803
1667
1668         Reviewed by Alex Christensen.
1669
1670         * IndexedDB/index-get.html: Added.
1671
1672 2016-12-12  Brady Eidson  <beidson@apple.com>
1673
1674         More IndexedDB perf tests.
1675         https://bugs.webkit.org/show_bug.cgi?id=165634
1676
1677         Reviewed by Sam Weinig.
1678
1679         * IndexedDB/index-multientry.html:
1680         * IndexedDB/large-number-of-inserts-responsiveness.html: Added.
1681         * IndexedDB/large-number-of-inserts.html: Added.
1682         * IndexedDB/objectstore-cursor.html: Added. Runtime cut in 1/4th compared to r209672.
1683
1684         * resources/runner.js:
1685
1686 2016-12-12  Commit Queue  <commit-queue@webkit.org>
1687
1688         Unreviewed, rolling out r209672.
1689         https://bugs.webkit.org/show_bug.cgi?id=165766
1690
1691         IndexedDB/objectstore-cursor.html perf test always times out
1692         (Requested by ap on #webkit).
1693
1694         Reverted changeset:
1695
1696         "More IndexedDB perf tests."
1697         https://bugs.webkit.org/show_bug.cgi?id=165634
1698         http://trac.webkit.org/changeset/209672
1699
1700 2016-12-10  Brady Eidson  <beidson@apple.com>
1701
1702         More IndexedDB perf tests.
1703         https://bugs.webkit.org/show_bug.cgi?id=165634
1704
1705         Reviewed by Sam Weinig.
1706
1707         * IndexedDB/index-multientry.html:
1708         * IndexedDB/large-number-of-inserts-responsiveness.html: Added.
1709         * IndexedDB/large-number-of-inserts.html: Added.
1710         * IndexedDB/objectstore-cursor.html: Added.
1711         
1712         * resources/runner.js: Add "track responsiveness" functionality to PerfTestRunner.
1713
1714 2016-12-06  Filip Pizlo  <fpizlo@apple.com>
1715
1716         Concurrent GC should be stable enough to land enabled
1717         https://bugs.webkit.org/show_bug.cgi?id=164990
1718
1719         Reviewed by Geoffrey Garen.
1720         
1721         Made CDjs more configurable and refined the "large.js" configuration. I was using that one and
1722         the new "long.js" configuration to tune concurrent eden GCs.
1723         
1724         Added a new way of running Splay in browser, which using chartjs to plot the execution times of
1725         2000 iterations. This includes the minified chartjs.
1726
1727         * JetStream/Octane2/splay-detail.html: Added.
1728         * JetStream/cdjs/benchmark.js:
1729         (benchmarkImpl):
1730         (benchmark):
1731         * JetStream/cdjs/long.js: Added.
1732
1733 2016-12-07  Brady Eidson  <beidson@apple.com>
1734
1735         Add IDB perf tests stressing key size.
1736         https://bugs.webkit.org/show_bug.cgi?id=165567
1737
1738         Reviewed by Alex Christensen.
1739
1740         * IndexedDB/large-array-keys.html: Added.
1741         * IndexedDB/large-binary-keys.html: Added.
1742         * IndexedDB/large-string-keys.html: Added.
1743
1744 2016-12-05  Brady Eidson  <beidson@apple.com>
1745
1746         Add an IndexedDB perf test to PerformanceTests.
1747         https://bugs.webkit.org/show_bug.cgi?id=165430
1748
1749         Reviewed by Alex Christensen.
1750
1751         * IndexedDB/index-multientry.html: Added.
1752
1753 2016-12-02  Filip Pizlo  <fpizlo@apple.com>
1754
1755         ES6SampleBench should report an average for Steady State so that all of the numbers are comparable
1756         https://bugs.webkit.org/show_bug.cgi?id=165325
1757
1758         Reviewed by Saam Barati.
1759
1760         This makes all of the numbers that ES6SampleBench reports comparable to each other: they all speak of the time
1761         it took to run an iteration of something.
1762
1763         * ES6SampleBench/results.js:
1764         (Results.prototype.reportResult):
1765
1766 2016-11-18  Jer Noble  <jer.noble@apple.com>
1767
1768         Add some performance tests for various aspects of media loading and playback.
1769         https://bugs.webkit.org/show_bug.cgi?id=164977
1770
1771         Reviewed by Darin Adler.
1772
1773         Add new tests for a few aspects of media playback; namely: how quickly  media elements fire
1774         the "canplaythrough" event when all data is immediately available, how quickly HLS playback
1775         switches resolutions, and at what playback rate MSE-backed video can play without dropping
1776         frames. Skip these tests by default, as they're not runnable on all ports, and they require
1777         a webserver (run-webkit-httpd) to complete on macOS.
1778
1779         * Media/HLSCanPlayThrough.html: Added.
1780         * Media/HLSGearChange.html: Added.
1781         * Media/MSECanPlayThrough.html: Added.
1782         * Media/MSEPlaybackRate.html: Added.
1783         * Media/StandardCanPlayThrough.html: Added.
1784         * Media/hls/1080p/iframe_index.m3u8: Added.
1785         * Media/hls/1080p/prog_index.m3u8: Added.
1786         * Media/hls/1080p/test.ts: Added.
1787         * Media/hls/480p/iframe_index.m3u8: Added.
1788         * Media/hls/480p/prog_index.m3u8: Added.
1789         * Media/hls/480p/test.ts: Added.
1790         * Media/hls/720p/iframe_index.m3u8: Added.
1791         * Media/hls/720p/prog_index.m3u8: Added.
1792         * Media/hls/720p/test.ts: Added.
1793         * Media/hls/720p/test.ts.back: Added.
1794         * Media/hls/index.m3u8: Added.
1795         * Media/media-source-loader.js: Added.
1796         (MediaSourceLoader):
1797         (MediaSourceLoader.prototype.loadManifest):
1798         (MediaSourceLoader.prototype.loadManifestSucceeded):
1799         (MediaSourceLoader.prototype.loadManifestFailed):
1800         (MediaSourceLoader.prototype.loadMediaData):
1801         (MediaSourceLoader.prototype.loadMediaDataSucceeded):
1802         (MediaSourceLoader.prototype.loadMediaDataFailed):
1803         (MediaSourceLoader.prototype.get type):
1804         (MediaSourceLoader.prototype.get duration):
1805         (MediaSourceLoader.prototype.get initSegment):
1806         (MediaSourceLoader.prototype.get mediaSegmentsLength):
1807         (MediaSourceLoader.prototype.mediaSegments):
1808         (MediaSourceLoader.prototype.get everyMediaSegment):
1809         * Media/test-fragmented-video.json: Added.
1810         * Media/test-fragmented-video.mp4: Added.
1811         * Media/test.mp4: Added.
1812         * Skipped:
1813
1814 2016-11-18  Filip Pizlo  <fpizlo@apple.com>
1815
1816         Concurrent GC should be able to run splay in debug mode and earley/raytrace in release mode with no perf regression
1817         https://bugs.webkit.org/show_bug.cgi?id=164282
1818
1819         Reviewed by Geoffrey Garen and Oliver Hunt.
1820         
1821         CDjs is a fun benchmark for stressing concurrent GCs, but to really give the GC a good
1822         workout you need to increase the amount of work that the test does. This adds a second
1823         configuration of the benchmark that has more aircraft. It uses much more memory and causes us
1824         to do more GCs and those GCs take longer.
1825
1826         * JetStream/cdjs/benchmark.js:
1827         (benchmarkImpl):
1828         (benchmark):
1829         * JetStream/cdjs/large.js: Added.
1830
1831 2016-11-14  Filip Pizlo  <fpizlo@apple.com>
1832
1833         Unreviewed, revert unintended change.
1834
1835         * ES6SampleBench/Air/benchmark.js:
1836
1837 2016-10-03  Saam Barati  <sbarati@apple.com>
1838
1839         MapHash should speculate on the type of its child node
1840         https://bugs.webkit.org/show_bug.cgi?id=161922
1841
1842         Reviewed by Filip Pizlo.
1843
1844         I gave the main generator a name so it's easier to see what
1845         it is when using the sampling profiler.
1846
1847         * ES6SampleBench/Basic/ast.js:
1848         (Basic.Program):
1849
1850 2016-09-19  Sergio Villar Senin  <svillar@igalia.com>
1851
1852         [css-grid] Remove the x2 computation of row sizes with indefinite heights
1853         https://bugs.webkit.org/show_bug.cgi?id=162150
1854
1855         Reviewed by Darin Adler.
1856
1857         Added a new test case which checks the layout performance of grids inside other grids, i.e,
1858         grids acting both as grid container and grid item.
1859
1860         * Layout/nested-grid.html: Added.
1861
1862 2016-09-09  Simon Fraser  <simon.fraser@apple.com>
1863
1864         Perf test Animation/css-accelerated-animation.html failing
1865         https://bugs.webkit.org/show_bug.cgi?id=161795
1866
1867         Skip Animation/css-accelerated-animation.html since this only works as a MobileSafari
1868         perf test.
1869
1870         * Skipped:
1871
1872 2016-09-08  Simon Fraser  <simon.fraser@apple.com>
1873
1874         Add a content-animation test with accelerated CSS animations
1875         https://bugs.webkit.org/show_bug.cgi?id=161776
1876
1877         Reviewed by Dean Jackson.
1878
1879         Add a test that measures the frame rate of accelerated CSS animations.
1880
1881         This is like css-animation.html (which animates 'left' and 'top') but animates
1882         transforms instead. In order to get animation in X and Y we make two nested elements
1883         and set transformX() on one, and transformY() on the other.
1884
1885         * Animation/css-accelerated-animation.html: Added.
1886
1887 2016-08-23  Saam Barati  <sbarati@apple.com>
1888
1889         It should be easy to run ES6SampleBench from the jsc shell
1890         https://bugs.webkit.org/show_bug.cgi?id=161085
1891
1892         Reviewed by Yusuke Suzuki.
1893
1894         This patch makes ES6 sample bench runnable through the `jsc` shell.
1895         To do that, you need to be in the PerformanceTests/ES6SampleBench
1896         directory and run `jsc cli.js`. To make this work, the benchmark
1897         is now aware of being run in two modes: via the browser, and via
1898         the shell. Each entry point will set a variable `isInBrowser`,
1899         and the benchmark will do different things based on if that
1900         variable is true or false.
1901
1902         * ES6SampleBench/Air/benchmark.js:
1903         * ES6SampleBench/Air/stress-test.js:
1904         * ES6SampleBench/Basic/benchmark.js:
1905         (runBenchmark):
1906         * ES6SampleBench/Basic/stress-test.js:
1907         * ES6SampleBench/air_benchmark.js:
1908         * ES6SampleBench/basic_benchmark.js:
1909         * ES6SampleBench/cli.js: Added.
1910         (return.doRun):
1911         (makeBenchmarkRunner):
1912         * ES6SampleBench/driver.js:
1913         (Driver):
1914         (Driver.prototype._recomputeSummary):
1915         (Driver.prototype._iterate.window.setTimeout):
1916         (Driver.prototype._iterate):
1917         (Driver.prototype._updateIterations):
1918         * ES6SampleBench/glue.js:
1919         (reportResult):
1920         * ES6SampleBench/index.html:
1921         * ES6SampleBench/results.js:
1922         (Results):
1923         (Results.prototype.reportRunning):
1924         (Results.prototype.reportDone):
1925         (Results.prototype.reportError):
1926         * ES6SampleBench/stats.js:
1927         (Stats):
1928         (Stats.prototype.toString):
1929         (Stats.prototype._update):
1930
1931 2016-08-01  Said Abou-Hallawa  <sabouhallawa@apple.com>
1932
1933         Add an option to run the MotionMark tests with classic tile size (512x512)
1934         https://bugs.webkit.org/show_bug.cgi?id=160371
1935
1936         Reviewed by Darin Adler.
1937
1938         Setting the body to large size (3000x3000) and overflow to scroll forces
1939         the classic tile size (512x512). This option does not affect the canvas
1940         tests because the canvas is displayed on one tile regardless of its size.
1941
1942         * Animometer/developer.html:
1943         * Animometer/resources/debug-runner/animometer.css:
1944         (body.showing-test-container.tiles-big):
1945         (body.showing-test-container.tiles-classic):
1946         * Animometer/resources/debug-runner/animometer.js:
1947         * Animometer/resources/runner/animometer.js:
1948         (window.benchmarkController.startBenchmark):
1949
1950 2016-06-29  Filip Pizlo  <fpizlo@apple.com>
1951
1952         Generators violate bytecode liveness validation
1953         https://bugs.webkit.org/show_bug.cgi?id=159279
1954
1955         Reviewed by Yusuke Suzuki.
1956
1957         Add Basic to our test harness.
1958
1959         Also made some cosmetic changes to the benchmark harness.
1960
1961         * ES6SampleBench/Basic/basic-tests.yaml: Added.
1962         * ES6SampleBench/Basic/stress-test.js: Added.
1963         (preciseTime):
1964         * ES6SampleBench/driver.js:
1965         (Driver):
1966         (Driver.prototype.start):
1967         (Driver.prototype.reportError):
1968         * ES6SampleBench/glue.js:
1969         * ES6SampleBench/index.html:
1970
1971 2016-06-28  Filip Pizlo  <fpizlo@apple.com>
1972
1973         ES6SampleBench should have a harness
1974         https://bugs.webkit.org/show_bug.cgi?id=159246
1975
1976         Reviewed by Saam Barati.
1977         
1978         This adds a simple web harness for ES6SampleBench. It runs Air and Basic 10 times for 200
1979         iterations each and reports three metrics:
1980         
1981         First iteration: the time it takes for the first iteration to run. This is the first
1982         iteration after the benchmark is loaded into the iframe, so it's representative of what
1983         would happen if one of these workloads only ran for a short time.
1984         
1985         Worst 2%: of the last 199 iterations, the average of the worst 2% iterations. If code like
1986         any of these workloads was used in an important event handler, you'd want that code to run
1987         well in the worst case in addition to having great throughput.
1988         
1989         Steady state: the total of the last 199 iterations. This is representative of what would
1990         happen if you ran code like this for a long time.
1991         
1992         The total score is the geomean of the firstIteration/worstCase/steadyState numbers of the
1993         two benchmarks.
1994         
1995         The harness does statistics using Student's T-distribution confidence intervals.
1996
1997         * ES6SampleBench/Basic/benchmark.js:
1998         (Benchmark):
1999         * ES6SampleBench/air_benchmark.js: Added.
2000         * ES6SampleBench/basic_benchmark.js: Added.
2001         * ES6SampleBench/driver.js: Added.
2002         (Driver):
2003         (Driver.prototype.addBenchmark):
2004         (Driver.prototype.start):
2005         (Driver.prototype.reportResult):
2006         (Driver.prototype.reportError):
2007         (Driver.prototype._recomputeSummary.Geomean):
2008         (Driver.prototype._recomputeSummary.Geomean.prototype.add):
2009         (Driver.prototype._recomputeSummary.Geomean.prototype.get result):
2010         (Driver.prototype._recomputeSummary):
2011         (Driver.prototype._iterate):
2012         (Driver.prototype._updateIterations):
2013         * ES6SampleBench/glue.js: Added.
2014         * ES6SampleBench/index.html: Added.
2015         * ES6SampleBench/results.js: Added.
2016         (Results):
2017         (Results.prototype.get benchmark):
2018         (Results.prototype.reset):
2019         (Results.prototype.reportRunning):
2020         (Results.prototype.reportDone):
2021         (Results.prototype.reportResult.averageAbovePercentile):
2022         (Results.prototype.reportResult):
2023         (Results.prototype.reportError):
2024         * ES6SampleBench/stats.js: Added.
2025         (Stats):
2026         (Stats.prototype.reset):
2027         (Stats.prototype.add):
2028         (Stats.prototype.get numIterations):
2029         (Stats.prototype.valueForIteration):
2030         (Stats.get result.tDist):
2031         (Stats.prototype.get result):
2032         (Stats.prototype.toString):
2033         (Stats.prototype._update):
2034         * ES6SampleBench/style.css: Added.
2035         (body):
2036         (body, th, tr):
2037         (h1, h2, h3, h4):
2038         (h1):
2039         (h2):
2040         (h3):
2041         (hr):
2042         (address):
2043         (img):
2044         (.underline):
2045         (ol.loweralpha):
2046         (ol.upperalpha):
2047         (ol.lowerroman):
2048         (ol.upperroman):
2049         (ol.arabic):
2050         (.banner-link:link, .banner-link:visited):
2051         (:link, :visited):
2052         (h4 :link, h4 :visited, h5 :link, h5 :visited, h6 :link, h6 :visited):
2053         (.anchor:link, .anchor:visited):
2054         (* > .anchor:link, * > .anchor:visited):
2055         (span:hover .anchor):
2056         (a.forbidden, span.forbidden):
2057         (a.missing:hover):
2058         (a.closed:link, a.closed:visited, span.closed):
2059         (pre):
2060         (div.code):
2061         (div.code pre):
2062         (dt):
2063         (dd):
2064         (dd:last-child):
2065         (.site-logo):
2066         (.site-logo .tagline):
2067         (table):
2068         (#contents):
2069         (p):
2070         (p:last-child):
2071         (th):
2072         (td):
2073
2074 2016-06-28  Jon Lee  <jonlee@apple.com>
2075
2076         Update focus test
2077         https://bugs.webkit.org/show_bug.cgi?id=159242
2078         rdar://problem/27070007
2079
2080         Reviewed by Dean Jackson.
2081         Provisionally reviewed by Said Abou-Hallawa.
2082
2083         Move previous test to dom suite, and update the test for better reporting of frame rate, although
2084         it uses a different rendering path.
2085
2086         * Animometer/resources/debug-runner/tests.js: Add to dom suite.
2087         * Animometer/tests/dom/focus.html: Copied from PerformanceTests/Animometer/tests/master/focus.html.
2088         * Animometer/tests/dom/resources/focus.js: Copied from PerformanceTests/Animometer/tests/master/resources/focus.js.
2089         * Animometer/tests/master/focus.html: Remove center element.
2090         * Animometer/tests/master/resources/focus.js: Use narrower size range with smaller particles. Remove the
2091         container elements. Inline getBlurValue and getOpacityValue since they are only called once.
2092
2093 2016-06-28  Filip Pizlo  <fpizlo@apple.com>
2094
2095         Move Air.js and Basic into ES6SampleBench
2096
2097         Rubber stamped by Geoffrey Garen.
2098         
2099         We want to group our ES6 benchmarks together, and eventually, we want to give them a
2100         common harness.
2101
2102         * Air.js: Removed.
2103         * Air.js/README.md: Removed.
2104         * Air.js/airjs-tests.yaml: Removed.
2105         * Air.js/all.js: Removed.
2106         * Air.js/allocate_stack.js: Removed.
2107         * Air.js/arg.js: Removed.
2108         * Air.js/basic_block.js: Removed.
2109         * Air.js/benchmark.js: Removed.
2110         * Air.js/code.js: Removed.
2111         * Air.js/custom.js: Removed.
2112         * Air.js/frequented_block.js: Removed.
2113         * Air.js/insertion_set.js: Removed.
2114         * Air.js/inst.js: Removed.
2115         * Air.js/liveness.js: Removed.
2116         * Air.js/make_dist.sh: Removed.
2117         * Air.js/opcode.js: Removed.
2118         * Air.js/payload-airjs-ACLj8C.js: Removed.
2119         * Air.js/payload-gbemu-executeIteration.js: Removed.
2120         * Air.js/payload-imaging-gaussian-blur-gaussianBlur.js: Removed.
2121         * Air.js/payload-typescript-scanIdentifier.js: Removed.
2122         * Air.js/reg.js: Removed.
2123         * Air.js/stack_slot.js: Removed.
2124         * Air.js/stress-test.js: Removed.
2125         * Air.js/strip-hash.rb: Removed.
2126         * Air.js/symbols.js: Removed.
2127         * Air.js/test.html: Removed.
2128         * Air.js/test.js: Removed.
2129         * Air.js/tmp.js: Removed.
2130         * Air.js/tmp_base.js: Removed.
2131         * Air.js/util.js: Removed.
2132         * Basic: Removed.
2133         * Basic/ast.js: Removed.
2134         * Basic/basic.js: Removed.
2135         * Basic/benchmark.js: Removed.
2136         * Basic/caseless_map.js: Removed.
2137         * Basic/lexer.js: Removed.
2138         * Basic/number.js: Removed.
2139         * Basic/parser.js: Removed.
2140         * Basic/random.js: Removed.
2141         * Basic/state.js: Removed.
2142         * Basic/test.html: Removed.
2143         * Basic/test.js: Removed.
2144         * Basic/util.js: Removed.
2145         * ES6SampleBench: Added.
2146         * ES6SampleBench/Air: Copied from PerformanceTests/Air.js.
2147         * ES6SampleBench/Basic: Copied from PerformanceTests/Basic.
2148         * Skipped:
2149
2150 2016-06-24  Filip Pizlo  <fpizlo@apple.com>
2151
2152         Add a ES6 generator benchmark
2153         https://bugs.webkit.org/show_bug.cgi?id=159101
2154
2155         Rubber stamped by Keith Miller.
2156         
2157         This adds a Basic interpreter loosely based on ECMA-55:
2158         
2159         http://www.ecma-international.org/publications/files/ECMA-ST-WITHDRAWN/ECMA-55,%201st%20Edition,%20January%201978.pdf
2160         
2161         It includes a lexer that is a generator, a parser that uses regular expressions, and an AST
2162         walk interpreter where the walking functions for statements are generators that call each
2163         other with yield*. This enables the interpreter to look like an AST walk even though it can
2164         yield at INPUT and PRINT statements.
2165         
2166         This also uses for-of, classes, Map, and WeakMap. It also uses deprecated-but-awesome RegExp
2167         features like RegExp.lastMatch and RegExp.rightContext. I did it that way because this is
2168         how I've always written lexers in dynamic languages; see offlineasm's lex() method in
2169         parser.rb for example.
2170         
2171         The benchmark runs a handful of simple Basic programs. The longest-running one computes
2172         prime numbers.
2173         
2174         Includes a command-line and web harness. On my machine it runs in 2-3 seconds.
2175
2176         * Basic: Added.
2177         * Basic/ast.js: Added.
2178         (Basic.NumberApply):
2179         (Basic.Variable):
2180         (Basic.Const):
2181         (Basic.NumberPow):
2182         (Basic.NumberMul):
2183         (Basic.NumberDiv):
2184         (Basic.NumberNeg):
2185         (Basic.NumberAdd):
2186         (Basic.NumberSub):
2187         (Basic.StringVar):
2188         (Basic.Equals):
2189         (Basic.NotEquals):
2190         (Basic.LessThan):
2191         (Basic.GreaterThan):
2192         (Basic.LessEqual):
2193         (Basic.GreaterEqual):
2194         (Basic.GoTo):
2195         (Basic.GoSub):
2196         (Basic.Def):
2197         (Basic.Let):
2198         (Basic.If):
2199         (Basic.Return):
2200         (Basic.Stop):
2201         (Basic.On):
2202         (sideState.shouldStop):
2203         (Basic.For):
2204         (Basic.Next):
2205         (Basic.Print):
2206         (Basic.Input):
2207         (Basic.Read):
2208         (Basic.Restore):
2209         (Basic.Dim):
2210         (Basic.Randomize):
2211         (Basic.End):
2212         (Basic.Program):
2213         * Basic/basic.js: Added.
2214         (prepare):
2215         (simulate):
2216         * Basic/benchmark.js: Added.
2217         (Benchmark):
2218         (Benchmark.prototype.runIteration.expect):
2219         (Benchmark.prototype.runIteration):
2220         (runBenchmark):
2221         * Basic/caseless_map.js: Added.
2222         (CaselessMap):
2223         * Basic/lexer.js: Added.
2224         (lex.consumeWhitespace):
2225         (lex.consume):
2226         (lex):
2227         * Basic/lexer_test.js: Added.
2228         * Basic/number.js: Added.
2229         (NumberValue):
2230         (NumberValue.prototype.get value):
2231         (NumberValue.prototype.apply):
2232         (NumberValue.prototype.leftApply):
2233         (NumberValue.prototype.assign):
2234         (NumberArray.):
2235         (NumberArray):
2236         (NumberArray.prototype.apply):
2237         (NumberArray.prototype.leftApply):
2238         (NumberFunction):
2239         (NumberFunction.prototype.apply):
2240         (NumberFunction.prototype.leftApply):
2241         (NativeFunction):
2242         (NativeFunction.prototype.apply):
2243         (NativeFunction.prototype.leftApply):
2244         * Basic/parser.js: Added.
2245         (parse):
2246         (parse.pushToken):
2247         (parse.peekToken):
2248         (parse.consumeKind):
2249         (parse.consumeToken):
2250         (parse.parseVariable):
2251         (parse.parseNumericExpression.parsePrimary):
2252         (parse.parseNumericExpression.parseFactor):
2253         (parse.parseNumericExpression.parseTerm):
2254         (parse.parseNumericExpression):
2255         (parse.parseConstant):
2256         (parse.parseStringExpression):
2257         (parse.isStringExpression):
2258         (parse.parseRelationalExpression):
2259         (parse.parseNonNegativeInteger):
2260         (parse.parseGoToStatement):
2261         (parse.parseGoSubStatement):
2262         (parse.parseStatement):
2263         (parse.parseStatements):
2264         * Basic/random.js: Added.
2265         (createRNG):
2266         (createRNGWithFixedSeed):
2267         (createRNGWithRandomSeed):
2268         * Basic/state.js: Added.
2269         (State):
2270         (State.prototype.getValue):
2271         (State.prototype.getSideState):
2272         (State.prototype.abort):
2273         (State.prototype.validate):
2274         * Basic/test.html: Added.
2275         * Basic/test.js: Added.
2276         * Basic/util.js: Added.
2277         (this.performance.performance.now.currentTime):
2278         (else.this.preciseTime.currentTime):
2279         (else.currentTime):
2280         * Skipped: Make sure that we don't run Basic yet.
2281
2282 2016-06-21  Jon Lee  <jonlee@apple.com>
2283
2284         Update canvas size when benchmark begins
2285         https://bugs.webkit.org/show_bug.cgi?id=159010
2286
2287         Reviewed by Dean Jackson.
2288
2289         Previously we would evaluate the media queries and assign the canvas size to the test
2290         on body.onload. Instead, do it once the user starts the benchmark.
2291
2292         * Animometer/resources/debug-runner/animometer.js: Move benchmarkController.determineCanvasSize()
2293         to benchmarkController._startBenchmark.
2294         * Animometer/resources/runner/animometer.js: Ditto.
2295
2296 2016-06-21  Jon Lee  <jonlee@apple.com>
2297
2298         Add new timestamp option
2299         https://bugs.webkit.org/show_bug.cgi?id=159006
2300
2301         Reviewed by Dean Jackson.
2302
2303         Add a new option to take timestamps from the rAF callback.
2304
2305         * Animometer/developer.html: Added option.
2306         * Animometer/tests/resources/main.js:
2307         (Benchmark): Fall back to using the rAF timestamp if performance.now()
2308         is not available.
2309         (Benchmark._animateLoop): Update how timestamp is set. Prefer to use
2310         local var instead of accessing private var.
2311
2312 2016-06-21  Jon Lee  <jonlee@apple.com>
2313
2314         Improvements to Animometer benchmark
2315         https://bugs.webkit.org/show_bug.cgi?id=157738
2316
2317         Reviewed by Dean Jackson.
2318         Provisionally reviewed by Said Abou-Hallawa.
2319
2320         Update tests.
2321
2322         * Animometer/tests/master/text.html: Ensure only three text sizes for
2323         the three canvases.
2324         * Animometer/tests/master/focus.html: Reduce the text size to fit with smaller
2325         particle sizes.
2326         * Animometer/tests/master/resources/focus.js: Remove the quadratic distribution for
2327         particle sizes, and make it linear. Reduce the size variance. Shuffle the math to
2328         reduce some calculations per frame. Fix the placement of the particles which might
2329         otherwise be culled.
2330         * Animometer/tests/master/resources/image-data.js: Reduce the particle size
2331         to encourage larger scores.
2332
2333 2016-06-21  Jon Lee  <jonlee@apple.com>
2334
2335         Improvements to Animometer benchmark
2336         https://bugs.webkit.org/show_bug.cgi?id=157738
2337
2338         Reviewed by Dean Jackson.
2339         Provisionally reviewed by Said Abou-Hallawa.
2340
2341         Include confidence interval for the final score, and store the canvas
2342         size in the serialization so that it is accurately shown in results.
2343
2344         * Animometer/developer.html: Add a "confidence" div.
2345         * Animometer/index.html: Ditto. Convert "mean" to "confidence".
2346         * Animometer/resources/debug-runner/animometer.js: Look at options, and
2347         if the configuration is included, update the body class based on it
2348         (similar to what we do when we first load the page). That way, if you
2349         drag-and-drop previous results in, that configuration is reflected in
2350         the dashboard. Show the full confidence interval.
2351
2352         * Animometer/resources/debug-runner/animometer.css:
2353         * Animometer/resources/debug-runner/animometer.js: Style update.
2354         * Animometer/resources/runner/animometer.css:
2355
2356         * Animometer/resources/runner/animometer.js:
2357         (_processData): Propagate the confidence interval values out and calculate
2358         the lower and upper bounds. For now, shortcut the aggregate calculation,
2359         since we only go through one iteration.
2360         (this._processData.calculateScore): Propagate the confidence interval out
2361         to be next to the score. Depending on the controller these values are
2362         calculated differently.
2363         (this._processData._getResultsProperty): Convenience function.
2364         (this._processData.get score): Refactor.
2365         (this._processData.get scoreLowerBound): Get the aggregate lower bound.
2366         (this._processData.get scoreUpperBound): Get the aggregate upper bound.
2367         (window.sectionsManager.setSectionScore):
2368         (window.benchmarkController._startBenchmark): When the benchmark starts, note
2369         the canvas size and add it to options. That way it will be automatically be
2370         serialized.
2371         (window.benchmarkController.showResults): Include the maximum deviation
2372         percentage.
2373         * Animometer/resources/runner/lines.svg: Make the background line up with the
2374         skew.
2375         * Animometer/resources/runner/tests.js:
2376         (Headers.details.text): Refactor.
2377         * Animometer/resources/statistics.js:
2378         (Statistics.largestDeviationPercentage): Convenience function to calculate
2379         the deviation percentage on either end and return the largest deviation.
2380         * Animometer/resources/strings.js:
2381
2382         Allow specifying a regression profile to use instead of taking the one
2383         with the lowest error.
2384
2385         Address an issue in the focus test when the regression calculated ends
2386         up overestimating the change point, causing a cascade of tougher
2387         ramps. The reason behind this is that at max complexity of an initial
2388         ramp, the frame length is very high, and it influences the second
2389         segment of the piecewise regression strongly, causing it to be very
2390         steep. As a result, the first segment, expected to be flat, ends up
2391         covering a higher range of complexity. That makes the change point
2392         much higher than it should be. To avoid this, we will add a sanity
2393         check on the maximum value of the ramp. If the regression's projected
2394         value at the maximum complexity of the current ramp is very slow (less
2395         than 20 fps), 1) reduce the maximum complexity by 20%, and 2) do not
2396         include the regression's change point in the change point estimator.
2397         That estimator is used as the midpoint of the next ramp, and including
2398         the change point from a poor regression can bake in the error. The
2399         controller already knows how to adjust for ramps that are too easy for
2400         the system.
2401
2402         * Animometer/resources/runner/animometer.js:
2403         (this._processData.findRegression): Takes a preferred profile and gives that to
2404         Regression.
2405         (this._processData.calculateScore): With the ramp controller, take the profile
2406         of the ramp that was used the most when calculating the ramp's regression. That
2407         profile is what is used for the test's score.
2408         * Animometer/resources/statistics.js:
2409         (Regression.Utilities.createClass): Update to take an options object which can
2410         specify a profile to calculate with. Otherwise it will continue to use both and
2411         select the one with the lower error.
2412         (_calculateRegression): Fix an issue where we claim 0 error if the regression
2413         calculation fails due to divide-by-zero. Instead reject that regression calculation
2414         by giving it Number.MAX_VALUE.
2415         * Animometer/resources/strings.js: New strings for marking a regression as flat
2416         or slope.
2417         * Animometer/tests/resources/main.js:
2418         (RampController): Rename the thresholds for clarity. Add a threshold that, if
2419         exceeded, will lower the maximum complexity of the next ramp.
2420         (tune): Relax the cdf check to consider whether the interval definitely falls in
2421         the desired frame length threshold.
2422         (processSamples): Include the profile in the ramp.
2423
2424         Update ramp controller test. Increase the length of the test to 30 seconds, and extend
2425         the interval to 120 ms during sampling. Improve the estimation of the ramp parameters.
2426
2427         * Animometer/developer.html: Change default to 30 seconds, and don't show the progress bar
2428         by default.
2429         * Animometer/resources/runner/animometer.js: Change default to 30 seconds.
2430         * Animometer/tests/resources/main.js: A number of improvements to the ramp controller, in
2431         the order in which they appear in the patch:
2432
2433         - With a longer test length use longer ramps with longer intervals to get more data at each
2434         complexity. Keep the 100 ms interval length during the ramp up phase since we don't need to
2435         spend more time there to find the right order of magnitude, but increase it during the
2436         ramps to 120 ms.
2437         - The ramp linearly interpolates the complexity to render based on its timestamp, but it would
2438         never sample the minimum complexity. Instead of lerping max to min complexity from time
2439         0 to t where t is the ramp length, instead lerp from 0 to (t - intervalSampleLength) so that
2440         we can have at least one interval sample at the min complexity for that ramp.
2441         - Some regression calculations only come out with one line segment rather than the two
2442         we expect. This could be due to a noisy ramp or the ramp's range is too narrow. If that's the
2443         case, influence the minimum complexity of the next ramp towards the lowest bound of 1, so that
2444         we ensure that at least part of the ramp is covering a complexity range that the system can
2445         handle at full 60.
2446         - Remove an assignment to interpolatedFrameLength since that is never subsequently used.
2447
2448         Update the format used to serialize the results for analysis.
2449
2450         Each data point used to have named properties for fields like complexity and frame rate.
2451         In addition the serialized numbers had rounding errors that took up many characters.
2452         Update the format by introducing a new data container called SampleData, which contains a
2453         field map. The map maps a string to an array index. Each data point is an array, so, to
2454         get a stat, use the field map to get the array index into the data point. This allows future
2455         versions to track other data, and reduces the size of the output string by two-thirds.
2456
2457         * Animometer/resources/extensions.js:
2458         (Utilities.toFixedNumber): Add convenience function that truncates the number to a fixed
2459         precision, and converts it back to a number.
2460         (SampleData): New class that contains sample data and a field map that maps properties to
2461         an array index.
2462         (get length): Number of data points.
2463         (addField): Add a field to the field map.
2464         (push): Add a data point.
2465         (sort): Sort the data.
2466         (slice): Return new SampleData object with sliced data.
2467         (forEach): Iterate over the data with provided function.
2468         (createDatum):
2469         (getFieldInDatum): Returns the data point associated with the field name by looking it up
2470         in the field map in the datum provided, which can be the datum object itself (an array) or
2471         an index into the data member variable.
2472         (setFieldInDatum): Sets the data point associated with the field name.
2473         (at): Returns the data point at the provided index.
2474         (toArray): Serializes the data where the field map serves as property names for each point.
2475
2476         * Animometer/resources/debug-runner/graph.js:
2477         (updateGraphData): Remove unused _testData. Convert the data to the old array format for the
2478         graph to use, since the old format was much easier to work with when displaying the graphs.
2479         (onGraphTypeChanged): For some controllers, no alternative score or mean is provided.
2480         * Animometer/resources/runner/animometer.css:
2481         * Animometer/resources/runner/animometer.js: Refactor to use SampleData. Update JSON output
2482         to only go to 3 digits of precision for purposes of reducing the data size.
2483         * Animometer/resources/strings.js: Add new strings to put into the field maps.
2484         * Animometer/tests/resources/main.js: Refactor to use SampleData.
2485
2486         * Animometer/developer.html:
2487         * Animometer/index.html: Restructure results table for both pages. Add charset attribute to
2488         tests.js include.
2489         * Animometer/resources/debug-runner/animometer.css: Clear out styles from release runner.
2490         * Animometer/resources/debug-runner/graph.js:
2491         (onGraphTypeChanged): Update score and mean if bootstrap results are available from the
2492         controller, since not all controllers do bootstrapping.
2493         * Animometer/resources/debug-runner/tests.js: Update header text.
2494         * Animometer/resources/runner/animometer.css: Include confidence interval in results.
2495         * Animometer/resources/runner/animometer.js:
2496         (ResultsTable._addHeader): Header contents can be HTML, so use innerHTML instead.
2497         (ResultsTable._addBody): Add tbody element.
2498         (ResultsTable._addTest): Allow a data cell to invoke a JS function to get its contents.
2499         (window.benchmarkController.showResults): Add table that includes tests' confidence intervals.
2500         * Animometer/resources/runner/tests.js:
2501         (Headers.details.text): Add new details table that includes bootstrap confidence interval.
2502         The interval can be asymmetric, but for simplicity, report the maximum deviation percentage
2503         on either side of the bootstrap median.
2504         * Animometer/resources/statistics.js:
2505         (bootstrap): Include the confidence percentage in the return object.
2506
2507         Report canvas size in results.
2508
2509         * Animometer/developer.html: Add markup to indicate whether a small, medium, or large
2510         canvas was used.
2511         * Animometer/index.html: Ditto.
2512         * Animometer/resources/debug-runner/animometer.js: Call determineCanvasSize().
2513         * Animometer/resources/runner/animometer.css: Update styles to set the canvas based on the
2514         body class size.
2515         * Animometer/resources/runner/animometer.js:
2516         (window.benchmarkController.initialize): Update styles to set the canvas based on the
2517         body class size.
2518         (window.benchmarkController.determineCanvasSize): Run various media queries and set the body
2519         class based on the size of the device.
2520
2521         * Animometer/developer.html: Refactor to include the main CSS file, and redo
2522         the layout so that it doesn't rely on flexbox.
2523         * Animometer/resources/debug-runner/animometer.css:
2524         * Animometer/resources/debug-runner/animometer.js:
2525         (updateDisplay): Since various parts of the script alter the body class, we can't
2526         replace the className directly. Instead, remove all display-based values and then add
2527         the one that was selected.
2528         * Animometer/resources/debug-runner/graph.js:
2529         (updateGraphData): To set the size of the graph, use window.innerHeight.
2530         * Animometer/resources/runner/animometer.js:
2531         (window.sectionsManager.showSection): Since various parts of the script alter the body
2532         class, we can't replace the className directly. Remove all of the section classes
2533         individually and then add the one desired.
2534         * Animometer/tests/resources/stage.css: Remove -apple-system as a font to use in the
2535         stage.
2536
2537 2016-06-12  Filip Pizlo  <fpizlo@apple.com>
2538
2539         Fix round-down goof in Air.js's ShuffleCustom.forEachArg
2540         https://bugs.webkit.org/show_bug.cgi?id=158674
2541
2542         Reviewed by Michael Saboff.
2543         
2544         x / 3 * 3 is not how you round down to multiples of 3 in JavaScript. You need to do
2545         Math.floor(x / 3) * 3 instead.
2546         
2547         This is a benign change, because having extra arguments to a Shuffle is not something we
2548         actually take advantage of yet. But I think it's best to match the original C++ code's
2549         intent.
2550
2551         * Air.js/custom.js:
2552         (const.ShuffleCustom.forEachArg):
2553
2554 2016-06-11  Filip Pizlo  <fpizlo@apple.com>
2555
2556         Unreviewed, skip Air.js. It got unskipped when I renamed it from JSAir.
2557
2558         * Skipped:
2559
2560 2016-06-10  Filip Pizlo  <fpizlo@apple.com>
2561
2562         Make it easy to package Air.js
2563         https://bugs.webkit.org/show_bug.cgi?id=158652
2564
2565         Reviewed by Benjamin Poulain.
2566         
2567         If you want to give Air.js to someone, you can now do:
2568         
2569         cd PerformanceTests/Air.js
2570         ./make_dist.sh
2571         
2572         This will create Air.js.tar.gz and a directory called Air.js. If you want to send someone
2573         the benchmark, just send either of those things and tell them to look at index.html.
2574         
2575         You may have to edit make_dist.sh for wherever you have Markdown.pl. You can get that from
2576         https://daringfireball.net/projects/markdown/
2577
2578         * Air.js/make_dist.sh: Added.
2579         * Air.js/test.html:
2580
2581 2016-06-10  Filip Pizlo  <fpizlo@apple.com>
2582
2583         Unreviewed, make the link to test.html into an actual link.
2584
2585         * Air.js/README.md:
2586
2587 2016-06-10  Filip Pizlo  <fpizlo@apple.com>
2588
2589         Fix some text in Air.js/README.md
2590         https://bugs.webkit.org/show_bug.cgi?id=158650
2591
2592         Reviewed by Benjamin Poulain.
2593         
2594         I read the text again and found bugs:
2595         
2596         - We never actually say how to run the benchmark. This change adds a blurb about how to run
2597           it.
2598
2599         - We both say that allocateStack is responsible for the bulk of the running time and that
2600           we haven't measured where the bulk of the time is spent. This changes the text to say that
2601           it was a goal to make allocateStack be the hottest part of the benchmark, but that we did
2602           not measure this.
2603
2604         * Air.js/README.md:
2605
2606 2016-06-10  Filip Pizlo  <fpizlo@apple.com>
2607
2608         Air.js should have some documentation
2609         https://bugs.webkit.org/show_bug.cgi?id=158648
2610
2611         Reviewed by Keith Miller.
2612         
2613         I want to be able to point people at a document if they want to know more about this
2614         benchmark.
2615
2616         * Air.js/README.md: Added.
2617
2618 2016-06-10  Filip Pizlo  <fpizlo@apple.com>
2619
2620         Rename JSAir to Air.js.
2621
2622         Rubber stamped by Mark Lam.
2623
2624         * Air.js: Copied from PerformanceTests/JSAir.
2625         * Air.js/airjs-tests.yaml: Copied from PerformanceTests/JSAir/jsair-tests.yaml.
2626         * Air.js/benchmark.js: Copied from PerformanceTests/JSAir/benchmark.js.
2627         (Benchmark):
2628         * Air.js/jsair-tests.yaml: Removed.
2629         * Air.js/payload-airjs-ACLj8C.js: Copied from PerformanceTests/JSAir/payload-jsair-ACLj8C.js.
2630         * Air.js/payload-jsair-ACLj8C.js: Removed.
2631         * Air.js/stress-test.js: Copied from PerformanceTests/JSAir/stress-test.js.
2632         * Air.js/test.html: Copied from PerformanceTests/JSAir/test.html.
2633         * Air.js/test.js: Copied from PerformanceTests/JSAir/test.js.
2634         * JSAir: Removed.
2635         * JSAir/all.js: Removed.
2636         * JSAir/allocate_stack.js: Removed.
2637         * JSAir/arg.js: Removed.
2638         * JSAir/basic_block.js: Removed.
2639         * JSAir/benchmark.js: Removed.
2640         * JSAir/code.js: Removed.
2641         * JSAir/custom.js: Removed.
2642         * JSAir/frequented_block.js: Removed.
2643         * JSAir/insertion_set.js: Removed.
2644         * JSAir/inst.js: Removed.
2645         * JSAir/jsair-tests.yaml: Removed.
2646         * JSAir/liveness.js: Removed.
2647         * JSAir/opcode.js: Removed.
2648         * JSAir/payload-gbemu-executeIteration.js: Removed.
2649         * JSAir/payload-imaging-gaussian-blur-gaussianBlur.js: Removed.
2650         * JSAir/payload-jsair-ACLj8C.js: Removed.
2651         * JSAir/payload-typescript-scanIdentifier.js: Removed.
2652         * JSAir/reg.js: Removed.
2653         * JSAir/stack_slot.js: Removed.
2654         * JSAir/stress-test.js: Removed.
2655         * JSAir/strip-hash.rb: Removed.
2656         * JSAir/symbols.js: Removed.
2657         * JSAir/test.html: Removed.
2658         * JSAir/test.js: Removed.
2659         * JSAir/tmp.js: Removed.
2660         * JSAir/tmp_base.js: Removed.
2661         * JSAir/util.js: Removed.
2662
2663 2016-06-10  Filip Pizlo  <fpizlo@apple.com>
2664
2665         JSC Stress Test failing: jsair-tests.yaml/test.js.ftl-eager-no-cjit
2666         https://bugs.webkit.org/show_bug.cgi?id=158571
2667
2668         Reviewed by Keith Miller.
2669         
2670         Introduce a different harness for run-jsc-stress-tests, which runs for a minimum of 10
2671         iterations and then tries to do any number of "bonus" iterations until it's been running for
2672         two seconds. Since this is the sort of test that isn't really meant to stress anything in
2673         particular, I think it's OK if it is time-limited in this way. The worst case is that some
2674         of its failures will be flaky, but I think that they would have been flaky anyway given the
2675         complexity of the test.
2676
2677         * JSAir/benchmark.js:
2678         (Benchmark):
2679         (Benchmark.prototype.runIteration):
2680         (benchmark): Deleted.
2681         * JSAir/jsair-tests.yaml:
2682         * JSAir/stress-test.js: Added.
2683         (preciseTime):
2684         * JSAir/test.html:
2685         * JSAir/test.js:
2686
2687 2016-06-09  Filip Pizlo  <fpizlo@apple.com>
2688
2689         Unreviewed, teach the perf bots not to run JSAir.
2690
2691         * Skipped:
2692
2693 2016-06-08  Filip Pizlo  <fpizlo@apple.com>
2694
2695         Use more ES6 features in JSAir
2696         https://bugs.webkit.org/show_bug.cgi?id=158497
2697
2698         Reviewed by Keith Miller.
2699         
2700         This improves JSAir with the following ES6 features suggested by JoePeck:
2701         
2702         - String interpolation.
2703         - Destructuring inside PatchCustom.
2704         - Default arguments.
2705         
2706         All of these things are on hot paths.
2707         
2708         Note that I didn't use string interpolation everywhere that I could, only in those places
2709         where it made the code more readable. In Ruby, I used the style that if the interpolation
2710         expression has any non-trivial stuff (like a ternary operator, a chain of calls, or embedded
2711         strings) then it's better to use regular strcat. I think that's what I carried over to here.
2712         
2713         Note that the previous change (Add result validation to JSAir) also made the Proxy code not
2714         dead, though it's not necessarily on the hot path. The Proxy isn't called into frequently
2715         but it's used from a function that is otherwise hot, so if calling into the Proxy prevents
2716         that function from being optimized then it will hurt so good.
2717         
2718         I also reenabled tail calls in a few places.
2719         
2720         This change doesn't seem to change the performance of the benchmark for us. That's expected
2721         since these ES6 features are cheap. Note that this claim doesn't include Proxy, which was
2722         added in a separate change and that change did make the benchmark overall more expensive.
2723
2724         * JSAir/allocate_stack.js:
2725         (allocateStack):
2726         * JSAir/arg.js:
2727         (Arg.createBitImm64):
2728         (Arg.createAddr):
2729         (Arg.createStack):
2730         (Arg.logScale):
2731         (Arg.createIndex):
2732         * JSAir/basic_block.js:
2733         (BasicBlock.get headerString):
2734         (BasicBlock.prototype.get if):
2735         (BasicBlock):
2736         * JSAir/benchmark.js:
2737         (benchmark):
2738         * JSAir/code.js:
2739         (Code):
2740         (Code.prototype.addBlock):
2741         (Code.prototype.addStackSlot):
2742         (Code.prototype.newTmp):
2743         (Code.prototype.get size):
2744         (Code.prototype.get blocks):
2745         (Code.prototype.get stackSlots):
2746         (Code.prototype.tmps):
2747         (Code.prototype.get callArgAreaSize):
2748         (Code.prototype.toString):
2749         * JSAir/custom.js:
2750         (const.PatchCustom.forEachArg):
2751         * JSAir/inst.js:
2752         (Inst):
2753         * JSAir/reg.js:
2754         (Reg.prototype.toString):
2755         * JSAir/util.js:
2756         (symbolName):
2757         (lowerSymbolName):
2758
2759 2016-06-07  Filip Pizlo  <fpizlo@apple.com>
2760
2761         Add result validation to JSAir
2762         https://bugs.webkit.org/show_bug.cgi?id=158493
2763
2764         Reviewed by Saam Barati.
2765         
2766         This adds the ability to hash a Code in a way that matches the C++ code's hashing of Code.
2767         This allows us to check if the Code that JSAir sees is the code that C++ saw. We use this to
2768         check the Code before and after allocateStack, and compare against hashes we got from C++.
2769         
2770         Doing this uncovered bugs. roundUpToMultipleOf wasn't doing anything. allocateStack was not
2771         allocating things correctly because I was concatting a Set to an Array, which doesn't really
2772         work. Now these bugs are fixed.
2773         
2774         The checking step adds to the running time so I reduced the number of iterations. The
2775         benchmark spends a decent amount of its time computing Code hashes; I think it's around 1/3
2776         total. This is probably OK. It's better to verify the results even if the running time is
2777         not all in the "core" of the algorithm.
2778         
2779         Also add a run-jsc-stress-tests yaml file to allow this to run as a test.
2780
2781         * JSAir/allocate_stack.js:
2782         * JSAir/arg.js:
2783         (Arg.createImm):
2784         (Arg.createBigImm):
2785         (Arg.createBitImm):
2786         (Arg.createBitImm64):
2787         (Arg.createWidth):
2788         (Arg.createSpecial):
2789         (Arg.prototype.get kind):
2790         (Arg.prototype.get isTmp):
2791         (Arg.prototype.get isImm):
2792         (Arg.prototype.get isSomeImm):
2793         (Arg.prototype.get isSomeBigImm):
2794         (Arg.prototype.get isCondition):
2795         (Arg.prototype.get isWidth):
2796         (Arg.prototype.get isSpecial):
2797         (Arg.prototype.get isAlive):
2798         (Arg.prototype.get tmp):
2799         (Arg.prototype.get value):
2800         (Arg.prototype.get lowValue):
2801         (Arg.prototype.get highValue):
2802         (Arg.prototype.get base):
2803         (Arg.prototype.get isGP):
2804         (Arg.prototype.get isFP):
2805         (Arg.prototype.isValidForm):
2806         (Arg.prototype.get isInvertible):
2807         (Arg.kindCode):
2808         (Arg.prototype.hash):
2809         (Arg.prototype.toString):
2810         (Arg):
2811         * JSAir/basic_block.js:
2812         (BasicBlock.get successorBlocks):
2813         * JSAir/benchmark.js:
2814         (benchmark):
2815         * JSAir/code.js:
2816         (Code.prototype.setFrameSize):
2817         (Code.prototype.hash):
2818         (Code.prototype.toString):
2819         (Code):
2820         * JSAir/inst.js:
2821         (Inst.prototype.get hasNonArgEffects):
2822         (Inst.prototype.hash):
2823         (Inst.prototype.toString):
2824         (Inst):
2825         * JSAir/jsair-tests.yaml: Added.
2826         * JSAir/opcode.js:
2827         (Inst_forEachArg):
2828         (Inst_hasNonArgEffects):
2829         (opcodeCode):
2830         * JSAir/payload-gbemu-executeIteration.js:
2831         (createPayloadGbemuExecuteIteration):
2832         * JSAir/payload-imaging-gaussian-blur-gaussianBlur.js:
2833         (createPayloadImagingGaussianBlurGaussianBlur):
2834         * JSAir/payload-jsair-ACLj8C.js:
2835         (createPayloadJSAirACLj8C):
2836         * JSAir/payload-typescript-scanIdentifier.js:
2837         (createPayloadTypescriptScanIdentifier):
2838         * JSAir/reg.js:
2839         (Reg.prototype.get isReg):
2840         (Reg.prototype.hash):
2841         (Reg.prototype.toString):
2842         * JSAir/stack_slot.js:
2843         (StackSlot.prototype.setOffsetFromFP):
2844         (StackSlot.prototype.hash):
2845         (StackSlot.prototype.toString):
2846         * JSAir/symbols.js:
2847         (relCondCode):
2848         (resCondCode):
2849         (doubleCondCode):
2850         * JSAir/test.html:
2851         * JSAir/tmp.js:
2852         (Tmp.prototype.get isReg):
2853         (Tmp.prototype.hash):
2854         (Tmp.prototype.toString):
2855         * JSAir/util.js:
2856         (roundUpToMultipleOf):
2857         (symbolName):
2858
2859 2016-06-07  Filip Pizlo  <fpizlo@apple.com>
2860
2861         Implement Air::allocateStack() in ES6 to see how much of a bad idea that is
2862         https://bugs.webkit.org/show_bug.cgi?id=158318
2863
2864         Reviewed by Saam Barati.
2865         
2866         This adds a new benchmark for us to play with called JSAir. It's a complete ES6
2867         implementation of Air's allocateStack() phase along with all of Air needed to run that
2868         phase. This includes things like stack slots, registers, temporaries, basic blocks,
2869         instructions, and all of the code for iterating over, inspecting, and modifying those
2870         things.
2871         
2872         To make this work, JSC can now dump Air just before allocateStack() in the form of JS code
2873         that creates a Code object that matches exactly what C++ Air saw. This benchmark comprises
2874         four Air IRs:
2875         
2876         - Octane/gbemu's largest function, executeIteration.
2877         - Kraken/imaging-gaussian-blur's largest function in OSR entry mode, gaussuanBlur.
2878         - Octane/typescript's largest function that is actually hot, scanIdentifier.
2879         - JSAir's largest hot function, which is anonymous, so we call it by its hash (ACLj8C).
2880         
2881         This runs in about 2 seconds on my machine in JSC trunk. It includes both a commandline
2882         harness and a web harness. JSAir is almost exactly 100x slower in ES6 in WebKit than the
2883         C++ Air::allocateStack() phase on which it is based.
2884         
2885         JSAir uses the following ES6 features:
2886         
2887         - Symbol.
2888         - for-of.
2889         - arrow functions.
2890         - Map/Set.
2891         - let/const.
2892         - classes.
2893         
2894         All of these things are used in anger and should end up on the hot path. There is also code
2895         that uses Proxies, but it ends up being dead.
2896         
2897         We can improve this even more:
2898         I still need to add result validation: https://bugs.webkit.org/show_bug.cgi?id=158493
2899         I want to make it use more ES6 features: https://bugs.webkit.org/show_bug.cgi?id=158497
2900         
2901         * JSAir: Added.
2902         * JSAir/all.js: Added.
2903         * JSAir/allocate_stack.js: Added.
2904         (allocateStack.attemptAssignment):
2905         (allocateStack.assign):
2906         (allocateStack.interfere):
2907         (allocateStack.):
2908         (allocateStack):
2909         * JSAir/arg.js: Added.
2910         (Arg):
2911         (Arg.isAnyUse):
2912         (Arg.isColdUse):
2913         (Arg.isWarmUse):
2914         (Arg.cooled):
2915         (Arg.isEarlyUse):
2916         (Arg.isLateUse):
2917         (Arg.isAnyDef):
2918         (Arg.isEarlyDef):
2919         (Arg.isLateDef):
2920         (Arg.isZDef):
2921         (Arg.typeForB3Type):
2922         (Arg.widthForB3Type):
2923         (Arg.conservativeWidth):
2924         (Arg.minimumWidth):
2925         (Arg.bytes):
2926         (Arg.widthForBytes):
2927         (Arg.createTmp):
2928         (Arg.fromReg):
2929         (Arg.createImm):
2930         (Arg.createBigImm):
2931         (Arg.createBitImm):
2932         (Arg.createBitImm64):
2933         (Arg.createAddr):
2934         (Arg.createStack):
2935         (Arg.createCallArg):
2936         (Arg.createStackAddr):
2937         (Arg.isValidScale):
2938         (Arg.logScale):
2939         (Arg.createIndex):
2940         (Arg.createRelCond):
2941         (Arg.createResCond):
2942         (Arg.createDoubleCond):
2943         (Arg.createWidth):
2944         (Arg.prototype.get kind):
2945         (Arg.prototype.get isTmp):
2946         (Arg.prototype.get isImm):
2947         (Arg.prototype.get isBigImm):
2948         (Arg.prototype.get isBitImm):
2949         (Arg.prototype.get isBitImm64):
2950         (Arg.prototype.get isSomeImm):
2951         (Arg.prototype.get isAddr):
2952         (Arg.prototype.get isStack):
2953         (Arg.prototype.get isCallArg):
2954         (Arg.prototype.get isIndex):
2955         (Arg.prototype.get isMemory):
2956         (Arg.prototype.get isStackMemory):
2957         (Arg.prototype.get isRelCond):
2958         (Arg.prototype.get isResCond):
2959         (Arg.prototype.get isDoubleCond):
2960         (Arg.prototype.get isCondition):
2961         (Arg.prototype.get isWidth):
2962         (Arg.prototype.get isAlive):
2963         (Arg.prototype.get tmp):
2964         (Arg.prototype.get value):
2965         (Arg.prototype.get base):
2966         (Arg.prototype.get hasOffset):
2967         (Arg.prototype.get offset):
2968         (Arg.prototype.get stackSlot):
2969         (Arg.prototype.get index):
2970         (Arg.prototype.get scale):
2971         (Arg.prototype.get logScale):
2972         (Arg.prototype.get width):
2973         (Arg.prototype.get isGPTmp):
2974         (Arg.prototype.get isFPTmp):
2975         (Arg.prototype.get isGP):
2976         (Arg.prototype.get isFP):
2977         (Arg.prototype.get hasType):
2978         (Arg.prototype.get type):
2979         (Arg.prototype.isType):
2980         (Arg.prototype.isCompatibleType):
2981         (Arg.prototype.get isGPR):
2982         (Arg.prototype.get gpr):
2983         (Arg.prototype.get isFPR):
2984         (Arg.prototype.get fpr):
2985         (Arg.prototype.get isReg):
2986         (Arg.prototype.get reg):
2987         (Arg.isValidImmForm):
2988         (Arg.isValidBitImmForm):
2989         (Arg.isValidBitImm64Form):
2990         (Arg.isValidAddrForm):
2991         (Arg.isValidIndexForm):
2992         (Arg.prototype.isValidForm):
2993         (Arg.prototype.forEachTmpFast):
2994         (Arg.prototype.usesTmp):
2995         (Arg.prototype.forEachTmp):
2996         (Arg.prototype.is):
2997         (Arg.prototype.as):
2998         (Arg.prototype.forEachFast):
2999         (Arg.prototype.forEach):
3000         (Arg.extract):
3001         (Arg.forEachFast):
3002         (Arg.forEach):
3003         (Arg.prototype.get condition):
3004         (Arg.prototype.get isInvertible):
3005         (Arg.prototype.toString):
3006         * JSAir/basic_block.js: Added.
3007         (BasicBlock):
3008         (BasicBlock.prototype.get index):
3009         (BasicBlock.prototype.get size):
3010         (BasicBlock.prototype.Symbol.iterator):
3011         (BasicBlock.prototype.at):
3012         (BasicBlock.get last):
3013         (BasicBlock.get insts):
3014         (BasicBlock.get numSuccessors):
3015         (BasicBlock.get successors):
3016         (BasicBlock.get successorBlocks.):
3017         (BasicBlock.get successorBlocks):
3018         (BasicBlock.set get numPredecessors):
3019         (BasicBlock.get predecessors):
3020         (BasicBlock.get frequency):
3021         (BasicBlock.get headerString):
3022         (BasicBlock.get footerString):
3023         * JSAir/benchmark.js: Added.
3024         (benchmark):
3025         * JSAir/code.js: Added.
3026         (Code):
3027         (Code.prototype.addBlock):
3028         (Code.prototype.addStackSlot):
3029         (Code.prototype.newTmp):
3030         (Code.prototype.get size):
3031         (Code.prototype.at):
3032         (Code.prototype.Symbol.iterator):
3033         (Code.prototype.get blocks):
3034         (Code.prototype.get stackSlots):
3035         (Code.prototype.tmps):
3036         (Code.prototype.get callArgAreaSize):
3037         (Code.prototype.requestCallArgAreaSize):
3038         (Code.prototype.get frameSize):
3039         (Code.prototype.setFrameSize):
3040         (Code.prototype.toString):
3041         * JSAir/custom.js: Added.
3042         (const.ShuffleCustom.forEachArg):
3043         (const.ShuffleCustom.hasNonArgNonControlEffects):
3044         (const.PatchCustom.forEachArg):
3045         (const.PatchCustom.hasNonArgNonControlEffects):
3046         (const.CCallCustom.forEachArg):
3047         (const.CCallCustom.hasNonArgNonControlEffects):
3048         (const.ColdCCallCustom.forEachArg):
3049         (const.ColdCCallCustom.hasNonArgNonControlEffects):
3050         * JSAir/frequented_block.js: Added.
3051         (FrequentedBlock):
3052         (FrequentedBlock.prototype.toString):
3053         * JSAir/insertion_set.js: Added.
3054         (Insertion):
3055         (Insertion.prototype.get index):
3056         (Insertion.prototype.get element):
3057         (Insertion.prototype.lessThan):
3058         (InsertionSet):
3059         (InsertionSet.prototype.appendInsertion):
3060         (InsertionSet.prototype.append):
3061         (InsertionSet.prototype.execute):
3062         * JSAir/inst.js: Added.
3063         (Inst):
3064         (Inst.prototype.append):
3065         (Inst.prototype.clear):
3066         (Inst.prototype.get opcode):
3067         (Inst.prototype.get args):
3068         (Inst.prototype.visitArg):
3069         (Inst.prototype.forEachTmpFast):
3070         (Inst.prototype.forEachArg):
3071         (Inst.prototype.forEachTmp):
3072         (Inst.prototype.forEach):
3073         (Inst.forEachDef):
3074         (Inst.forEachDefWithExtraClobberedRegs):
3075         (Inst.prototype.get hasNonArgEffects):
3076         (Inst.prototype.toString):
3077         * JSAir/liveness.js: Added.
3078         (Liveness):
3079         (Liveness.prototype.get thing):
3080         (Liveness.prototype.get code):
3081         (Liveness.prototype.get liveAtHead):
3082         (Liveness.prototype.get liveAtTail):
3083         (Liveness.prototype.localCalc.LocalCalc):
3084         (Liveness.prototype.localCalc.LocalCalc.prototype.get liveSet):
3085         (Liveness.prototype.localCalc.LocalCalc.prototype.execute):
3086         (Liveness.prototype.localCalc):
3087         * JSAir/opcode.js: Added.
3088         (Inst_forEachArg):
3089         (Inst_hasNonArgEffects):
3090         * JSAir/payload-gbemu-executeIteration.js: Added.
3091         (createPayloadGbemuExecuteIteration):
3092         * JSAir/payload-imaging-gaussian-blur-gaussianBlur.js: Added.
3093         (createPayloadImagingGaussianBlurGaussianBlur):
3094         * JSAir/payload-jsair-ACLj8C.js: Added.
3095         (createPayloadJSAirACLj8C):
3096         * JSAir/payload-typescript-scanIdentifier.js: Added.
3097         (createPayloadTypescriptScanIdentifier):
3098         * JSAir/reg.js: Added.
3099         (Reg):
3100         (Reg.fromReg):
3101         (Reg.prototype.get index):
3102         (Reg.prototype.get type):
3103         (Reg.prototype.get name):
3104         (Reg.prototype.get isCalleeSave):
3105         (Reg.prototype.get isReg):
3106         (Reg.prototype.toString):
3107         (Reg.extract):
3108         (Reg.forEachFast):
3109         (Reg.forEach):
3110         (newGPR):
3111         (Reg.gprs.Reg.fprs.Reg.calleeSaveGPRs.Reg.calleeSaveFPRs.Reg.calleeSaves):
3112         * JSAir/stack_slot.js: Added.
3113         (StackSlot):
3114         (StackSlot.prototype.get byteSize):
3115         (StackSlot.prototype.get kind):
3116         (StackSlot.prototype.get isLocked):
3117         (StackSlot.prototype.get isSpill):
3118         (StackSlot.prototype.get index):
3119         (StackSlot.prototype.ensureSize):
3120         (StackSlot.prototype.get alignment):
3121         (StackSlot.prototype.get offsetFromFP):
3122         (StackSlot.prototype.setOffsetFromFP):
3123         (StackSlot.prototype.toString):
3124         (StackSlot.extract):
3125         (StackSlot.forEachFast):
3126         (StackSlot.forEach):
3127         * JSAir/symbols.js: Added.
3128         * JSAir/test.html: Added.
3129         * JSAir/test.js: Added.
3130         * JSAir/tmp.js: Added.
3131         (Tmp):
3132         (Tmp.fromReg):
3133         (Tmp.prototype.get index):
3134         (Tmp.prototype.get type):
3135         (Tmp.prototype.get isReg):
3136         (Tmp.prototype.toString):
3137         (Tmp.extract):
3138         (Tmp.forEachFast):
3139         (Tmp.forEach):
3140         * JSAir/tmp_base.js: Added.
3141         (TmpBase.prototype.get isGP):
3142         (TmpBase.prototype.get isFP):
3143         (TmpBase.prototype.get isGPR):
3144         (TmpBase.prototype.get isFPR):
3145         (TmpBase.prototype.get reg):
3146         (TmpBase.prototype.get gpr):
3147         (TmpBase.prototype.get fpr):
3148         (TmpBase):
3149         * JSAir/util.js: Added.
3150         (isRepresentableAsInt32):
3151         (addIndexed):
3152         (roundUpToMultipleOf):
3153         (symbolName):
3154         (mergeIntoSet):
3155         (nonEmptyRangesOverlap):
3156         (rangesOverlap):
3157         (removeAllMatching):
3158         (swap):
3159         (bubble):
3160         (bubbleSort):
3161         (currentTime):
3162         (else.currentTime):
3163
3164 2016-05-26  Yusuke Suzuki  <utatane.tea@gmail.com>
3165
3166         [JSC] Allow JSBench to use precise time
3167         https://bugs.webkit.org/show_bug.cgi?id=158050
3168
3169         Reviewed by Geoffrey Garen.
3170
3171         * JSBench/amazon-chrome-win/urem.js:
3172         (else.window.performance.window.performance.now.currentTimeInMS):
3173         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3174         (else.else.currentTimeInMS):
3175         (onload.cb):
3176         (onload):
3177         * JSBench/amazon-chrome/urem.js:
3178         (else.window.performance.window.performance.now.currentTimeInMS):
3179         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3180         (else.else.currentTimeInMS):
3181         (onload.cb):
3182         (onload):
3183         * JSBench/amazon-firefox-win/urm.js:
3184         (else.window.performance.window.performance.now.currentTimeInMS):
3185         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3186         (else.else.currentTimeInMS):
3187         (onload.cb):
3188         (onload):
3189         * JSBench/amazon-firefox/urm.js:
3190         (else.window.performance.window.performance.now.currentTimeInMS):
3191         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3192         (else.else.currentTimeInMS):
3193         (onload.cb):
3194         (onload):
3195         * JSBench/amazon-safari/urem.js:
3196         (else.window.performance.window.performance.now.currentTimeInMS):
3197         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3198         (else.else.currentTimeInMS):
3199         (onload.cb):
3200         (onload):
3201         * JSBench/facebook-chrome-win/urem.js:
3202         (else.window.performance.window.performance.now.currentTimeInMS):
3203         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3204         (else.else.currentTimeInMS):
3205         (onload.cb):
3206         (onload):
3207         * JSBench/facebook-chrome/urem.js:
3208         (else.window.performance.window.performance.now.currentTimeInMS):
3209         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3210         (else.else.currentTimeInMS):
3211         (onload.cb):
3212         (onload):
3213         * JSBench/facebook-firefox-win/urem.js:
3214         (else.window.performance.window.performance.now.currentTimeInMS):
3215         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3216         (else.else.currentTimeInMS):
3217         (onload.cb):
3218         (onload):
3219         * JSBench/facebook-firefox/urem.js:
3220         (else.window.performance.window.performance.now.currentTimeInMS):
3221         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3222         (else.else.currentTimeInMS):
3223         (onload.cb):
3224         (onload):
3225         * JSBench/facebook-safari/urem.js:
3226         (else.window.performance.window.performance.now.currentTimeInMS):
3227         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3228         (else.else.currentTimeInMS):
3229         (onload.cb):
3230         (onload):
3231         * JSBench/google-chrome-win/urem.js:
3232         (else.window.performance.window.performance.now.currentTimeInMS):
3233         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3234         (else.else.currentTimeInMS):
3235         (onload.cb):
3236         (onload):
3237         * JSBench/google-chrome/urem.js:
3238         (else.window.performance.window.performance.now.currentTimeInMS):
3239         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3240         (else.else.currentTimeInMS):
3241         (onload.cb):
3242         (onload):
3243         * JSBench/google-firefox-win/urem.js:
3244         (else.window.performance.window.performance.now.currentTimeInMS):
3245         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3246         (else.else.currentTimeInMS):
3247         (onload.cb):
3248         (onload):
3249         * JSBench/google-firefox/uem.js:
3250         (else.window.performance.window.performance.now.currentTimeInMS):
3251         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3252         (else.else.currentTimeInMS):
3253         (onload.cb):
3254         (onload):
3255         * JSBench/google-safari/urem.js:
3256         (else.window.performance.window.performance.now.currentTimeInMS):
3257         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3258         (else.else.currentTimeInMS):
3259         (onload.cb):
3260         (onload):
3261         * JSBench/harness.js:
3262         (runBenchmark.window.currentTimeInMS):
3263         (runBenchmark.else.window.currentTimeInMS):
3264         * JSBench/twitter-chrome-win/rem.js:
3265         (else.window.performance.window.performance.now.currentTimeInMS):
3266         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3267         (else.else.currentTimeInMS):
3268         (onload.cb):
3269         (onload):
3270         * JSBench/twitter-chrome/urem.js:
3271         (else.window.performance.window.performance.now.currentTimeInMS):
3272         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3273         (else.else.currentTimeInMS):
3274         (onload.cb):
3275         (onload):
3276         * JSBench/twitter-firefox-win/urem.js:
3277         (else.window.performance.window.performance.now.currentTimeInMS):
3278         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3279         (else.else.currentTimeInMS):
3280         (onload.cb):
3281         (onload):
3282         * JSBench/twitter-firefox/urem.js:
3283         (else.window.performance.window.performance.now.currentTimeInMS):
3284         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3285         (else.else.currentTimeInMS):
3286         (onload.cb):
3287         (onload):
3288         * JSBench/twitter-safari/urem.js:
3289         (else.window.performance.window.performance.now.currentTimeInMS):
3290         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3291         (else.else.currentTimeInMS):
3292         (onload.cb):
3293         (onload):
3294         * JSBench/yahoo-chrome-win/urem.js:
3295         (else.window.performance.window.performance.now.currentTimeInMS):
3296         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3297         (else.else.currentTimeInMS):
3298         (onload.cb):
3299         (onload):
3300         * JSBench/yahoo-chrome/urem.js:
3301         (else.window.performance.window.performance.now.currentTimeInMS):
3302         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3303         (else.else.currentTimeInMS):
3304         (onload.cb):
3305         (onload):
3306         * JSBench/yahoo-firefox-win/urem.js:
3307         (else.window.performance.window.performance.now.currentTimeInMS):
3308         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3309         (else.else.currentTimeInMS):
3310         (onload.cb):
3311         (onload):
3312         * JSBench/yahoo-firefox/urem.js:
3313         (else.window.performance.window.performance.now.currentTimeInMS):
3314         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3315         (else.else.currentTimeInMS):
3316         (onload.cb):
3317         (onload):
3318         * JSBench/yahoo-safari/urem.js:
3319         (else.window.performance.window.performance.now.currentTimeInMS):
3320         (else.else.typeof.preciseTime.string_appeared_here.currentTimeInMS):
3321         (else.else.currentTimeInMS):
3322         (onload.cb):
3323         (onload):
3324
3325 2016-05-25  Geoffrey Garen  <ggaren@apple.com>
3326
3327         replaceable own properties seem to ignore replacement after property caching
3328         https://bugs.webkit.org/show_bug.cgi?id=158091
3329
3330         Reviewed by Darin Adler.
3331
3332         * MallocBench/MallocBench.xcodeproj/project.pbxproj:
3333         * MallocBench/MallocBench/Benchmark.cpp:
3334         * MallocBench/MallocBench/Interpreter.cpp:
3335         (Interpreter::doMallocOp):
3336         * MallocBench/MallocBench/Interpreter.h:
3337         * MallocBench/MallocBench/fastMallocLog.63316.ops: Added.
3338         * MallocBench/MallocBench/jetstream.cpp: Added.
3339         (benchmark_jetstream):
3340         * MallocBench/MallocBench/jetstream.h: Added.
3341
3342 2016-05-25  Keith Miller  <keith_miller@apple.com>
3343
3344         Unreviewed, add JSBench to the skipped list for now since it doesn't
3345         work currently.
3346
3347         * Skipped:
3348
3349 2016-05-17  Keith Miller  <keith_miller@apple.com>
3350         We should have JSBench in PerformanceTests
3351         https://bugs.webkit.org/show_bug.cgi?id=157952
3352
3353         Rubber-stamped by Saam Barati.
3354
3355         There are some slight changes to the layout of the test directory
3356         to make it work nicely with run-jsc-benchmarks. Before JSBench
3357         had each of the browser specific sub-tests in a sub-directory.
3358         These have been flattened e.g. amazon/safari/ has become
3359         amazon-safari/.
3360
3361         * JSBench/amazon-chrome-win/urem.html: Added.
3362         * JSBench/amazon-chrome-win/urem.js: Added.
3363         * JSBench/amazon-chrome/urem.html: Added.
3364         * JSBench/amazon-chrome/urem.js: Added.
3365         * JSBench/amazon-firefox-win/urm.html: Added.
3366         * JSBench/amazon-firefox-win/urm.js: Added.
3367         * JSBench/amazon-firefox/urm.html: Added.
3368         * JSBench/amazon-firefox/urm.js: Added.
3369         * JSBench/amazon-safari/urem.html: Added.
3370         * JSBench/amazon-safari/urem.js: Added.
3371         * JSBench/browsercheck.js: Added.
3372         * JSBench/facebook-chrome-win/urem.html: Added.
3373         * JSBench/facebook-chrome-win/urem.js: Added.
3374         * JSBench/facebook-chrome/urem.html: Added.
3375         * JSBench/facebook-chrome/urem.js: Added.
3376         * JSBench/facebook-firefox-win/urem.html: Added.
3377         * JSBench/facebook-firefox-win/urem.js: Added.
3378         * JSBench/facebook-firefox/urem.html: Added.
3379         * JSBench/facebook-firefox/urem.js: Added.
3380         * JSBench/facebook-safari/urem.html: Added.
3381         * JSBench/facebook-safari/urem.js: Added.
3382         * JSBench/google-chrome-win/urem.html: Added.
3383         * JSBench/google-chrome-win/urem.js: Added.
3384         * JSBench/google-chrome/urem.html: Added.
3385         * JSBench/google-chrome/urem.js: Added.
3386         * JSBench/google-firefox-win/urem.html: Added.
3387         * JSBench/google-firefox-win/urem.js: Added.
3388         * JSBench/google-firefox/uem.html: Added.
3389         * JSBench/google-firefox/uem.js: Added.
3390         * JSBench/google-safari/urem.html: Added.
3391         * JSBench/google-safari/urem.js: Added.
3392         * JSBench/harness.html: Added.
3393         * JSBench/harness.js: Added.
3394         * JSBench/harness.py: Added.
3395         * JSBench/index.html: Added.
3396         * JSBench/reload.html: Added.
3397         * JSBench/twitter-chrome-win/rem.html: Added.
3398         * JSBench/twitter-chrome-win/rem.js: Added.
3399         * JSBench/twitter-chrome/urem.html: Added.
3400         * JSBench/twitter-chrome/urem.js: Added.
3401         * JSBench/twitter-firefox-win/urem.html: Added.
3402         * JSBench/twitter-firefox-win/urem.js: Added.
3403         * JSBench/twitter-firefox/urem.html: Added.
3404         * JSBench/twitter-firefox/urem.js: Added.
3405         * JSBench/twitter-safari/urem.html: Added.
3406         * JSBench/twitter-safari/urem.js: Added.
3407         * JSBench/yahoo-chrome-win/urem.html: Added.
3408         * JSBench/yahoo-chrome-win/urem.js: Added.
3409         * JSBench/yahoo-chrome/urem.html: Added.
3410         * JSBench/yahoo-chrome/urem.js: Added.
3411         * JSBench/yahoo-firefox-win/urem.html: Added.
3412         * JSBench/yahoo-firefox-win/urem.js: Added.
3413         * JSBench/yahoo-firefox/urem.html: Added.
3414         * JSBench/yahoo-firefox/urem.js: Added.
3415         * JSBench/yahoo-safari/urem.html: Added.
3416         * JSBench/yahoo-safari/urem.js: Added.
3417
3418 2016-05-20  Ryosuke Niwa  <rniwa@webkit.org>
3419
3420         run-benchmark's results should contain Animometer's debug output
3421         https://bugs.webkit.org/show_bug.cgi?id=157941
3422
3423         Reviewed by Stephanie Lewis.
3424
3425         Made developer.html support the JSON generated by run-benchmark which stores everything under debugOutput.
3426
3427         * Animometer/resources/debug-runner/animometer.js:
3428         (Utilities.initialize): Unwrap debugOutput in the case run-benchmark's result JSON is used.
3429
3430 2016-05-18  Timothy Hatcher  <timothy@apple.com>
3431
3432         Make Animometer work in all browsers
3433         https://bugs.webkit.org/show_bug.cgi?id=157855
3434         rdar://problem/26338521
3435
3436         Reviewed by Jon Lee.
3437
3438         * Animometer/resources/runner/logo.svg: Use a symbol instead
3439         of putting the id on the root svg. This works in all browsers.
3440
3441 2016-05-07  Timothy Hatcher  <timothy@apple.com>
3442
3443         Update Animometer design
3444         https://bugs.webkit.org/show_bug.cgi?id=157449
3445
3446         Reviewed by Darin Adler.
3447
3448         * Animometer/developer.html: Stop including runner/animometer.css.
3449         * Animometer/index.html: Udpated elements to fit new styles.
3450
3451         * Animometer/resources/debug-runner/animometer.css:
3452         Copy the old runner/animometer.css to here so the debug runner is unaffected.
3453
3454         * Animometer/resources/runner/animometer.css:
3455         New styles for the design. Drop flex box for broad browser support.
3456
3457         * Animometer/resources/runner/animometer.js:
3458         (ResultsTable.clear): Use textContent.
3459         (window.sectionsManager.showSection): Add class to the body.
3460         (window.sectionsManager.setSectionScore): Use textContent, not innerHTML.
3461
3462         * Animometer/resources/runner/crystal.svg: Added.
3463         * Animometer/resources/runner/lines.svg: Added.
3464         * Animometer/resources/runner/logo.svg: Added.
3465
3466         * Animometer/resources/runner/tests.js: Shorten test name and title case them.
3467
3468 2016-05-06  Manuel Rego Casasnovas  <rego@igalia.com>
3469
3470         [css-grid] Unprefix CSS Grid Layout properties
3471         https://bugs.webkit.org/show_bug.cgi?id=157137
3472
3473         Reviewed by Simon Fraser.
3474
3475         Remove "-webkit" prefix from all the grid layout properties,
3476         including the display value.
3477         Update the source code to remove the prefix where it was used too.
3478
3479         * Layout/auto-grid-lots-of-data.html:
3480         * Layout/fixed-grid-lots-of-data.html:
3481         * Layout/fixed-grid-lots-of-stretched-data.html:
3482
3483 2016-04-25  Geoffrey Garen  <ggaren@apple.com>
3484
3485         bmalloc: Misc improvements to MallocBench
3486         https://bugs.webkit.org/show_bug.cgi?id=157004
3487
3488         Reviewed by Darin Adler.
3489
3490         * MallocBench/run-malloc-benchmarks: Added --memory and --memory_warning
3491         modes for focused memory testing.
3492
3493         * MallocBench/MallocBench/Benchmark.cpp:
3494         (Benchmark::printReport): Clarified output.
3495
3496         (Benchmark::currentMemoryBytes): Added compressed memory because top
3497         does the same. (It always happens to zero in the benchmarks we run. But
3498         this is good for sanity.)
3499
3500         * MallocBench/MallocBench/CommandLine.cpp: Moved up to 8 runs to reduce
3501         variance.
3502
3503         * MallocBench/MallocBench/alloc_free.cpp:
3504         (benchmark_alloc_free): Cycle a single allocation in order to stress
3505         the effect of merging on calls to madvise.
3506
3507         * MallocBench/MallocBench/big.cpp:
3508         (benchmark_big): Graduated to 8kB-128kB because medium tests up to 8 and
3509         our large allocator doesn't kick in until 64kB.
3510
3511         * MallocBench/MallocBench/medium.cpp:
3512         (benchmark_medium): Test all the way down to 1kB because our large
3513         allocator used to service 1kB allocations and 1kB is an interesting
3514         middle size where memory is unusually large but allocation throughput
3515         still matters.
3516
3517         * MallocBench/MallocBench/stress.cpp:
3518         (benchmark_stress): Reduced the churn count to match stress_aligned
3519         because this test was taking too long to complete.
3520
3521         * MallocBench/MallocBench/stress_aligned.cpp:
3522         (benchmark_stress_aligned): Our new large allocator can handle even
3523         more absurdly large values.
3524
3525 2016-04-25  Simon Fraser  <simon.fraser@apple.com>
3526
3527         Add a content animation test that uses SVG animation.
3528         https://bugs.webkit.org/show_bug.cgi?id=156827
3529
3530         * Animation/svg-animation.html: Added.
3531         * Skipped:
3532
3533 2016-04-22  Simon Fraser  <simon.fraser@apple.com>
3534
3535         Skip two content animation tests which are only meant for iOS testing.
3536
3537         * Animation/css-animation.html: Added.
3538         * Animation/raf-animation.html: Added.
3539
3540         * Skipped:
3541
3542 2016-04-20  Simon Fraser  <simon.fraser@apple.com>
3543
3544         Add content animation tests to benchmark_runner, and allow the runner to collect device data as part of the results
3545         https://bugs.webkit.org/show_bug.cgi?id=156827
3546
3547         Add two files missing from the previous commit.
3548
3549         * Animation/css-animation.html: Added.
3550         * Animation/raf-animation.html: Added.
3551
3552 2016-04-20  Simon Fraser  <simon.fraser@apple.com>
3553
3554         Add content animation tests to benchmark_runner, and allow the runner to collect device data as part of the results
3555         https://bugs.webkit.org/show_bug.cgi?id=156827
3556
3557         Reviewed by Stephanie Lewis.
3558
3559         Two new files for the content-animation suite.
3560
3561         After patching for use in the benchmark, these tests are a little different to other benchmarks.
3562         The test content itself does not collect performance data; the tests spit out a boilerplate JSON
3563         result with a placeholder for framerate, which is collected in native code.
3564
3565         When run as a benchmark, test completion involves a couple of bounces between the test and MobileSafari.
3566         Test completion is initiated by a setTimeout() in the test, at which point location.hash is set to "#done".
3567         MobileSafari detects that, and asynchronously dumps performance data. Once this is complete, MobileSafari
3568         changes the URL has to "#submit", which triggers the XHR to the test relay that indicates the test is
3569         complete.
3570
3571         * Animation/css-animation.html: Added.
3572         * Animation/raf-animation.html: Added.
3573
3574 2016-04-15  Jon Lee  <jonlee@apple.com>
3575
3576         Animometer test could report a NaN
3577         https://bugs.webkit.org/show_bug.cgi?id=156646
3578
3579         Reviewed by Darin Adler.
3580         Provisionally reviewed by Said Abou-Hallawa.
3581
3582         * Animometer/tests/resources/main.js:
3583         (didFinishInterval): The ramp controller has a first phase where it ramps up the complexity and
3584         reacts based on how well the system handles the load. The assumption was that it would handle at least
3585         1 particle easily. That is not always the case. As a result, an interpolation calculation could
3586         end up setting an upper bound of NaN.
3587
3588         This occurs because we never get out of the first tier, so this._lastTierComplexity is undefined.
3589         Now that we guarantee a minimum complexity of 1, modify the conditional to check for this._lastTierComplexity
3590         before interpolating the upper bound of the first ramp. In the case where the system struggles with
3591         1 particle, set it to currentComplexity.
3592
3593 2016-04-09  Jon Lee  <jonlee@apple.com>
3594
3595         Update Animometer to accommodate different screens
3596         https://bugs.webkit.org/show_bug.cgi?id=156449
3597
3598         Reviewed by Darin Adler.
3599         Provisionally reviewed by Said Abou-Hallawa.
3600
3601         * Animometer/index.html: Wrap button in a container to add padding at the bottom.
3602         * Animometer/resources/debug-runner/animometer.css:
3603         (@media screen and (min-device-width: 1800px)): Deleted.
3604         (@media screen and (min-width: 1800px)): Cannot use min-device-width since it may match incorrectly.
3605         (screen and (max-device-height: 414px) and (orientation: landscape)): Some devices swap device width
3606         and height with orientation change.
3607         * Animometer/resources/runner/animometer.css: Similar.
3608         (screen and (min-device-width: 1024px) and (orientation: landscape)):
3609         (screen and (max-device-height: 414px) and (orientation: landscape)):
3610         (.frame-container): On smaller iPhones, adding 1px prevents the navigation bars from appearing.
3611         (@media screen and (min-device-width: 768px) and (max-device-width: 1024px)): Deleted.
3612         (@media (min-device-height: 768px) and (max-device-height: 1024px)): Target iPad Airs and similar.
3613         (@media screen and (min-device-width: 1024px) and (max-device-width: 1366px)): Deleted.
3614         (@media screen and (max-device-width: 1024px) and (min-device-height: 1366px)): Target iPad Pro.
3615         (#results footer): Add padding below the button for testing again.
3616         * Animometer/tests/master/multiply.html: Remove the center text.
3617         * Animometer/tests/master/resources/text.js: Update the test so that in every frame the text moves.
3618         * Animometer/tests/master/text.html: Update the text sizing depending on the size of the device.
3619
3620 2016-04-08  Jon Lee  <jonlee@apple.com>
3621
3622         Have Animometer benchmark always start with complexity of 1
3623         https://bugs.webkit.org/show_bug.cgi?id=156432
3624
3625         Reviewed by Ryosuke Niwa.
3626
3627         * Animometer/tests/resources/main.js: Update the default Controller and RampController to
3628         set its minimum complexities to 1 instead of 0.
3629
3630 2016-04-08  Jon Lee  <jonlee@apple.com>
3631
3632         Fix SVG benchmark test
3633         https://bugs.webkit.org/show_bug.cgi?id=156410
3634
3635         Reviewed by Dean Jackson.
3636
3637         * Animometer/resources/extensions.js: Update Point.zero to be a static Point.
3638         * Animometer/tests/simple/resources/tiled-canvas-image.js:
3639         (Stage.call._setupTiles): Refactor.
3640         * Animometer/tests/master/resources/particles.js:
3641         (Particle.prototype.reset): Use Point.center.
3642         (complexity): We are not using a gradient background anymore, so remove the +1.
3643         * Animometer/tests/master/resources/svg-particles.js: Update to use SVG transform
3644         instead of CSS transform.
3645
3646 2016-04-06  Jon Lee  <jonlee@apple.com>
3647
3648         Update master benchmark with SVG test
3649         https://bugs.webkit.org/show_bug.cgi?id=156273
3650
3651         Reviewed by Dean Jackson.
3652         Provisionally reviewed by Said Abou-Hallawa.
3653
3654         Switch masks tests for SVG path test.
3655
3656         * Animometer/resources/debug-runner/tests.js: Move mask test here.
3657         * Animometer/resources/runner/tests.js: Add SVG test here.
3658         * Animometer/tests/dom/particles.html: Renamed from PerformanceTests/Animometer/tests/master/particles.html.
3659         * Animometer/tests/dom/resources/dom-particles.js: Renamed from PerformanceTests/Animometer/tests/master/resources/dom-particles.js.
3660
3661         * Animometer/tests/master/resources/particles.js: Add minPosition for bounds checking. Prevents particle from being
3662         partially obscured.
3663         * Animometer/tests/master/resources/svg-particles.js: Added.
3664         (Particle): The particle is either a path object or a rect using a path as a clip. The
3665         same path is used either way. For each particle create a linear gradient with a random
3666         rotation.
3667         (SVGParticlesStage): Look in #shapes to see how many different kinds of paths are available.
3668         This makes the test more generic in case other shapes need to be tested.
3669         * Animometer/tests/master/svg-particles.html: Added. Have two defs, one that houses each
3670         particle's gradient, and one that holds the shape templates.
3671
3672 2016-03-27  Hunseop Jeong  <hs85.jeong@samsung.com>
3673
3674         [EFL] REGRESSION(r188793): It made 200 layout tests and Bindings/event-target-wrapper.html performance test fail
3675         https://bugs.webkit.org/show_bug.cgi?id=148470 
3676
3677         Reviewed by Darin Adler.
3678
3679         * Skipped: Unskip the Bindings/event-target-wrapper test.
3680
3681 2016-03-23  Jon Lee  <jonlee@apple.com>
3682
3683         Update focus and leaves tests
3684         https://bugs.webkit.org/show_bug.cgi?id=155825
3685
3686         Reviewed by Simon Fraser.
3687
3688         Particles would improperly disappear, before they were fully off stage. Update the calculation.
3689         * Animometer/tests/dom/resources/leaves.js:
3690         * Animometer/tests/master/resources/leaves.js:
3691
3692         * Animometer/tests/master/focus.html: Update the center element styling.
3693         * Animometer/tests/master/resources/focus.js:
3694         (FocusElement.Utilities.createClass): Give enough space in the container for each particle for the blur
3695         to spread. It should be about 3x more space than the blur radius on each side.
3696         (Stage.call.initialize): Ditto for the center element.
3697
3698 2016-03-23  Jon Lee  <jonlee@apple.com>
3699
3700         Update support for other platforms
3701         https://bugs.webkit.org/show_bug.cgi?id=155824
3702
3703         Reviewed by Simon Fraser.
3704
3705         * Animometer/resources/debug-runner/animometer.css: Remove extraneous media query. All of it should
3706         be handled in the release stylesheet.
3707         * Animometer/resources/debug-runner/animometer.js: Add support for browsers that return an HTMLCollection
3708         when retrieving radio elements with a name, instead of the selected value.
3709         * Animometer/resources/runner/animometer.css: Adjust the queries for devices of varying widths.
3710         (.frame-container): Move overflow:hidden to #stage.
3711         * Animometer/tests/master/resources/stage.css: Consolidate into tests/resources/stage.css.
3712         * Animometer/tests/resources/stage.css:
3713         (body): Remove overflow:hidden.
3714         (#stage): Set overflow:hidden here.
3715         (#center-text): Moved from master/resources/stage.css.
3716
3717         Update stylesheet hrefs.
3718         * Animometer/tests/master/canvas-stage.html:
3719         * Animometer/tests/master/focus.html:
3720         * Animometer/tests/master/leaves.html:
3721         * Animometer/tests/master/multiply.html:
3722         * Animometer/tests/master/particles.html:
3723         * Animometer/tests/master/text.html: Adjust text size to fit in the device screen.
3724
3725 2016-03-23  Jon Lee  <jonlee@apple.com>
3726
3727         Make the benchmark require device to be in landscape orientation
3728         https://bugs.webkit.org/show_bug.cgi?id=155822
3729         rdar://problem/25258650
3730
3731         Reviewed by Ryosuke Niwa.
3732
3733         Check that the device is in landscape orientation. If not, disable the button to start it,
3734         and show a warning message.
3735
3736         * Animometer/developer.html: Add a message about how the browser should be set up. Include a
3737         warning message that appears if the orientation is incorrect on mobile devices.
3738         * Animometer/index.html: Ditto.
3739
3740         * Animometer/resources/debug-runner/animometer.css: Migrate the .hidden rule into the release
3741         stylesheet. Update the style to accommodate the new UI.
3742         * Animometer/resources/runner/animometer.css:
3743
3744         * Animometer/resources/runner/animometer.js:
3745         (window.benchmarkController.initialize): Add the orientation listener is needed.
3746         (window.benchmarkController.addOrientationListenerIfNecessary): Only mobile devices need this. Check
3747         to see for support of window.orientation.
3748         (window.benchmarkController._orientationChanged): Toggle the warning based on whether we match the
3749         landscape query. Set a state variable, which is needed for the debug harness. Call updateStartButtonState.
3750         (window.benchmarkController.updateStartButtonState):
3751         * Animometer/resources/debug-runner/animometer.js: Change _updateStartButtonState to return
3752         a boolean about whether at least one test is selected. That will be used in
3753         benchmarkController.updateStartButtonState(). Move the load event listener to the release version.
3754         (window.benchmarkController.updateStartButtonState): Override the release version, and also check
3755         that at least one test is selected.
3756
3757 2016-03-22  Geoffrey Garen  <ggaren@apple.com>
3758
3759         MallocBench: consolidate regression testing for aligned allocation
3760         https://bugs.webkit.org/show_bug.cgi?id=155762
3761
3762         Reviewed by Michael Saboff.
3763
3764         * MallocBench/MallocBench.xcodeproj/project.pbxproj:
3765         * MallocBench/MallocBench/Benchmark.cpp:
3766         * MallocBench/MallocBench/memalign.cpp: Removed.
3767         * MallocBench/MallocBench/memalign.h: Removed. The stress_aligned test
3768         covers this and much more.
3769
3770         * MallocBench/MallocBench/stress_aligned.cpp:
3771         (benchmark_stress_aligned): Include specific tests for extreme sizes
3772         and alignments.
3773
3774 2016-03-21  Jon Lee  <jonlee@apple.com>
3775
3776         Update benchmark tests
3777         https://bugs.webkit.org/show_bug.cgi?id=155723
3778
3779         Reviewed by Darin Adler.
3780         Provisionally reviewed by Said Abou-Hallawa.
3781
3782         Add quadratic and bezier segments to the canvas path test.
3783
3784         * Animometer/resources/runner/tests.js: Some of the query strings are unnecessary.
3785         Rename the test.
3786         * Animometer/tests/master/resources/canvas-stage.js:
3787         (tune): Update to be able to take an array of possible constructors. Choose one randomly.
3788         * Animometer/tests/master/resources/canvas-tests.js:
3789         (CanvasLinePoint.Utilities.createClass): Move the point selection out to a separate
3790         function called randomPoint() for reuse. Move X_LOOPS, Y_LOOPS, and offsets into the
3791         class definition.
3792         (randomPoint): Scale the grid down a little bit so that the lines along the edge of the
3793         canvas are not cut off when the stroke size is thick.
3794         (CanvasQuadraticSegment): Added.
3795         (CanvasBezierSegment): Added.
3796         (SimpleCanvasStage): Pass in an array of the different segment types. Since line segments
3797         are short compared to the curved ones, make it twice as likely to render a line segment.
3798         (SimpleCanvasStage.animate): Update the drawing code so that we render all line segments.
3799
3800         Add a helper method that selects a random element from an array.
3801
3802         * Animometer/tests/resources/main.js:
3803         (Stage.randomElementInArray): Select a random element from the provided array.
3804
3805         * Animometer/tests/bouncing-particles/resources/bouncing-tagged-images.js: Refactor.
3806         * Animometer/tests/dom/resources/leaves.js: Ditto.
3807         * Animometer/tests/master/resources/dom-particles.js: Ditto.
3808         * Animometer/tests/master/resources/image-data.js: Ditto.
3809         * Animometer/tests/master/resources/leaves.js: Ditto.
3810         * Animometer/tests/simple/resources/simple-canvas-paths.js: Ditto.
3811
3812         Add canvas tests that includes all stroke and fill paths. This makes it possible to avoid having to
3813         include the full simple canvas suite for perf testing.
3814
3815         * Animometer/resources/debug-runner/tests.js: Add new tests. Move the canvas test into the Canvas
3816         suite.
3817         * Animometer/tests/simple/resources/simple-canvas-paths.js: Add a CanvasStroke and CanvasFill particle
3818         that random selects an object to render.
3819
3820         * Animometer/resources/debug-runner/tests.js: Move 3D suite before basic canvas suite.
3821         When updating the perf bot script, we will include the suites up to this one, but exclude
3822         the basic canvas suite.
3823
3824         Move compositing transforms test to HTML suite and remove the empty Miscellaneous suite.
3825
3826         * Animometer/resources/debug-runner/tests.js:
3827         * Animometer/tests/dom/compositing-transforms.html: Renamed from PerformanceTests/Animometer/tests/misc/compositing-transforms.html.
3828         * Animometer/tests/dom/resources/compositing-transforms.js: Renamed from PerformanceTests/Animometer/tests/misc/resources/compositing-transforms.js.
3829
3830         Clean up miscellaneous test suite. Add a canvas ellipse test, and remove the other
3831         canvas tests.
3832
3833         * Animometer/resources/debug-runner/tests.js: Add ellipse tests to the simple suite.
3834         * Animometer/tests/misc/canvas-electrons.html: Removed.
3835         * Animometer/tests/misc/canvas-stars.html: Removed.
3836         * Animometer/tests/misc/resources/canvas-electrons.js: Removed.
3837         * Animometer/tests/misc/resources/canvas-stars.js: Removed.
3838         * Animometer/tests/simple/resources/simple-canvas-paths.js: Add ellipse primitives.
3839
3840         Merge text tests together into one.