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