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