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