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