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