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