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