Simple line layout(regression): Calling innerText on RenderFlow with multiple childre...
[WebKit-https.git] / PerformanceTests / ChangeLog
1 2015-04-09  Zalan Bujtas  <zalan@apple.com>
2
3         Simple line layout(regression): Calling innerText on RenderFlow with multiple children is slow.
4         https://bugs.webkit.org/show_bug.cgi?id=143554
5
6         Reviewed by Antti Koivisto.
7
8         Initialize render flow's segments only when the render flow changes in TextIterator.
9         The included performance test shows 6x speedup. (from ~10 runs/sec to ~60 runs/sec)
10
11         * Layout/simple-line-layout-innertext.html: Added.
12
13 2015-03-09  Chris Dumez  <cdumez@apple.com>
14
15         [CG] Have Canvas use the IOSurfacePool
16         https://bugs.webkit.org/show_bug.cgi?id=142417
17         <rdar://problem/20044440>
18
19         Reviewed by Darin Adler.
20
21         Lower the number of different canvas sizes from 1000 to 100 so that
22         the test does not require such a huge cache size. With 100, we now
23         get over 90% cache hit rate with the default IOSurfacePool size.
24
25         * Canvas/reuse.html:
26
27 2015-01-28  Said Abou-Hallawa  <sabouhallawa@apple.com>
28
29         Poor performance on IE's Chalkboard benchmark.
30         https://bugs.webkit.org/show_bug.cgi?id=140753.
31
32         Reviewed by Zalan Bujtas.
33
34         * SVG/UnderTheSeeBenchmark.html: Added
35         * SVG/WorldcupBenchmark.html: Added.
36         * SVG/resources/RenderAnimator.css: Added.
37         * SVG/resources/RenderAnimator.js: Added.
38         These are benchmarks for the SVG rendering. Mainly we want to measure how fast
39         the SVG rendering will be when only a small part of it is drawn.
40         
41 2015-01-21  Geoffrey Garen  <ggaren@apple.com>
42
43         bmalloc: support aligned allocation
44         https://bugs.webkit.org/show_bug.cgi?id=140732
45
46         Reviewed by Andreas Kling.
47
48         * MallocBench/MallocBench.xcodeproj/project.pbxproj:
49         * MallocBench/MallocBench/Benchmark.cpp:
50         * MallocBench/MallocBench/memalign.cpp:
51         (test):
52         (benchmark_memalign): Added a test for specific interesting memalign values.
53
54         * MallocBench/MallocBench/stress_aligned.cpp: Added.
55         (benchmark_stress_aligned):
56         * MallocBench/MallocBench/stress_aligned.h: Added. Added a stress test
57         for arbitrary memalign values.
58
59 2015-01-16  Geoffrey Garen  <ggaren@apple.com>
60
61         bmalloc: added the tiniest bit of testing for aligned allocation
62         https://bugs.webkit.org/show_bug.cgi?id=140573
63
64         Reviewed by Andreas Kling.
65
66         Just good enoug to catch two bugs in a preliminary implementation.
67
68         * MallocBench/MallocBench.xcodeproj/project.pbxproj:
69         * MallocBench/MallocBench/Benchmark.cpp:
70         * MallocBench/MallocBench/mbmalloc.cpp:
71         * MallocBench/MallocBench/mbmalloc.h:
72         * MallocBench/MallocBench/memalign.cpp: Added.
73         (benchmark_memalign):
74         * MallocBench/MallocBench/memalign.h: Added.
75
76 2014-12-09  Myles C. Maxfield  <mmaxfield@apple.com>
77
78         Add performance test related to font fallback
79         https://bugs.webkit.org/show_bug.cgi?id=139332
80
81         Reviewed by Simon Fraser.
82
83         * Layout/font-fallback.html: Added.
84         * Layout/resources/font-fallback.html: Added.
85
86 2014-12-08  Dean Jackson  <dino@apple.com>
87
88         [Apple] Use Accelerate framework to speed-up FEGaussianBlur
89         https://bugs.webkit.org/show_bug.cgi?id=139310
90
91         Reviewed by Simon Fraser.
92
93         Add an interactive performance test that measures the speed of a set
94         of blur operations on a generated images.
95
96         * Interactive/blur-filter-timing.html: Added.
97
98 2014-11-13  Zalan Bujtas  <zalan@apple.com>
99
100         Simple line layout: Add performance test case to measure line layout speed of monolithic text content.
101         https://bugs.webkit.org/show_bug.cgi?id=138699
102
103         Reviewed by Antti Koivisto.
104
105         * Layout/line-layout-long-long-text.html: Added.
106
107 2014-10-22  Zalan Bujtas  <zalan@apple.com>
108
109         Speed up line parsing for simple line layout (part I)
110         https://bugs.webkit.org/show_bug.cgi?id=137275
111
112         Reviewed by Antti Koivisto.
113
114         Extend simple line layout performance test with a few more cases.
115         Now we've got:
116         <div center
117         <div right
118         <div justify
119         <div white-space: pre (new)
120         <div overflow-wrap: break-word (new)
121         <pre
122         <pre white-space: pre-wrap
123         <pre white-space: pre-line (new)
124         <pre white-space: nowrap (new)
125         <pre white-space: pre-wrap overflow-wrap: break-word
126         <div + embedded <span etc.
127         <div + br
128
129         * Layout/line-layout-simple.html:
130
131 2014-10-15  Andrei Bucur  <abucur@adobe.com>
132
133         [Multicol] Start adding performance tests for the multi-column implementation
134         https://bugs.webkit.org/show_bug.cgi?id=137687
135
136         Reviewed by Mihnea Ovidenie.
137
138         This patch creates a Multicol folder inside the Layout performance tests suite. It adds only two tests
139         as described below.
140
141         The tests are skipped until the implementation stabilizes.
142
143         * Layout/Multicol/MulticolManyColumns.html: Added.
144         This test verifies the performance of the multi-column implementation with two nested multi-column
145         containers, the first having 20 columns and the second 10 columns.
146
147         * Layout/Multicol/MulticolNested.html: Added.
148         This test verifies the performance of nesting multi-column containers in the presence
149         of floats.
150
151         * Layout/Multicol/resources/multicol-content-many-columns.html: Added.
152         * Layout/Multicol/resources/multicol-content-nested.html: Added.
153         * Skipped: Skip the Multicol folder for now.
154
155 2014-09-29  Filip Pizlo  <fpizlo@apple.com>
156
157         It should be fun and easy to run every possible JavaScript benchmark from the command line
158         https://bugs.webkit.org/show_bug.cgi?id=137245
159
160         Reviewed by Oliver Hunt.
161         
162         This adds the scaffolding for running Octane version 2 inside run-jsc-benchmarks.
163         In the future we should just land Octane2 in this directory, and run-jsc-benchmarks
164         should be changed to point directly at this directory instead of requiring the
165         Octane path to be configured as part of the configuration file.
166
167         * Octane: Added.
168         * Octane/wrappers: Added.
169         * Octane/wrappers/jsc-box2d.js: Added.
170         (jscSetUp):
171         (jscTearDown):
172         (jscRun):
173         * Octane/wrappers/jsc-boyer.js: Added.
174         (jscSetUp):
175         (jscTearDown):
176         (jscRun):
177         * Octane/wrappers/jsc-closure.js: Added.
178         (jscSetUp):
179         (jscTearDown):
180         (jscRun):
181         * Octane/wrappers/jsc-decrypt.js: Added.
182         (jscSetUp):
183         (jscTearDown):
184         (jscRun):
185         * Octane/wrappers/jsc-deltablue.js: Added.
186         (jscSetUp):
187         (jscTearDown):
188         (jscRun):
189         * Octane/wrappers/jsc-earley.js: Added.
190         (jscSetUp):
191         (jscTearDown):
192         (jscRun):
193         * Octane/wrappers/jsc-encrypt.js: Added.
194         (jscSetUp):
195         (jscTearDown):
196         (jscRun):
197         * Octane/wrappers/jsc-gbemu.js: Added.
198         (jscSetUp):
199         (jscTearDown):
200         (jscRun):
201         * Octane/wrappers/jsc-jquery.js: Added.
202         (jscSetUp):
203         (jscTearDown):
204         (jscRun):
205         * Octane/wrappers/jsc-mandreel.js: Added.
206         (jscSetUp):
207         (jscTearDown):
208         (jscRun):
209         * Octane/wrappers/jsc-navier-stokes.js: Added.
210         (jscSetUp):
211         (jscTearDown):
212         (jscRun):
213         * Octane/wrappers/jsc-pdfjs.js: Added.
214         (jscSetUp.PdfJS_window.console.log):
215         (jscSetUp):
216         (jscTearDown):
217         (jscRun):
218         * Octane/wrappers/jsc-raytrace.js: Added.
219         (jscSetUp):
220         (jscTearDown):
221         (jscRun):
222         * Octane/wrappers/jsc-regexp.js: Added.
223         (jscSetUp):
224         (jscTearDown):
225         (jscRun):
226         * Octane/wrappers/jsc-richards.js: Added.
227         (jscSetUp):
228         (jscTearDown):
229         (jscRun):
230         * Octane/wrappers/jsc-splay.js: Added.
231         (jscSetUp):
232         (jscTearDown):
233         (jscRun):
234         * Octane/wrappers/jsc-typescript.js: Added.
235         (jscSetUp):
236         (jscTearDown):
237         (jscRun):
238         * Octane/wrappers/jsc-zlib.js: Added.
239         (jscSetUp):
240         (jscTearDown):
241         (jscRun):
242
243 2014-09-28  Sungmann Cho  <sungmann.cho@navercorp.com>
244
245         Fix some minor typos: psuedo -> pseudo
246         https://bugs.webkit.org/show_bug.cgi?id=137192
247
248         Reviewed by Alexey Proskuryakov.
249
250         * Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js:
251
252 2014-09-11  Geoffrey Garen  <ggaren@apple.com>
253
254         Some MallocBench refinements
255         https://bugs.webkit.org/show_bug.cgi?id=136750
256
257         Reviewed by Sam Weinig.
258
259         * MallocBench/MallocBench/Interpreter.cpp:
260         (Interpreter::run): Allow for null entries in the object list so that
261         we can test in modes that exclude large or small allocations.
262
263         * MallocBench/MallocBench/churn.cpp:
264         (benchmark_churn):
265         * MallocBench/MallocBench/flickr.cpp:
266         (benchmark_flickr):
267         * MallocBench/MallocBench/fragment.cpp:
268         (benchmark_fragment_iterate):
269         * MallocBench/MallocBench/list.cpp:
270         (benchmark_list_allocate):
271         * MallocBench/MallocBench/reddit.cpp:
272         (benchmark_reddit): Updated test runtimes to weight them more equally,
273         for the sake of arithmetic mean.
274
275         * MallocBench/MallocBench/stress.cpp:
276         (Object::Object):
277         (allocate):
278         (deallocate):
279         (benchmark_stress): Verify the contents of memory as we go. Also,
280         force scavenging each time through the loop to test the scavenging path.
281
282         * MallocBench/MallocBench/theverge.cpp:
283         (benchmark_theverge):
284         * MallocBench/MallocBench/tree.cpp:
285         (benchmark_tree_churn): Re-weighted, as above.
286
287 2014-09-08  Myles C. Maxfield  <mmaxfield@apple.com>
288
289         PerformanceTests/SVG/SVG-Text.html has unparsable output
290         https://bugs.webkit.org/show_bug.cgi?id=136648
291
292         Reviewed by Gavin Barraclough.
293
294         I need to clean up the arbitrary text on the page before telling
295         the test runner infrastructure that the test is complete.
296
297         * SVG/SVG-Text.html:
298
299 2014-09-05  Myles C. Maxfield  <mmaxfield@apple.com>
300
301         Laying out a TextRun using an SVG font is O(n^2)
302         https://bugs.webkit.org/show_bug.cgi?id=136584
303
304         Reviewed by Andreas Kling.
305
306         Time how long it takes to lay out and render some text using an SVG font.
307
308         * SVG/SVG-Text.html: Added.
309         * SVG/resources/graffiti.svg: Added.
310
311 2014-09-02  Geoffrey Garen  <ggaren@apple.com>
312
313         MallocBench should have a stress test for correctness
314         https://bugs.webkit.org/show_bug.cgi?id=136468
315
316         Reviewed by Andreas Kling.
317
318         Added a stress test that allocates randomized sizes of randomized
319         lifetimes in randomized order.
320
321         This version of the test reproduces the EWS crash seen in bmalloc
322         (<https://bugs.webkit.org/show_bug.cgi?id=132629>).
323
324         * MallocBench/MallocBench.xcodeproj/project.pbxproj:
325         * MallocBench/MallocBench/Benchmark.cpp: Sort!
326         * MallocBench/MallocBench/stress.cpp: Added.
327         (Object::Object):
328         (SizeStream::SizeStream):
329         (SizeStream::next):
330         (benchmark_stress): Usually, we random(0). Surprisingly, though, only
331         random(1) reproduces the bug I was looking for.
332         * MallocBench/MallocBench/stress.h: Added.
333
334 2014-06-02  Ryosuke Niwa  <rniwa@webkit.org>
335
336         Rename DoYouEvenBench 0.17 to Speedometer 1.0 and add a new look.
337         https://bugs.webkit.org/show_bug.cgi?id=133455
338
339         Reviewed by Timothy Hatcher.
340
341         * Speedometer/: Renamed from DoYouEvenBench.
342         * Skipped: Updated the path for InteractiveRunner.html
343
344 2014-06-02  Ryosuke Niwa  <rniwa@webkit.org>
345
346         Rename DoYouEvenBench 0.17 to Speedometer 1.0 and add a new look.
347         https://bugs.webkit.org/show_bug.cgi?id=133455
348
349         Reviewed by Timothy Hatcher.
350
351         Renamed the benchmark to Speedometer and added the new look designed by Timothy Hatcher.
352
353         Also changed the unit of measurements from milliseconds to runs-per-minute averaged over the number
354         of the benchmark suites (7 for 1.0). You can divide 420000 by the old benchmark score (in milliseconds)
355         to get the new value for the set of tests that are enabled by default in 1.0. You can continue to see
356         results in milliseconds on Full.html#ms.
357
358         * DoYouEvenBench/Full.html: Added a bunch of sections and the description of the benchmark.
359
360         * DoYouEvenBench/resources/benchmark-report.js: Remove the newly added content when ran inside a DRT or
361         WTR so that run-perf-tests wouldn't error.
362         * DoYouEvenBench/resources/benchmark-runner.js:
363         (BenchmarkRunner.prototype._appendFrame): Call a newly added willAddTestFrame callback when it exists.
364
365         * DoYouEvenBench/resources/gauge.png: Added.
366         * DoYouEvenBench/resources/gauge@2x.png: Added.
367         * DoYouEvenBench/resources/logo.png: Added.
368         * DoYouEvenBench/resources/logo@2x.png: Added.
369         * DoYouEvenBench/resources/main.css: Replaced the style.
370
371         * DoYouEvenBench/resources/main.js:
372         (window.benchmarkClient.willAddTestFrame): Place the iframe right where #testContainer is shown.
373         (window.benchmarkClient.willRunTest): Show the name of the suite (e.g. EmberJS-TodoMVC) to run next.
374         (window.benchmarkClient.didRunSuites):
375         (window.benchmarkClient.willStartFirstIteration): Initialize _timeValues and _finishedTestCount now that
376         we have an UI to run the benchmark multiple times without reloading the page.
377         (window.benchmarkClient.didFinishLastIteration): Split into smaller pieces.
378         (window.benchmarkClient._computeResults): Computes the mean and the statistics for the given time values,
379         and also format them in a human readable form.
380         (window.benchmarkClient._computeResults.totalTimeInDisplayUnit): Converts ms to runs/min.
381         (window.benchmarkClient._computeResults.sigFigFromPercentDelta): Given a percentage error (e.g. 1%),
382         returns the number of significant digits required for the mean.
383         (window.benchmarkClient._computeResults.toSigFigPrecision): Calls toPrecision with the specified precision
384         constrained to be at least the number of non-decimal digits and at most 6.
385         (window.benchmarkClient._addDetailedResultsRow): Renamed from _addResult. It now takes the table to which
386         to add a row and the iteration number.
387         (window.benchmarkClient._updateGaugeNeedle): Added. Controls the angle of the speed indicator.
388         (window.benchmarkClient._populateDetailedResults): Added.
389         (window.benchmarkClient.prepareUI): Added. It adds an event listener to show a specified section when
390         the push state of the document changes, and shows a warning sign when the view port size is too small.
391         We do this inside a callback to avoid running it inside DRT / WTR.
392         (startBenchmark):
393         (showSection): Added.
394         (startTest): Added.
395         (showResultsSummary): Added.
396         (showResultDetails): Added.
397         (showAbout): Added.
398
399 2014-06-01  Ryosuke Niwa  <rniwa@webkit.org>
400
401         DYEBench: Move test states into benchmarkClient and remove the closure
402         https://bugs.webkit.org/show_bug.cgi?id=133438
403
404         Reviewed by Benjamin Poulain.
405
406         Moved all local variables in the closure wrapping benchmarkClient onto the object itself
407         and removed the closure to improve the readability of the code.
408
409         * DoYouEvenBench/Full.html:
410         * DoYouEvenBench/resources/main.js:
411         (window.benchmarkClient.willRunTest):
412         (window.benchmarkClient.didRunTest):
413         (window.benchmarkClient.didRunSuites):
414         (window.benchmarkClient.willStartFirstIteration):
415         (window.benchmarkClient.didFinishLastIteration):
416         (window.benchmarkClient._addResult): Moved.
417         (.): Deleted.
418
419 2014-06-01  Ryosuke Niwa  <rniwa@webkit.org>
420
421         DYEBench: Split stylesheets and scripts in Full.html into separate files
422         https://bugs.webkit.org/show_bug.cgi?id=133437
423
424         Reviewed by Benjamin Poulain.
425
426         Extracted main.js and main.css.
427
428         Also fixed a bug in startBenchmark that disabled suites were counted towards the total number of tests.
429
430         * DoYouEvenBench/Full.html:
431         * DoYouEvenBench/resources/main.css: Added.
432         * DoYouEvenBench/resources/main.js: Added.
433         (.addResult):
434         (window.benchmarkClient):
435         (startBenchmark): Renamed from startTest.
436
437 2014-06-01  Ryosuke Niwa  <rniwa@webkit.org>
438
439         DYEBench: CSS parser warning at line 106 of base.css
440         https://bugs.webkit.org/show_bug.cgi?id=133433
441
442         Reviewed by Maciej Stachowiak.
443
444         Removed the old filter CSS property for Internet Explorer. The latest Internet Explorer supports -ms-linear-gradient
445         on background CSS property anyways.
446
447         It's interesting that some of the tests only have -webkit- prefixes. Perhaps we should update those subtests.
448
449         * DoYouEvenBench/Full.html:
450         * DoYouEvenBench/resources/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/base.css:
451         (#header:before):
452         * DoYouEvenBench/resources/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.css:
453         (#header:before):
454         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.css:
455         (#header:before):
456         * DoYouEvenBench/resources/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.css:
457         (#header:before):
458         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common/base.css:
459         (#header:before):
460         * DoYouEvenBench/resources/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/base.css:
461         (#header:before):
462         * DoYouEvenBench/resources/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.css:
463         (#header:before):
464
465 2014-05-31  Ryosuke Niwa  <rniwa@webkit.org>
466
467         DYEBench: Ember.js assertion hit at line 20593
468         https://bugs.webkit.org/show_bug.cgi?id=133431
469
470         Reviewed by Darin Adler.
471
472         The assertion was hit because ToDoMVC includes jQuery 2.1 and Ember.js 1.3.1 only recognizes jQuery 2.0.
473         Port the assertion from Ember.js 1.5.1 to suppress the assertion.
474
475         We should update the entire Ember.js at some point but this would do the job for now.
476
477         * DoYouEvenBench/Full.html:
478         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/ember/ember.js:
479
480 2014-05-31  Ryosuke Niwa  <rniwa@webkit.org>
481
482         DYEBench: Prevent frame flattening on iOS
483         https://bugs.webkit.org/show_bug.cgi?id=133428
484
485         Reviewed by Andreas Kling.
486
487         Prevent frame flattening on iOS by setting scrolling=no.
488
489         * DoYouEvenBench/Full.html:
490         * DoYouEvenBench/resources/benchmark-runner.js:
491         (BenchmarkRunner.prototype._appendFrame):
492
493 2014-05-30  Ryosuke Niwa  <rniwa@webkit.org>
494
495         DYEBench spits out 404 errors for learn.json
496         https://bugs.webkit.org/show_bug.cgi?id=133416
497
498         Reviewed by Oliver Hunt.
499
500         Add an empty learn.json file so that it won't cause a 404 error when hosted on a http server.
501
502         Bumped the version number to 0.12.
503
504         * DoYouEvenBench/Full.html:
505         * DoYouEvenBench/resources/todomvc/learn.json:
506
507 2014-05-23  Geoffrey Garen  <ggaren@apple.com>
508
509         Performance testing, diamond-square terrain generation + canvas
510         https://bugs.webkit.org/show_bug.cgi?id=133054
511
512         Reviewed by Ryosuke Niwa.
513
514         This test was written by Hunter Loftis. It originally appeared on his
515         blog @ <http://www.playfuljs.com/realistic-terrain-in-130-lines/>.
516
517         I did a bit of editing for format and benchmark suitability.
518
519         * Canvas/terrain.html: Added.
520
521 2014-05-13  Ryosuke Niwa  <rniwa@webkit.org>
522
523         DYEBench should run 20 iterations in browser
524         https://bugs.webkit.org/show_bug.cgi?id=132795
525
526         Reviewed by Gavin Barraclough.
527
528         Right now, run-perf-tests runs BYEBench 4 times with different instances of DRT/WTR to get
529         a more stable time and account for differences in the runtime environment, particularly,
530         ASLR (Address Space Layout Randomization).
531
532         While we can't account for the latter effect when the benchmark is ran inside a browser,
533         we can at least run 20 iterations to get a more stable (but perhaps biased by ALSR) number.
534
535         While the sample size of 20 is statistically unsound to compute the arithmetic mean from,
536         it's MUCH better than the current sample size of 5.
537
538         * DoYouEvenBench/Full.html:
539         (benchmarkClient.iterationCount): Set the default iteration count to 20.
540         (startTest): Use benchmarkClient.iterationCount as the iteration count.
541         * DoYouEvenBench/resources/benchmark-report.js:
542         (benchmarkClient.iterationCount): Continue to use the old iteration count of 5 when ran
543         inside run-perf-tests.
544
545 2014-05-09  Ryosuke Niwa  <rniwa@webkit.org>
546
547         DYEBench should show 95th percentile right next to the mean with ±
548         https://bugs.webkit.org/show_bug.cgi?id=132729
549
550         Reviewed by Darin Adler.
551
552         Before this patch, Full.html showed the 95th percentile delta for the arthemtic mean in a separate row
553         but this was confusing for some people. Show it right next to mean in the same row separated by ±.
554
555         * DoYouEvenBench/Full.html:
556
557 2014-05-08  Ryosuke Niwa  <rniwa@webkit.org>
558
559         DYEBench should use TodoMVC to test FlightJS for consistency
560         https://bugs.webkit.org/show_bug.cgi?id=132727
561
562         Reviewed by Andreas Kling.
563
564         Add a test suite for the FlightJS version of TodoMVC, and disable FlightJS-MailClient by default.
565
566         I initially intended to include a wider variety of demo apps in DYEBench
567         but that's not happening any time soon so let us use TodoMVC for all frameworks for now.
568
569         We can add more demo apps in v2.
570
571         * DoYouEvenBench/Full.html: Increment the version to 0.10.
572         * DoYouEvenBench/InteractiveRunner.html: Don't check disabled suites by default.
573         * DoYouEvenBench/resources/tests.js:
574         * DoYouEvenBench/resources/todomvc/dependency-examples: Added.
575         * DoYouEvenBench/resources/todomvc/dependency-examples/flight: Added.
576         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/.gitignore: Added.
577         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/.jshintrc: Added.
578         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app: Added.
579         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js: Added.
580         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/app.js: Added.
581         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/data: Added.
582         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/data/stats.js: Added.
583         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/data/todos.js: Added.
584         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/main.js: Added.
585         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/store.js: Added.
586         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui: Added.
587         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui/main_selector.js: Added.
588         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui/new_item.js: Added.
589         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui/stats.js: Added.
590         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui/todo_list.js: Added.
591         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui/toggle_all.js: Added.
592         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui/with_filters.js: Added.
593         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/utils.js: Added.
594         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/templates: Added.
595         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/templates/stats.html: Added.
596         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/templates/todo.html: Added.
597         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower.json: Added.
598         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components: Added.
599         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/depot: Added.
600         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/depot/depot.js: Added.
601         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/es5-shim: Added.
602         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/es5-shim/es5-sham.js: Added.
603         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/es5-shim/es5-shim.js: Added.
604         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight: Added.
605         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib: Added.
606         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/advice.js: Added.
607         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/base.js: Added.
608         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/component.js: Added.
609         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/compose.js: Added.
610         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/debug.js: Added.
611         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/index.js: Added.
612         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/logger.js: Added.
613         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/registry.js: Added.
614         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/utils.js: Added.
615         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/jquery: Added.
616         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/jquery/jquery.js: Added.
617         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/requirejs: Added.
618         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/requirejs-text: Added.
619         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/requirejs-text/text.js: Added.
620         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/requirejs/require.js: Added.
621         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common: Added.
622         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common/base.css: Added.
623         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common/base.js: Added.
624         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common/bg.png: Added.
625         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/index.html: Added.
626         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/karma.conf.js: Added.
627         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/package.json: Added.
628         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/readme.md: Added.
629         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test: Added.
630         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/.jshintrc: Added.
631         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/fixture: Added.
632         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/fixture/footer.html: Added.
633         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/fixture/new_todo.html: Added.
634         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/fixture/toggle_all.html: Added.
635         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/mock: Added.
636         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/mock/datastore.js: Added.
637         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec: Added.
638         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/data: Added.
639         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/data/stats_spec.js: Added.
640         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/data/todos_spec.js: Added.
641         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/ui: Added.
642         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/ui/new_item_spec.js: Added.
643         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/ui/stats_spec.js: Added.
644         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/ui/toggle_all_spec.js: Added.
645         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/test-main.js: Added.
646
647 2014-05-07  Manuel Rego Casasnovas  <rego@igalia.com>
648
649         [CSS Grid Layout] Remove runtime feature
650         https://bugs.webkit.org/show_bug.cgi?id=132382
651
652         Reviewed by Benjamin Poulain.
653
654         Remove set of WebKitCSSGridLayoutEnabled preference.
655
656         * Layout/auto-grid-lots-of-data.html:
657         * Layout/fixed-grid-lots-of-data.html:
658
659 2014-05-06  Radu Stavila  <stavila@adobe.com>
660
661         [CSSRegions] Enabled regions performance tests by default
662         https://bugs.webkit.org/show_bug.cgi?id=128244
663
664         Reviewed by Andreas Kling.
665
666         Enabled regions performance tests.
667
668         * Skipped:
669
670 2014-04-25  Andreas Kling  <akling@apple.com>
671
672         Bump jQuery to same version that dromaeo.com uses.
673
674         Rubber-stamped by Ryosuke Niwa.
675
676         * Dromaeo/resources/dromaeo/web/lib/jquery-1.10.2.min.js: Added.
677         * Dromaeo/resources/dromaeo/web/tests/cssquery-jquery.html:
678         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-jquery.html:
679         * Dromaeo/resources/dromaeo/web/tests/jslib-event-jquery.html:
680         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-jquery.html:
681         * Dromaeo/resources/dromaeo/web/tests/jslib-style-jquery.html:
682         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-jquery.html:
683
684 2014-04-18  Geoffrey Garen  <ggaren@apple.com>
685
686         Added some more Membuster recordings to MallocBench
687         https://bugs.webkit.org/show_bug.cgi?id=131862
688
689         Reviewed by Sam Weinig.
690
691         * MallocBench/MallocBench/Benchmark.cpp:
692         (Benchmark::Benchmark):
693         (Benchmark::run):
694         * MallocBench/MallocBench/Benchmark.h:
695         * MallocBench/MallocBench/CommandLine.cpp:
696         * MallocBench/MallocBench/CommandLine.h:
697         (CommandLine::runs): Added a --runs option, so we can specify zero runs
698         for memory warning benchmarks. Those benchmarks want zero runs so that
699         they can perform a single warmup, which does not free all allocated
700         objects, and then see how far back to 0MB they can get. Running multiple
701         times would accumulate leaks, which is not representative of the
702         simulated scenario.
703
704         * MallocBench/MallocBench/Interpreter.cpp:
705         (Interpreter::Interpreter):
706         (Interpreter::run):
707         * MallocBench/MallocBench/Interpreter.h: Support not deallocating all
708         objects allocated during the recording, so we can do low memory warning
709         memory use measurements, as above.
710
711         * MallocBench/MallocBench/flickr.cpp:
712         (benchmark_flickr_memory_warning):
713         * MallocBench/MallocBench/main.cpp:
714         (main):
715         * MallocBench/MallocBench/reddit.cpp:
716         (benchmark_reddit_memory_warning):
717         * MallocBench/MallocBench/theverge.cpp:
718         (benchmark_theverge_memory_warning): Adopt the API above.
719
720         * MallocBench/run-malloc-benchmarks: I took a first pass at listing all
721         available benchmarks here. Then I commented out the benchmarks that
722         probably aren't reasonable to run by default.
723
724 2014-04-18  Geoffrey Garen  <ggaren@apple.com>
725
726         MallocBench: removed the --measure-heap option
727         https://bugs.webkit.org/show_bug.cgi?id=131854
728
729         Reviewed by Sam Weinig.
730
731         As of <https://bugs.webkit.org/show_bug.cgi?id=131661>, measuring the
732         heap is fast, so there's no reason to disable it.
733
734         * MallocBench/MallocBench/Benchmark.cpp:
735         (Benchmark::Benchmark):
736         (Benchmark::run):
737         (Benchmark::printReport):
738         * MallocBench/MallocBench/Benchmark.h:
739         * MallocBench/MallocBench/CommandLine.cpp:
740         (CommandLine::printUsage):
741         * MallocBench/MallocBench/CommandLine.h:
742         (CommandLine::heapSize):
743         (CommandLine::measureHeap): Deleted.
744         * MallocBench/MallocBench/main.cpp:
745         (main):
746
747 2014-04-16  Alexandru Chiculita  <achicu@adobe.com>
748
749         Improve performance of the RenderLayerCompositor::OverlapMap
750         https://bugs.webkit.org/show_bug.cgi?id=115063
751
752         Reviewed by Simon Fraser.
753
754         Testing the performance of computing the overlap of 5000 layers.
755
756         * Layout/layers_overlap_2d.html: Added. Using non-composited layers, to check
757         that the performance on the non-composited path is not changing with this patch.
758         * Layout/layers_overlap_3d.html: Added. Records the time to do the layout of 5000
759         non-overlapping 3D layers.
760
761 2014-04-15  Zoltan Horvath  <zoltan@webkit.org>
762
763         [CSS Shapes] Linking stylesheet instead of inline style definition has ruined ShapesRegions test
764         https://bugs.webkit.org/show_bug.cgi?id=131572
765
766         Reviewed by Rob Buis.
767
768         In r167022 I moved the common CSS selectors into RegionsShapes.css, then I linked it into the perf test
769         files, but the measurement results dropped down from about 400ms to 10ms. I realized it's caused by the
770         linked css rule, so I've put the selectors back into every test case, which fixes the test measurements.
771
772         * Layout/Shapes/resources/RegionsShapes.css: Removed.
773         * Layout/Shapes/resources/RegionsShapesContent.html:
774         * Layout/Shapes/resources/RegionsShapesContentNoRegionsWidth400.html:
775         * Layout/Shapes/resources/RegionsShapesContentNoRegionsWidth600.html:
776         * Layout/Shapes/resources/RegionsShapesContentNoRegionsWidth800.html:
777         * Layout/Shapes/resources/RegionsShapesContentNoShapes.html:
778
779 2014-04-14  Geoffrey Garen  <ggaren@apple.com>
780
781         MallocBench should scavenge explicitly instead of waiting
782         https://bugs.webkit.org/show_bug.cgi?id=131661
783
784         Reviewed by Andreas Kling.
785
786         * MallocBench/MallocBench.xcodeproj/project.pbxproj: Don't build mbmalloc
787         by default because it will overwrite any other mbmalloc you're working
788         with in the WebKitBuild directory.
789
790         * MallocBench/MallocBench/Benchmark.cpp:
791         (Benchmark::run): Scavenge explicitly instead of waiting. This is faster,
792         and it's the only way to get FastMalloc to scavenge. (That's a bug in
793         FastMalloc, but we don't want it to interfere with broader testing.)
794
795         * MallocBench/MallocBench/mbmalloc.cpp:
796         * MallocBench/MallocBench/mbmalloc.h: Added a scavenge implementation
797         for system malloc.
798
799 2014-04-14  Geoffrey Garen  <ggaren@apple.com>
800
801         A few MallocBench record/replay fixes
802         https://bugs.webkit.org/show_bug.cgi?id=131627
803
804         Reviewed by Andreas Kling.
805
806         * MallocBench/MallocBench/Interpreter.cpp:
807         (Interpreter::run): Accept 0-sized allocations without asserting because
808         WebKit does that sometimes.
809
810         * MallocBench/MallocBench/flickr.ops:
811         * MallocBench/MallocBench/flickr_memory_warning.ops:
812         * MallocBench/MallocBench/reddit.ops:
813         * MallocBench/MallocBench/reddit_memory_warning.ops:
814         * MallocBench/MallocBench/theverge.ops:
815         * MallocBench/MallocBench/theverge_memory_warning.ops: Updated these
816         recordings because a bug in the recording mechanism caused one out of
817         every few thousand slot values to be bogus.
818
819 2014-04-13  Geoffrey Garen  <ggaren@apple.com>
820
821         Added some website recordings to MallocBench -- taken from Membuster
822         https://bugs.webkit.org/show_bug.cgi?id=131601
823
824         Reviewed by Ryosuke Niwa.
825
826         Added flickr, reddit, and theverge -- each recorded from Membuster's
827         cache, with and without sending Safari a low memory warning.
828
829         * MallocBench/MallocBench.xcodeproj/project.pbxproj:
830         * MallocBench/MallocBench/Benchmark.cpp:
831         * MallocBench/MallocBench/flickr.cpp: Added.
832         (benchmark_flickr):
833         (benchmark_flickr_memory_warning):
834         * MallocBench/MallocBench/flickr.h: Added.
835         * MallocBench/MallocBench/flickr.ops: Added.
836         * MallocBench/MallocBench/flickr_memory_warning.ops: Added.
837         * MallocBench/MallocBench/reddit.cpp: Added.
838         (benchmark_reddit):
839         (benchmark_reddit_memory_warning):
840         * MallocBench/MallocBench/reddit.h: Added.
841         * MallocBench/MallocBench/reddit.ops: Added.
842         * MallocBench/MallocBench/reddit_memory_warning.ops: Added.
843         * MallocBench/MallocBench/theverge.cpp: Added.
844         (benchmark_theverge):
845         (benchmark_theverge_memory_warning):
846         * MallocBench/MallocBench/theverge.h: Added.
847         * MallocBench/MallocBench/theverge.ops: Added.
848         * MallocBench/MallocBench/theverge_memory_warning.ops: Added.
849
850 2014-04-13  Geoffrey Garen  <ggaren@apple.com>
851
852         MallocBench record/replay should support realloc
853         https://bugs.webkit.org/show_bug.cgi?id=131598
854
855         Reviewed by Ryosuke Niwa.
856
857         * MallocBench/MallocBench.xcodeproj/project.pbxproj: Fixed some linkage
858         issues that caused us not to fully link to system malloc in the default
859         case. Also marked mbmalloc.dylib as required so the error message will
860         be clearer if we mess up.
861
862         * MallocBench/MallocBench/Interpreter.cpp:
863         (Interpreter::run):
864         * MallocBench/MallocBench/Interpreter.h: Added the realloc case, and
865         upgraded one-letter names to full words.
866
867 2014-04-11  Dirk Schulze  <krit@webkit.org>
868
869         Optimize Canvas fill and drawImage with SourceIn, DestinationIn, SourceOut, and DestinationAtop using transparencyLayer.
870         https://bugs.webkit.org/show_bug.cgi?id=79659
871
872         Reviewed by Andreas Kling.
873
874         Add performance tests for real this time.
875
876         * Canvas/compositing-drawimage.html: Added.
877         * Canvas/compositing-fillRect.html: Added.
878
879
880 2014-04-11  Dirk Schulze  <krit@webkit.org>
881
882         Optimize Canvas fill and drawImage with SourceIn, DestinationIn, SourceOut, and DestinationAtop using transparencyLayer.
883         https://bugs.webkit.org/show_bug.cgi?id=79659
884
885         Reviewed by Andreas Kling.
886
887         Add performance tests for fillRect() and drawImage() on composited contexts.
888
889         * Canvas/compositing-drawimage.html: Added.
890         * Canvas/compositing-fillRect.html: Added.
891
892 2014-04-09  Zoltan Horvath  <zoltan@webkit.org>
893
894         [CSS Shapes] Add no shapes version of RegionsShapes performance test
895         https://bugs.webkit.org/show_bug.cgi?id=131455
896         
897         Reviewed by Ryosuke Niwa.
898
899         This is a no shapes version of the RegionsShapes performance test. All the content
900         will wrap around the floating containers. This way we can compare the runtime/memory
901         usage of the RegionsShapes test with/without shapes. The test is skipped by default.
902
903         * Layout/Shapes/RegionsShapesNoShapes.html: Added.
904         * Layout/Shapes/resources/RegionsShapesContentNoShapes.html: Added.
905
906 2014-04-09  Zoltan Horvath  <zoltan@webkit.org>
907
908         [CSS Shapes] Add no regions version of RegionsShapes performance test
909         https://bugs.webkit.org/show_bug.cgi?id=131442
910
911         Reviewed by Ryosuke Niwa.
912
913         We would like have a no regions version for RegionsShapes performance test. The new
914         test produces similar layout to RegionsShapes.html without using regions. It is helpful
915         for us to do further comparisons when necessary. This test is skipped by default.
916
917         * Layout/Shapes/RegionsShapesNoRegions.html: Added.
918         * Layout/Shapes/resources/RegionsShapes.css: Added.
919         (html, body):
920         (.shape):
921         (#circleShape):
922         (#imageShape):
923         (#insetShape):
924         (#roundedInsetShape):
925         (#triangleLeft):
926         (#triangleRight):
927         (#selfIntersectingStar):
928         (#region1):
929         (#region2):
930         (#region3):
931         * Layout/Shapes/resources/RegionsShapesContent.html:
932         * Layout/Shapes/resources/RegionsShapesContentNoRegionsWidth400.html: Added.
933         * Layout/Shapes/resources/RegionsShapesContentNoRegionsWidth600.html: Added.
934         * Layout/Shapes/resources/RegionsShapesContentNoRegionsWidth800.html: Added.
935
936 2014-04-02  Geoffrey Garen  <ggaren@apple.com>
937
938         Unreviewed.
939
940         Try to ignore some Xcode shmutz in MallocBench.
941
942         * MallocBench/MallocBench.xcodeproj: Added property svn:ignore.
943
944 2014-04-02  Geoffrey Garen  <ggaren@apple.com>
945
946         Let's benchmark malloc
947         https://bugs.webkit.org/show_bug.cgi?id=131118
948
949         Reviewed by Mark Hahnenberg.
950
951         I want to replace fastMalloc with something faster (fasterMalloc?).
952         I wrote these benchmarks to test / drive development.
953
954         * MallocBench: Added.
955         * MallocBench/MallocBench: Added.
956         * MallocBench/MallocBench.xcodeproj: Added.
957         * MallocBench/MallocBench.xcodeproj/project.pbxproj: Added.
958         * MallocBench/MallocBench/Benchmark.cpp: Added.
959         (allocateHeap):
960         (deallocateHeap):
961         (Benchmark::Benchmark):
962         (Benchmark::printBenchmarks):
963         (Benchmark::runOnce):
964         (Benchmark::run):
965         (Benchmark::printReport):
966         (Benchmark::currentTimeMS):
967         (Benchmark::currentMemoryBytes):
968         * MallocBench/MallocBench/Benchmark.h: Added.
969         (Benchmark::Memory::Memory):
970         (Benchmark::Memory::operator-):
971         (Benchmark::isValid):
972         * MallocBench/MallocBench/CPUCount.cpp: Added.
973         (cpuCount):
974         * MallocBench/MallocBench/CPUCount.h: Added.
975         * MallocBench/MallocBench/CommandLine.cpp: Added.
976         (CommandLine::printUsage):
977         * MallocBench/MallocBench/CommandLine.h: Added.
978         (CommandLine::isValid):
979         (CommandLine::benchmarkName):
980         (CommandLine::isParallel):
981         (CommandLine::heapSize):
982         (CommandLine::measureHeap):
983         * MallocBench/MallocBench/Interpreter.cpp: Added.
984         (Interpreter::Interpreter):
985         (Interpreter::~Interpreter):
986         (Interpreter::run):
987         * MallocBench/MallocBench/Interpreter.h: Added.
988         * MallocBench/MallocBench/balloon.cpp: Added.
989         (benchmark_balloon):
990         * MallocBench/MallocBench/balloon.h: Added.
991         * MallocBench/MallocBench/big.cpp: Added.
992         (benchmark_big):
993         * MallocBench/MallocBench/big.h: Added.
994         * MallocBench/MallocBench/churn.cpp: Added.
995         (HeapDouble::operator new):
996         (HeapDouble::operator delete):
997         (HeapDouble::HeapDouble):
998         (HeapDouble::operator+=):
999         (benchmark_churn):
1000         * MallocBench/MallocBench/churn.h: Added.
1001         * MallocBench/MallocBench/crash.ops: Added.
1002         * MallocBench/MallocBench/facebook.cpp: Added.
1003         (benchmark_facebook):
1004         * MallocBench/MallocBench/facebook.h: Added.
1005         * MallocBench/MallocBench/facebook.ops: Added.
1006         * MallocBench/MallocBench/fragment.cpp: Added.
1007         (validate):
1008         (benchmark_fragment):
1009         (benchmark_fragment_iterate):
1010         * MallocBench/MallocBench/fragment.h: Added.
1011         * MallocBench/MallocBench/list.cpp: Added.
1012         (benchmark_list_allocate):
1013         (benchmark_list_traverse):
1014         * MallocBench/MallocBench/list.h: Added.
1015         * MallocBench/MallocBench/main.cpp: Added.
1016         (main):
1017         * MallocBench/MallocBench/mbmalloc.cpp: Added.
1018         * MallocBench/MallocBench/mbmalloc.h: Added.
1019         * MallocBench/MallocBench/medium.cpp: Added.
1020         (benchmark_medium):
1021         * MallocBench/MallocBench/medium.h: Added.
1022         * MallocBench/MallocBench/message.cpp: Added.
1023         (benchmark_message_one):
1024         (benchmark_message_many):
1025         * MallocBench/MallocBench/message.h: Added.
1026         * MallocBench/MallocBench/realloc.cpp: Added.
1027         (benchmark_realloc):
1028         * MallocBench/MallocBench/realloc.h: Added.
1029         * MallocBench/MallocBench/tree.cpp: Added.
1030         (benchmark_tree_allocate):
1031         (benchmark_tree_traverse):
1032         (benchmark_tree_churn):
1033         * MallocBench/MallocBench/tree.h: Added.
1034         * MallocBench/run-malloc-benchmarks: Added.
1035
1036 2014-03-29  Mark Lam  <mark.lam@apple.com>
1037
1038         LongSpider 3d-morph result check is inappropriate.
1039         <https://webkit.org/b/130928>
1040
1041         Reviewed by Filip Pizlo.
1042
1043         The LongSpider 3d-morph component expected result check is incorrect.
1044         The existing test checks if the leading digit of a sum starts with "-1".
1045         However, it turned out that the expected sum is in the order of
1046         -1.8735013540549517e-16 (i.e. very close to 0).  With small errors in
1047         the terms of the sum adding up, it is very easy for the resultant sum 
1048         to fluctuate.  There is no guarantee that the resultant sum's most
1049         significant digit will start with -1 either.
1050
1051         The fix is to do a tolerance check on all the terms of the sum as well
1052         as the total sum value instead.  The tolerance should be more lenient
1053         for the sum which accumulates error from the individual terms, then for
1054         individual terms.
1055
1056         * LongSpider/3d-morph.js:
1057         (expect):
1058
1059 2014-03-28  Zoltan Horvath  <zoltan@webkit.org>
1060
1061         [CSS Shapes] Add performance tests for Shapes with Regions
1062         https://bugs.webkit.org/show_bug.cgi?id=129624
1063
1064         Reviewed by Ryosuke Niwa.
1065
1066         This tests introduces a real-life like page, which contains different types of shapes within
1067         shape-outsides. The content flows through regions, which use media queries. The performance test
1068         loads the actual Shapes-Regions test case into iframes with different page sizes (thus the layout
1069         triggers the media queries as well), and measures its load time.
1070
1071         * Layout/RegionsShapes.html: Added.
1072         * Layout/Shapes/resources/RegionsShapesContent.html: Added.
1073
1074 2014-03-20  Zoltan Horvath  <zoltan@webkit.org>
1075
1076         Add option for hiding Confidence Interval Delta on the performance tests results page
1077         https://bugs.webkit.org/show_bug.cgi?id=130483
1078
1079         Reviewed by Ryosuke Niwa.
1080
1081         I've found it useful to hide the confidence interval delta from the results table
1082         sometimes, for example on copying data, or for a clearer look. This patch introduces
1083         a new button for it on the local results page.
1084
1085         * resources/results-template.html:
1086
1087 2014-03-20  Laszlo Vidacs  <lvidacs.u-szeged@partner.samsung.com>
1088
1089         Optimize RenderTable::colToEffCol() for tables without colspans
1090         https://bugs.webkit.org/show_bug.cgi?id=129298
1091
1092         Reviewed by Simon Fraser.
1093
1094         Create an alternative fast path to RenderTable colToEffCol() and effColToCol()
1095         when there is no colspan or colspan does not exceed the width of table.
1096         Blink merge https://codereview.chromium.org/154243002 by rhogan
1097
1098         * Layout/large-table-with-collapsed-borders-and-colspans-wider-than-table.html: Added.
1099         * Layout/large-table-with-collapsed-borders-and-colspans.html: Added.
1100         * Layout/large-table-with-collapsed-borders-and-no-colspans.html: Added.
1101         * Layout/resources/large-table-with-collapsed-borders.css: Added.
1102         * Layout/resources/large-table-with-collapsed-borders.js: Added.
1103
1104 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
1105
1106         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
1107         https://bugs.webkit.org/show_bug.cgi?id=130276
1108         <rdar://problem/16266927>
1109
1110         Reviewed by Simon Fraser.
1111
1112         * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-raytrace.html:
1113         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bitwise-and.html:
1114         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-cordic.html:
1115         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-tagcloud.html:
1116         * LongSpider/3d-morph.js:
1117         * LongSpider/3d-raytrace.js:
1118         * LongSpider/math-cordic.js:
1119         * LongSpider/string-tagcloud.js:
1120         * Parser/resources/html5-8266.html:
1121         * Parser/resources/html5.html:
1122
1123 2014-03-10  Zoltan Horvath  <zoltan@webkit.org>
1124
1125         [CSS Shapes] Add performance tests for SVG shape with shape-margin
1126         https://bugs.webkit.org/show_bug.cgi?id=129930
1127
1128         Reviewed by Ryosuke Niwa.
1129
1130         The test is skipped by default.
1131
1132         * Layout/Shapes/ShapeOutsideSVGWithMargin.html: Added.
1133         * Layout/Shapes/resources/shape.svg: Added.
1134
1135 2014-02-19  Zoltan Horvath  <zoltan@webkit.org>
1136
1137         [CSS Shapes] Add performance test for stacked floats with shape-outsides
1138         https://bugs.webkit.org/show_bug.cgi?id=128821
1139
1140         Reviewed by Brent Fulgham.
1141
1142         This tests generate stacked floats content with shape-outsides.
1143         The test is skipped by default.
1144
1145         * Layout/Shapes/ShapeOutsideStackedPolygons.html: Added.
1146
1147 2014-02-15  Zoltan Horvath  <zoltan@webkit.org>
1148
1149         [CSS Shapes] Add performance test for raster shape with shape-margin
1150         https://bugs.webkit.org/show_bug.cgi?id=128770
1151
1152         Reviewed by Ryosuke Niwa.
1153
1154         This patch introduces a new performance test for image valued shapes,
1155         where shape-margin is applied on the shape.
1156         The test is skipped by default.
1157
1158         * Layout/Shapes/ShapeOutsideRasterWithMargin.html: Added.
1159
1160 2014-02-14  Ryosuke Niwa  <rniwa@webkit.org>
1161
1162         Improve the appearance of DYEBench
1163         https://bugs.webkit.org/show_bug.cgi?id=128866
1164
1165         Reviewed by Antti Koivisto.
1166
1167         Add a div that shows progress during the test. Also show 95th percentile,
1168         and use a table instead of pre to show results.
1169
1170         * DoYouEvenBench/Full.html:
1171         (.addResult): Added. Shows results in a table.
1172         (benchmarkClient.willRunTest): Added to show the progress bar.
1173         (benchmarkClient.didRunTest):
1174         (benchmarkClient.didRunSuites):
1175         (benchmarkClient.didFinishLastIteration): Compute 95th percentile using Statistics.js
1176
1177         * DoYouEvenBench/resources/benchmark-runner.js:
1178         (BenchmarkRunner.prototype._appendFrame): Fix the bug where marginLeft and marginTop
1179         weren't correctly parsed. We were treating top as left and bottom as top somehow.
1180         (BenchmarkRunner.prototype._runTestAndRecordResults): Fixed a typo.
1181
1182 2014-02-13  Zoltan Horvath  <zoltan@webkit.org>
1183
1184         [CSS Shapes] Add performance test for complex polygon with shape-margin
1185         https://bugs.webkit.org/show_bug.cgi?id=128769
1186
1187         Reviewed by Ryosuke Niwa.
1188
1189         This patch modifies the logic of createShapeOutsideTest to accept multiple
1190         CSS properties from the test. The patch adds performance test for complex
1191         polygon shape (self intersecting at multiple places) case, moreover we
1192         apply shape-margin on the polygon also.
1193
1194         * Layout/Shapes/ShapeOutsideContentBox.html:
1195         * Layout/Shapes/ShapeOutsideInset.html:
1196         * Layout/Shapes/ShapeOutsidePolygonWithMargin.html: Added.
1197         * Layout/Shapes/ShapeOutsideRaster.html:
1198         * Layout/Shapes/ShapeOutsideSimplePolygon.html:
1199         * Layout/Shapes/resources/shapes.js:
1200
1201 2014-02-13  Zoltan Horvath  <zoltan@webkit.org>
1202
1203         [CSS Shapes] Add performance test for raster shape
1204         https://bugs.webkit.org/show_bug.cgi?id=128746
1205
1206         Reviewed by Ryosuke Niwa.
1207
1208         This patch adds performance testing for image valued shape-outside.
1209         The test is skipped by default for now.
1210
1211         * Layout/Shapes/ShapeOutsideRaster.html: Added.
1212         * Layout/Shapes/resources/shape.gif: Added.
1213
1214 2014-02-10  Zoltan Horvath  <zoltan@webkit.org>
1215
1216         [CSS Shapes] Add initial performance tests for polygon shape 
1217         https://bugs.webkit.org/show_bug.cgi?id=128554
1218
1219         Reviewed by Ryosuke Niwa.
1220
1221         This patch adds performance testing for simple polygon shape-outside.
1222         The Shapes performance tests directory is skipped by default.
1223
1224         * Layout/Shapes/ShapeOutsideSimplePolygon.html: Added.
1225
1226 2014-02-07  Zoltan Horvath  <zoltan@webkit.org>
1227
1228         [CSS Shapes] Add initial performance tests for inset shape
1229         https://bugs.webkit.org/show_bug.cgi?id=128378
1230
1231         Reviewed by Ryosuke Niwa.
1232
1233         * Layout/Shapes/ShapeOutsideContentBox.html: Move js to shapes.js.
1234         * Layout/Shapes/ShapeOutsideInset.html: Added.
1235         * Layout/Shapes/resources/shapes.js: Added.
1236         (.):
1237
1238 2014-02-04  Ryosuke Niwa  <rniwa@webkit.org>
1239
1240         Undelete the "build" directory erroneously removed in r163427.
1241
1242         * DoYouEvenBench/resources/todomvc/labs/architecture-examples/react/bower_components/director/build:
1243
1244 2014-02-04  Ryosuke Niwa  <rniwa@webkit.org>
1245
1246         Revert the change made in r162216 as it broke the benchmark on shipping Safari.
1247
1248         * DoYouEvenBench/resources/benchmark-runner.js:
1249
1250 2014-02-04  Ryosuke Niwa  <rniwa@webkit.org>
1251
1252         DoYouEvenBench: Update Ember.js test case
1253         https://bugs.webkit.org/show_bug.cgi?id=128227
1254
1255         Reviewed by Benjamin Poulain.
1256
1257         Updated the Ember.js TodoMVC implementation.
1258
1259         * DoYouEvenBench/resources/tests.js:
1260         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower.json:
1261         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/ember-data/ember-data.js: Added.
1262         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter/localstorage_adapter.js:
1263         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/ember/ember.js:
1264         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js:
1265         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/jquery/jquery.js:
1266         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.css:
1267         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.js:
1268         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/index.html:
1269         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/app.js:
1270         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/controllers/todo_controller.js:
1271         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/controllers/todos_controller.js:
1272         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/helpers/pluralize.js: Added.
1273         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/libs/ember-data.js: Removed.
1274         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/models/store.js: Removed.
1275         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/models/todo.js:
1276         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/router.js:
1277         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/views/edit_todo_view.js:
1278         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/views/todos_view.js: Added.
1279         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/readme.md:
1280         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/test.html:
1281
1282 2014-02-04  Zoltan Horvath  <zoltan@webkit.org>
1283
1284         [CSS Shapes] Add initial performance test for shape-outside: content-box
1285         https://bugs.webkit.org/show_bug.cgi?id=128190
1286
1287         Reviewed by Ryosuke Niwa.
1288
1289         I've introduced Shapes subdirectory in Layout, every CSS Shapes related performance tests should
1290         go there in the future. The initial performance tests uses 'shape-outside: content-box' in order
1291         to tests the code paths of the Shapes implementation. I also introduced shapes.js, which allows us
1292         to easily add new, simple performance tests for shape-outside.
1293
1294         The entire progress is tracked under #128188 meta bug.
1295
1296         * Layout/Shapes/ShapeOutsideContentBox.html: Added.
1297         * Layout/Shapes/resources/shapes.css: Added.
1298         * Layout/Shapes/resources/shapes.js: Added.
1299         * Skipped: We skip running the tests by default for now.
1300
1301 2014-01-17  Manuel Rego Casasnovas  <rego@igalia.com>
1302
1303         [CSS Regions] Minor fixes in regions performance tests
1304         https://bugs.webkit.org/show_bug.cgi?id=127041
1305
1306         Reviewed by Ryosuke Niwa.
1307
1308         Fix minor issues in CSS Regions performance tests.
1309
1310         * Layout/RegionsAuto.html: Change type to lower case.
1311         * Layout/RegionsAutoMaxHeight.html: Ditto.
1312         * Layout/RegionsFixed.html: Ditto.
1313         * Layout/RegionsFixedShort.html: Ditto.
1314         * Layout/RegionsSelection.html: Ditto. Move test methods from regions.js.
1315         * Layout/resources/regions.js: Remove moved methods.
1316
1317 2014-01-17  Ryosuke Niwa  <rniwa@webkit.org>
1318
1319         Host DoYouEvenBench on webkit.org
1320         https://bugs.webkit.org/show_bug.cgi?id=127185
1321
1322         Reviewed by Benjamin Poulain.
1323
1324         Compute the resources directory relative to the benchmark-runner's location
1325         so that we can load tests even if the runner HTML was located elsewhere.
1326
1327         * DoYouEvenBench/Full.html:
1328         * DoYouEvenBench/resources/benchmark-runner.js:
1329         (BenchmarkState._containingDirectory):
1330
1331 2014-01-17  Ryosuke Niwa  <rniwa@webkit.org>
1332
1333         DoYouEvenBench: Move flightjs-example-app and todomvc into resources
1334         https://bugs.webkit.org/show_bug.cgi?id=127183
1335
1336         Rubber-stamped by Anders Carlsson.
1337
1338         * DoYouEvenBench/InteractiveRunner.html: Copied from PerformanceTests/DoYouEvenBench/benchmark.html.
1339         * DoYouEvenBench/benchmark.html: Removed.
1340         * DoYouEvenBench/flightjs-example-app: Removed.
1341         * DoYouEvenBench/flightjs-example-app/LICENSE.md: Removed.
1342         * DoYouEvenBench/flightjs-example-app/README.md: Removed.
1343         * DoYouEvenBench/flightjs-example-app/app: Removed.
1344         * DoYouEvenBench/flightjs-example-app/app/boot: Removed.
1345         * DoYouEvenBench/flightjs-example-app/app/boot/page.js: Removed.
1346         * DoYouEvenBench/flightjs-example-app/app/component_data: Removed.
1347         * DoYouEvenBench/flightjs-example-app/app/component_data/compose_box.js: Removed.
1348         * DoYouEvenBench/flightjs-example-app/app/component_data/mail_items.js: Removed.
1349         * DoYouEvenBench/flightjs-example-app/app/component_data/move_to.js: Removed.
1350         * DoYouEvenBench/flightjs-example-app/app/component_ui: Removed.
1351         * DoYouEvenBench/flightjs-example-app/app/component_ui/compose_box.js: Removed.
1352         * DoYouEvenBench/flightjs-example-app/app/component_ui/folders.js: Removed.
1353         * DoYouEvenBench/flightjs-example-app/app/component_ui/mail_controls.js: Removed.
1354         * DoYouEvenBench/flightjs-example-app/app/component_ui/mail_items.js: Removed.
1355         * DoYouEvenBench/flightjs-example-app/app/component_ui/move_to_selector.js: Removed.
1356         * DoYouEvenBench/flightjs-example-app/app/component_ui/with_select.js: Removed.
1357         * DoYouEvenBench/flightjs-example-app/app/css: Removed.
1358         * DoYouEvenBench/flightjs-example-app/app/css/custom.css: Removed.
1359         * DoYouEvenBench/flightjs-example-app/app/data.js: Removed.
1360         * DoYouEvenBench/flightjs-example-app/app/templates.js: Removed.
1361         * DoYouEvenBench/flightjs-example-app/components: Removed.
1362         * DoYouEvenBench/flightjs-example-app/components/bootstrap: Removed.
1363         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css: Removed.
1364         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap-responsive.css: Removed.
1365         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap-responsive.min.css: Removed.
1366         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap.css: Removed.
1367         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap.min.css: Removed.
1368         * DoYouEvenBench/flightjs-example-app/components/bootstrap/img: Removed.
1369         * DoYouEvenBench/flightjs-example-app/components/bootstrap/img/glyphicons-halflings-white.png: Removed.
1370         * DoYouEvenBench/flightjs-example-app/components/bootstrap/img/glyphicons-halflings.png: Removed.
1371         * DoYouEvenBench/flightjs-example-app/components/bootstrap/js: Removed.
1372         * DoYouEvenBench/flightjs-example-app/components/bootstrap/js/bootstrap.js: Removed.
1373         * DoYouEvenBench/flightjs-example-app/components/bootstrap/js/bootstrap.min.js: Removed.
1374         * DoYouEvenBench/flightjs-example-app/components/es5-shim: Removed.
1375         * DoYouEvenBench/flightjs-example-app/components/es5-shim/.gitignore: Removed.
1376         * DoYouEvenBench/flightjs-example-app/components/es5-shim/CHANGES: Removed.
1377         * DoYouEvenBench/flightjs-example-app/components/es5-shim/CONTRIBUTORS.md: Removed.
1378         * DoYouEvenBench/flightjs-example-app/components/es5-shim/LICENSE: Removed.
1379         * DoYouEvenBench/flightjs-example-app/components/es5-shim/README.md: Removed.
1380         * DoYouEvenBench/flightjs-example-app/components/es5-shim/component.json: Removed.
1381         * DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-sham.js: Removed.
1382         * DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-sham.min.js: Removed.
1383         * DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-shim.js: Removed.
1384         * DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-shim.min.js: Removed.
1385         * DoYouEvenBench/flightjs-example-app/components/es5-shim/package.json: Removed.
1386         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests: Removed.
1387         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers: Removed.
1388         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers/h-kill.js: Removed.
1389         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers/h-matchers.js: Removed.
1390         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers/h.js: Removed.
1391         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/index.html: Removed.
1392         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib: Removed.
1393         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine-html.js: Removed.
1394         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine.css: Removed.
1395         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine.js: Removed.
1396         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine_favicon.png: Removed.
1397         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/json2.js: Removed.
1398         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec: Removed.
1399         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-array.js: Removed.
1400         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-date.js: Removed.
1401         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-function.js: Removed.
1402         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-object.js: Removed.
1403         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-string.js: Removed.
1404         * DoYouEvenBench/flightjs-example-app/components/flight: Removed.
1405         * DoYouEvenBench/flightjs-example-app/components/flight/.travis.yml: Removed.
1406         * DoYouEvenBench/flightjs-example-app/components/flight/lib: Removed.
1407         * DoYouEvenBench/flightjs-example-app/components/flight/lib/advice.js: Removed.
1408         * DoYouEvenBench/flightjs-example-app/components/flight/lib/component.js: Removed.
1409         * DoYouEvenBench/flightjs-example-app/components/flight/lib/compose.js: Removed.
1410         * DoYouEvenBench/flightjs-example-app/components/flight/lib/index.js: Removed.
1411         * DoYouEvenBench/flightjs-example-app/components/flight/lib/logger.js: Removed.
1412         * DoYouEvenBench/flightjs-example-app/components/flight/lib/registry.js: Removed.
1413         * DoYouEvenBench/flightjs-example-app/components/flight/lib/utils.js: Removed.
1414         * DoYouEvenBench/flightjs-example-app/components/flight/tools: Removed.
1415         * DoYouEvenBench/flightjs-example-app/components/flight/tools/debug: Removed.
1416         * DoYouEvenBench/flightjs-example-app/components/flight/tools/debug/debug.js: Removed.
1417         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight: Removed.
1418         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/LICENSE.md: Removed.
1419         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/README.md: Removed.
1420         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/bower.json: Removed.
1421         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/lib: Removed.
1422         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/lib/jasmine-flight.js: Removed.
1423         * DoYouEvenBench/flightjs-example-app/components/jasmine-jquery: Removed.
1424         * DoYouEvenBench/flightjs-example-app/components/jasmine-jquery/lib: Removed.
1425         * DoYouEvenBench/flightjs-example-app/components/jasmine-jquery/lib/jasmine-jquery.js: Removed.
1426         * DoYouEvenBench/flightjs-example-app/components/jquery: Removed.
1427         * DoYouEvenBench/flightjs-example-app/components/jquery/component.json: Removed.
1428         * DoYouEvenBench/flightjs-example-app/components/jquery/composer.json: Removed.
1429         * DoYouEvenBench/flightjs-example-app/components/jquery/jquery.js: Removed.
1430         * DoYouEvenBench/flightjs-example-app/components/jquery/jquery.min.js: Removed.
1431         * DoYouEvenBench/flightjs-example-app/components/mustache: Removed.
1432         * DoYouEvenBench/flightjs-example-app/components/mustache/mustache.js: Removed.
1433         * DoYouEvenBench/flightjs-example-app/components/requirejs: Removed.
1434         * DoYouEvenBench/flightjs-example-app/components/requirejs/require.js: Removed.
1435         * DoYouEvenBench/flightjs-example-app/index.html: Removed.
1436         * DoYouEvenBench/flightjs-example-app/karma.conf.js: Removed.
1437         * DoYouEvenBench/flightjs-example-app/package.json: Removed.
1438         * DoYouEvenBench/flightjs-example-app/requireMain.js: Removed.
1439         * DoYouEvenBench/resources/benchmark-runner.js:
1440         * DoYouEvenBench/resources/flightjs-example-app: Copied from PerformanceTests/DoYouEvenBench/flightjs-example-app.
1441         * DoYouEvenBench/resources/todomvc: Copied from PerformanceTests/DoYouEvenBench/todomvc.
1442         * DoYouEvenBench/todomvc: Removed.
1443         * DoYouEvenBench/todomvc/architecture-examples: Removed.
1444         * DoYouEvenBench/todomvc/architecture-examples/angularjs: Removed.
1445         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower.json: Removed.
1446         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components: Removed.
1447         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular: Removed.
1448         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular-mocks: Removed.
1449         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular-mocks/angular-mocks.js: Removed.
1450         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular/angular.js: Removed.
1451         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common: Removed.
1452         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/base.css: Removed.
1453         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/base.js: Removed.
1454         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/bg.png: Removed.
1455         * DoYouEvenBench/todomvc/architecture-examples/angularjs/index.html: Removed.
1456         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js: Removed.
1457         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/app.js: Removed.
1458         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/controllers: Removed.
1459         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/controllers/todoCtrl.js: Removed.
1460         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives: Removed.
1461         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives/todoBlur.js: Removed.
1462         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives/todoEscape.js: Removed.
1463         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives/todoFocus.js: Removed.
1464         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/services: Removed.
1465         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/services/todoStorage.js: Removed.
1466         * DoYouEvenBench/todomvc/architecture-examples/angularjs/readme.md: Removed.
1467         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test: Removed.
1468         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/config: Removed.
1469         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/config/testacular.conf.js: Removed.
1470         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/package.json: Removed.
1471         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/readme.md: Removed.
1472         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/unit: Removed.
1473         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/unit/directivesSpec.js: Removed.
1474         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/unit/todoCtrlSpec.js: Removed.
1475         * DoYouEvenBench/todomvc/architecture-examples/backbone: Removed.
1476         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower.json: Removed.
1477         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components: Removed.
1478         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone: Removed.
1479         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone.localStorage: Removed.
1480         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone.localStorage/backbone.localStorage.js: Removed.
1481         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone/backbone.js: Removed.
1482         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/jquery: Removed.
1483         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/jquery/jquery.js: Removed.
1484         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common: Removed.
1485         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.css: Removed.
1486         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.js: Removed.
1487         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/bg.png: Removed.
1488         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/underscore: Removed.
1489         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/underscore/underscore.js: Removed.
1490         * DoYouEvenBench/todomvc/architecture-examples/backbone/index.html: Removed.
1491         * DoYouEvenBench/todomvc/architecture-examples/backbone/js: Removed.
1492         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/app.js: Removed.
1493         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/collections: Removed.
1494         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/collections/todos.js: Removed.
1495         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/models: Removed.
1496         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/models/todo.js: Removed.
1497         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/routers: Removed.
1498         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/routers/router.js: Removed.
1499         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/views: Removed.
1500         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/views/app-view.js: Removed.
1501         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/views/todo-view.js: Removed.
1502         * DoYouEvenBench/todomvc/architecture-examples/backbone/readme.md: Removed.
1503         * DoYouEvenBench/todomvc/architecture-examples/emberjs: Removed.
1504         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower.json: Removed.
1505         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components: Removed.
1506         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember: Removed.
1507         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter: Removed.
1508         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter/localstorage_adapter.js: Removed.
1509         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember/ember.js: Removed.
1510         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/handlebars: Removed.
1511         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js: Removed.
1512         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/jquery: Removed.
1513         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/jquery/jquery.js: Removed.
1514         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common: Removed.
1515         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.css: Removed.
1516         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.js: Removed.
1517         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/bg.png: Removed.
1518         * DoYouEvenBench/todomvc/architecture-examples/emberjs/index.html: Removed.
1519         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js: Removed.
1520         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/app.js: Removed.
1521         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers: Removed.
1522         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers/todo_controller.js: Removed.
1523         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers/todos_controller.js: Removed.
1524         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/libs: Removed.
1525         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/libs/ember-data.js: Removed.
1526         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models: Removed.
1527         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models/store.js: Removed.
1528         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models/todo.js: Removed.
1529         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/router.js: Removed.
1530         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/views: Removed.
1531         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/views/edit_todo_view.js: Removed.
1532         * DoYouEvenBench/todomvc/architecture-examples/emberjs/readme.md: Removed.
1533         * DoYouEvenBench/todomvc/architecture-examples/emberjs/test.html: Removed.
1534         * DoYouEvenBench/todomvc/architecture-examples/jquery: Removed.
1535         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower.json: Removed.
1536         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components: Removed.
1537         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/handlebars: Removed.
1538         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/handlebars/handlebars.js: Removed.
1539         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/jquery: Removed.
1540         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/jquery/jquery.js: Removed.
1541         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common: Removed.
1542         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.css: Removed.
1543         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.js: Removed.
1544         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/bg.png: Removed.
1545         * DoYouEvenBench/todomvc/architecture-examples/jquery/css: Removed.
1546         * DoYouEvenBench/todomvc/architecture-examples/jquery/css/app.css: Removed.
1547         * DoYouEvenBench/todomvc/architecture-examples/jquery/index.html: Removed.
1548         * DoYouEvenBench/todomvc/architecture-examples/jquery/js: Removed.
1549         * DoYouEvenBench/todomvc/architecture-examples/jquery/js/app.js: Removed.
1550         * DoYouEvenBench/todomvc/architecture-examples/jquery/readme.md: Removed.
1551         * DoYouEvenBench/todomvc/labs: Removed.
1552         * DoYouEvenBench/todomvc/labs/architecture-examples: Removed.
1553         * DoYouEvenBench/todomvc/labs/architecture-examples/react: Removed.
1554         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower.json: Removed.
1555         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components: Removed.
1556         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director: Removed.
1557         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/LICENSE: Removed.
1558         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/README.md: Removed.
1559         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build: Removed.
1560         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build/director.js: Removed.
1561         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build/director.min.js: Removed.
1562         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build/ender.js: Removed.
1563         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react: Removed.
1564         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/JSXTransformer.js: Removed.
1565         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/bower.json: Removed.
1566         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/react.js: Removed.
1567         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/react.min.js: Removed.
1568         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common: Removed.
1569         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/base.css: Removed.
1570         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/base.js: Removed.
1571         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/bg.png: Removed.
1572         * DoYouEvenBench/todomvc/labs/architecture-examples/react/index.html: Removed.
1573         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js: Removed.
1574         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js/app.jsx: Removed.
1575         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js/footer.jsx: Removed.
1576         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js/todoItem.jsx: Removed.
1577         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js/utils.jsx: Removed.
1578         * DoYouEvenBench/todomvc/labs/architecture-examples/react/readme.md: Removed.
1579         * DoYouEvenBench/todomvc/license.md: Removed.
1580         * DoYouEvenBench/todomvc/readme.md: Removed.
1581         * DoYouEvenBench/todomvc/vanilla-examples: Removed.
1582         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs: Removed.
1583         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower.json: Removed.
1584         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components: Removed.
1585         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common: Removed.
1586         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.css: Removed.
1587         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.js: Removed.
1588         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/bg.png: Removed.
1589         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/index.html: Removed.
1590         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js: Removed.
1591         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/app.js: Removed.
1592         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/controller.js: Removed.
1593         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/helpers.js: Removed.
1594         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/model.js: Removed.
1595         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/store.js: Removed.
1596         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/view.js: Removed.
1597         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/readme.md: Removed.
1598         * Skipped:
1599
1600 2014-01-17  Ryosuke Niwa  <rniwa@webkit.org>
1601
1602         Build fix. Skip HTML files that are not tests.
1603
1604         * Skipped:
1605
1606 2014-01-16  Ryosuke Niwa  <rniwa@webkit.org>
1607
1608         Automate DoYouEvenBench
1609         https://bugs.webkit.org/show_bug.cgi?id=124497
1610
1611         Reviewed by Geoffrey Garen.
1612
1613         Enable DoYouEvenBench/Full.html on perf bots by default.
1614
1615         Put a space between the time and ms, and fixed a typo in runner.js so that the aggregator name will be reported.
1616
1617         * DoYouEvenBench/Full.html:
1618         * Skipped:
1619         * resources/runner.js:
1620
1621 2014-01-15  Manuel Rego Casasnovas  <rego@igalia.com>
1622
1623         [CSS Regions] Add performance tests for selection with mixed content
1624         https://bugs.webkit.org/show_bug.cgi?id=126427
1625
1626         Reviewed by Ryosuke Niwa.
1627
1628         Add new performance tests for selection in CSS Regions mixing regular
1629         content with regions. 2 new tests are added, one checking select all
1630         command and another simulating a user selection passing through all the
1631         paragraphs (similar to Layout/RegionsSelection.html).
1632
1633         Test are skipped for now while implementation of selection in CSS
1634         Regions is still evolving.
1635
1636         * Layout/RegionsExtendingSelectionMixedContent.html: Added.
1637         * Layout/RegionsSelectAllMixedContent.html: Added.
1638         * Layout/resources/regions.css:
1639         (.regular):
1640         * Layout/resources/regions.js:
1641         * Skipped:
1642
1643 2014-01-14  Ryosuke Niwa  <rniwa@webkit.org>
1644
1645         Make DoYouEvenBench runnable by run-perf-tests
1646         https://bugs.webkit.org/show_bug.cgi?id=127030
1647
1648         Reviewed by Andreas Kling.
1649
1650         Added Full.html that runs 5 iterations of DoYouEvenBench. This is the canonical DoYouEvenBench,
1651         which is also runnable by run-perf-tests.
1652
1653         * DoYouEvenBench/Full.html: Added.
1654
1655         * DoYouEvenBench/benchmark.html:
1656         (startTest): Updated the code to account for the fact old measuredValues is pushed down to tests
1657         property and we now have total property so that we don't have to manually compute the total.
1658
1659         * DoYouEvenBench/resources/benchmark-report.js: Added. When we're inside a DRT/WTR, use
1660         PerfTestRunner to output that can be parsed by run-perf-tests. Do the same when the query part
1661         or the fragment part of the current URL is "webkit" for debugging purposes.
1662
1663         * DoYouEvenBench/resources/benchmark-runner.js:
1664         (BenchmarkRunner):
1665         (BenchmarkRunner.prototype._appendFrame): Position the frame at (0, 0) inside DRT and WTR since
1666         we have exactly 800px by 600px inside those two test runners. Also always insert the iframe as
1667         the first child of body to avoid inserting it after the pre inserted by the test runner.
1668         (BenchmarkRunner.prototype.step): Initializes _measuredValues.
1669         (BenchmarkRunner.prototype.runAllSteps): Merged callNextStep in benchmark.html.
1670         (BenchmarkRunner.prototype.runMultipleIterations): Added.
1671         (BenchmarkRunner.prototype._runTestAndRecordResults): Compute the grand total among suites.
1672         Also push down the sync and async time into tests property for consistency.
1673         (BenchmarkRunner.prototype._finalize):
1674
1675         * Dromaeo/resources/dromaeorunner.js:
1676         (DRT.testObject): Renamed dromaeoIterationCount to customIterationCount as this option is also
1677         used by DoYouEvenBench.
1678
1679         * resources/runner.js: Ditto.
1680         (.finish): Spit out the aggregator name.
1681
1682 2014-01-07  Ryosuke Niwa  <rniwa@webkit.org>
1683
1684         DoYouEvenBench: Turn BenchmarkRunner into a real class
1685         https://bugs.webkit.org/show_bug.cgi?id=126613
1686
1687         Reviewed by Stephanie Lewis.
1688
1689         Made BenchmarkRunner an instantiatable class. Made tests.js simply create an array of suite objects
1690         instead of calling BenchmarkRunner.Suite now that we can have mulitple instances of BenchmarkRunner.
1691
1692         * DoYouEvenBench/benchmark.html:
1693         (formatTestName): Moved and renamed from BenchmarkRunner._testName.
1694         (createUIForSuites): Extracted from a giant blob of code.
1695         (startTest): Ditto.
1696         * DoYouEvenBench/resources/benchmark-runner.js:
1697         (BenchmarkRunner): Added.
1698         (BenchmarkRunner.prototype.waitForElement):
1699         (BenchmarkRunner.prototype._removeFrame):
1700         (BenchmarkRunner.prototype._appendFrame):
1701         (BenchmarkRunner.prototype._waitAndWarmUp):
1702         (BenchmarkRunner.prototype._runTest):
1703         (BenchmarkState.prototype.prepareCurrentSuite):
1704         (BenchmarkRunner.prototype.step):
1705         (BenchmarkRunner.prototype._runTestAndRecordResults):
1706         (BenchmarkRunner.prototype._finalize):
1707         * DoYouEvenBench/resources/tests.js:
1708
1709 2014-01-07  Ryosuke Niwa  <rniwa@webkit.org>
1710
1711         DoYouEvenBench: Extract tests and runner code from benchmark.js/html
1712         https://bugs.webkit.org/show_bug.cgi?id=126596
1713
1714         Reviewed by Stephanie Lewis.
1715         
1716         Extracted benchmark-runner.js and tests.js out of benchmark.js and benchmark.html.
1717
1718         Added a "client" interface to BenchmarkRunner so that benchmark.html could register necessary hooks to
1719         update its UI. Also made BenchmarkRunner store a tree of results so that the serialization of test names
1720         could be isolated from BenchmarkRunner itself in the future.
1721
1722         * DoYouEvenBench/benchmark.html:
1723         Moved the code to instantiate and update UI here from benchmark.js. The test code was moved out of this
1724         file into resources/tests.js.
1725
1726         * DoYouEvenBench/resources/benchmark-runner.js: Renamed from PerformanceTests/DoYouEvenBench/benchmark.js.
1727         (SimplePromise): Moved from benchmark.js
1728         (SimplePromise.prototype.then): Ditto.
1729         (SimplePromise.prototype.resolve): Ditto.
1730         (BenchmarkTestStep): Added. Wraps each test step.
1731         (BenchmarkRunner.suite): Moved from benchmark.js.
1732         (BenchmarkRunner.setClient): Added.
1733         (BenchmarkRunner.waitForElement): Moved.
1734         (BenchmarkRunner._removeFrame): Ditto.
1735         (BenchmarkRunner._appendFrame): Ditto. Set the width and the height of the iframe as they're more than
1736         presentational as they affect performance.
1737         (BenchmarkRunner._waitAndWarmUp): Ditto.
1738         (BenchmarkRunner._runTest): Ditto.
1739         (BenchmarkRunner._testName): Ditto.
1740         (BenchmarkState): Ditto.
1741         (BenchmarkState.prototype.currentSuite): Ditto.
1742         (BenchmarkState.prototype.currentTest): Ditto.
1743         (BenchmarkState.prototype.next): Ditto.
1744         (BenchmarkState.prototype.isFirstTest): Ditto.
1745         (BenchmarkState.prototype.prepareCurrentSuite): Ditto.
1746         (BenchmarkRunner.step): Ditto.
1747         (BenchmarkRunner._runTestAndRecordResults): Ditto. Note the code to update the UI has been move to
1748         benchmark.html. Also moved the code to accumulate the totals here from _finalize.
1749         (BenchmarkRunner._finalize): Moved. 
1750
1751         * DoYouEvenBench/resources/tests.js: Copied from PerformanceTests/DoYouEvenBench/benchmark.html.
1752         Uses BenchmarkTestStep instead of an array for each test step.
1753
1754 2014-01-02  Myles C. Maxfield  <mmaxfield@apple.com>
1755
1756         Allow ImageBuffer to re-use IOSurfaces
1757         https://bugs.webkit.org/show_bug.cgi?id=125477
1758
1759         Reviewed by Geoff Garen. 
1760
1761         This test times creating a variety of different sizes of canvases 
1762         once some have already been created. The second creation of the 
1763         canvases should re-use the existing IOSurfaces. 
1764         
1765         * Canvas/reuse.html: Added.
1766
1767 2013-12-23  Commit Queue  <commit-queue@webkit.org>
1768
1769         Unreviewed, rolling out r160945.
1770         http://trac.webkit.org/changeset/160945
1771         https://bugs.webkit.org/show_bug.cgi?id=126164
1772
1773         Seems to have broken multiple canvas tests (Requested by ap on
1774         #webkit).
1775
1776         * Canvas/reuse.html: Removed.
1777
1778 2013-12-09  Myles C. Maxfield  <mmaxfield@apple.com>
1779
1780         Allow ImageBuffer to re-use IOSurfaces
1781         https://bugs.webkit.org/show_bug.cgi?id=125477
1782
1783         Reviewed by Geoff Garen.
1784
1785         This test times creating a variety of different sizes of canvases
1786         once some have already been created. The second creation of the
1787         canvases should re-use the existing IOSurfaces.
1788
1789         * Canvas/reuse.html: Added.
1790
1791 2013-12-15  Ryosuke Niwa  <rniwa@webkit.org>
1792
1793         REGRESSION: 2x regression on Dromaeo DOM query tests
1794         https://bugs.webkit.org/show_bug.cgi?id=125377
1795
1796         Reviewed by Filip Pizlo.
1797
1798         Added a micro-benchmark for updating a named property on document.
1799
1800         * Bindings/update-name-getter.html: Added.
1801         * Skipped:
1802
1803 2013-12-03  Manuel Rego Casasnovas  <rego@igalia.com>
1804
1805         [CSS Regions] Fix Layout/RegionsSelection.html in Mac platform
1806         https://bugs.webkit.org/show_bug.cgi?id=124963
1807
1808         Reviewed by Ryosuke Niwa.
1809
1810         Layout/RegionsSelection.html introduced in r159488 was not working in
1811         Mac platform because of it was trying to use mouse events out of the
1812         window dimensions. Use collapse() and extend() methods from Selection
1813         object to solve the issue.
1814
1815         * Layout/resources/regions.js: Use collapse() and extend() instead of
1816         mouse events.
1817
1818 2013-11-27  Ryosuke Niwa  <rniwa@webkit.org>
1819
1820         Build fix after r159805.
1821
1822         * resources/runner.js:
1823
1824 2013-11-26  Sergio Villar Senin  <svillar@igalia.com>
1825
1826         [CSS Grid Layout] Support grid-definition-{rows|columns} repeat() syntax
1827         https://bugs.webkit.org/show_bug.cgi?id=103312
1828
1829         Reviewed by Andreas Kling.
1830
1831         Use the repeat() syntax to build the huge grids used by the
1832         performance tests.
1833
1834         * Layout/auto-grid-lots-of-data.html:
1835         * Layout/fixed-grid-lots-of-data.html:
1836
1837 2013-11-26  Ryosuke Niwa  <rniwa@webkit.org>
1838
1839         Record subtest values in Dromaeo tests
1840         https://bugs.webkit.org/show_bug.cgi?id=124498
1841
1842         Reviewed by Andreas Kling.
1843
1844         Made Dromaeo's test runner report values in DRT.progress via newly added PerfTestRunner.reportValues.
1845
1846         * Dromaeo/resources/dromaeorunner.js:
1847         (.): Moved the definition out of DRT.setup.
1848         (DRT.setup): Ditto.
1849         (DRT.testObject): Extracted from DRT.setup. Set the subtest name and continueTesting.
1850         continueTesting is set true for subtests; i.e. when name is specified.
1851         (DRT.progress): Call PerfTestRunner.reportValues to report subtest results.
1852         (DRT.teardown): Call PerfTestRunner.reportValues instead of measureValueAsync.
1853
1854         * resources/runner.js: Made various changes for newly added PerfTestRunner.reportValues.
1855         (.): Moved the initialization of completedIterations, results, jsHeapResults, and mallocHeapResults into
1856         start since they need to be initialized before running each subtest. Initialize logLines here since we
1857         need to use the same logger for all subtests.
1858         (.start): Initialize the variables mentioned above here. Also respect doNotLogStart used by reportValues.
1859         (ignoreWarmUpAndLog): Added doNotLogProgress. Used by reportValues since it reports all values at once.
1860         (finish): Compute the metric name such as FrameFrame and Runs from unit. Also don't log or notify done
1861         when continueTesting is set on the test object.
1862         (PerfTestRunner.reportValues): Added. Reports all values for the main/sub test.
1863
1864 2013-11-26  Ryosuke Niwa  <rniwa@webkit.org>
1865
1866         Remove replay performance tests as it's not actively maintained
1867         https://bugs.webkit.org/show_bug.cgi?id=124764
1868
1869         Reviewed by Andreas Kling.
1870
1871         Removed the replay performance tests. We can add them back when time comes.
1872
1873         * Replay/Chinese/chinaz.com.replay: Removed.
1874         * Replay/Chinese/www.163.com.replay: Removed.
1875         * Replay/Chinese/www.alipay.com.replay: Removed.
1876         * Replay/Chinese/www.baidu.com.replay: Removed.
1877         * Replay/Chinese/www.csdn.net.replay: Removed.
1878         * Replay/Chinese/www.douban.com.replay: Removed.
1879         * Replay/Chinese/www.hao123.com.replay: Removed.
1880         * Replay/Chinese/www.xinhuanet.com.replay: Removed.
1881         * Replay/Chinese/www.xunlei.com.replay: Removed.
1882         * Replay/Chinese/www.youku.com.replay: Removed.
1883         * Replay/English/beatonna.livejournal.com.replay: Removed.
1884         * Replay/English/cakewrecks.blogspot.com.replay: Removed.
1885         * Replay/English/chemistry.about.com.replay: Removed.
1886         * Replay/English/digg.com.replay: Removed.
1887         * Replay/English/en.wikipedia.org-rorschach_test.replay: Removed.
1888         * Replay/English/icanhascheezburger.com.replay: Removed.
1889         * Replay/English/imgur.com-gallery.replay: Removed.
1890         * Replay/English/online.wsj.com.replay: Removed.
1891         * Replay/English/stockoverflow.com-best-comment.replay: Removed.
1892         * Replay/English/www.alibaba.com.replay: Removed.
1893         * Replay/English/www.amazon.com-kindle.replay: Removed.
1894         * Replay/English/www.apple.com.replay: Removed.
1895         * Replay/English/www.cnet.com.replay: Removed.
1896         * Replay/English/www.dailymotion.com.replay: Removed.
1897         * Replay/English/www.ehow.com-prevent-fire.replay: Removed.
1898         * Replay/English/www.filestube.com-amy-adams.replay: Removed.
1899         * Replay/English/www.foxnews.replay: Removed.
1900         * Replay/English/www.huffingtonpost.com.replay: Removed.
1901         * Replay/English/www.imdb.com-twilight.replay: Removed.
1902         * Replay/English/www.mozilla.com-all-order.replay: Removed.
1903         * Replay/English/www.php.net.replay: Removed.
1904         * Replay/English/www.reddit.com.replay: Removed.
1905         * Replay/English/www.telegraph.co.uk.replay: Removed.
1906         * Replay/English/www.w3.org-htmlcss.replay: Removed.
1907         * Replay/English/www.w3schools.com-html.replay: Removed.
1908         * Replay/English/www.youtube.com-music.replay: Removed.
1909         * Replay/French/www.orange.fr.replay: Removed.
1910         * Replay/Italian/www.repubblica.it.replay: Removed.
1911         * Replay/Japanese/2ch.net-newsplus.replay: Removed.
1912         * Replay/Japanese/entameblog.seesaa.net.replay: Removed.
1913         * Replay/Japanese/ja.wikipedia.org.replay: Removed.
1914         * Replay/Japanese/www.hatena.ne.jp.replay: Removed.
1915         * Replay/Japanese/www.livedoor.com.replay: Removed.
1916         * Replay/Japanese/www.nicovideo.jp.replay: Removed.
1917         * Replay/Japanese/www.rakuten.co.jp.replay: Removed.
1918         * Replay/Japanese/www.yahoo.co.jp.replay: Removed.
1919         * Replay/Korean/www.naver.com.replay: Removed.
1920         * Replay/Persian/blogfa.com.replay: Removed.
1921         * Replay/Polish/www.wp.pl.replay: Removed.
1922         * Replay/Portuguese/www.uol.com.br.replay: Removed.
1923         * Replay/Russian/lenta.ru.replay: Removed.
1924         * Replay/Russian/vkontakte.ru-help.replay: Removed.
1925         * Replay/Russian/www.ixbt.com.replay: Removed.
1926         * Replay/Russian/www.kp.ru.replay: Removed.
1927         * Replay/Russian/www.liveinternet.ru.replay: Removed.
1928         * Replay/Russian/www.pravda.ru.replay: Removed.
1929         * Replay/Russian/www.rambler.ru.replay: Removed.
1930         * Replay/Russian/www.ucoz.ru.replay: Removed.
1931         * Replay/Russian/www.yandex.ru.replay: Removed.
1932         * Replay/Spanish/www.taringa.net.replay: Removed.
1933         * Replay/Swedish/www.flashback.se.replay: Removed.
1934         * Replay/Swedish/www.tradera.com.replay: Removed.
1935         * Replay/www.google.com.replay: Removed.
1936         * Replay/www.techcrunch.com.replay: Removed.
1937         * Replay/www.youtube.com.replay: Removed.
1938
1939 2013-11-22  Ryosuke Niwa  <rniwa@webkit.org>
1940
1941         Layout Test editing/deleting/password-delete-performance.html is failing
1942         https://bugs.webkit.org/show_bug.cgi?id=124781
1943
1944         Reviewed by Alexey Proskuryakov.
1945
1946         Add a new performance test to replace editing/deleting/password-delete-performance.html.
1947         We skip this test by default since it's a micro benchmark.
1948
1949         * Interactive/DeletingInPasswordField.html: Added.
1950         * Skipped:
1951
1952 2013-11-18  Sergio Villar Senin  <svillar@igalia.com>
1953
1954         [CSS Grid Layout] Improve content-sized track layout
1955         https://bugs.webkit.org/show_bug.cgi?id=124408
1956
1957         Reviewed by Dean Jackson.
1958
1959         From Blink r156122 by <jchaffraix@chromium.org>
1960
1961         New test to check the performance of layouting grids with content sized tracks.
1962
1963         * Layout/auto-grid-lots-of-data.html: Added.
1964
1965 2013-11-08  Sergio Villar Senin  <svillar@igalia.com>
1966
1967         [CSS Grid Layout] Run the content-sized tracks sizing algorithm only when required
1968         https://bugs.webkit.org/show_bug.cgi?id=124039
1969
1970         Reviewed by Dean Jackson.
1971
1972         From Blink r156028 and r156168 by <jchaffraix@chromium.org>.
1973
1974         New performance tests for layouts in grids with fixed size tracks.
1975
1976         * Layout/fixed-grid-lots-of-data.html: Added.
1977
1978 2013-11-19  Manuel Rego Casasnovas  <rego@igalia.com>
1979
1980         [CSS Regions] Add performance test for selection
1981         https://bugs.webkit.org/show_bug.cgi?id=119230
1982
1983         Reviewed by Ryosuke Niwa.
1984
1985         Add new performance test for selection in CSS Regions. It checks a
1986         selection from the first region to the last one, passing through all the
1987         regions.
1988
1989         Test is skipped for now while implementation of selection in CSS Regions
1990         is still evolving.
1991
1992         * Layout/RegionsSelection.html: Added.
1993         * Layout/resources/regions.js:
1994         (.):
1995         * Skipped:
1996
1997 2013-11-18  Ryosuke Niwa  <rniwa@webkit.org>
1998
1999         Simplify and reformat the output of performance tests inside test runners
2000         https://bugs.webkit.org/show_bug.cgi?id=124496
2001
2002         Reviewed by Antti Koivisto.
2003
2004         As a preparation to support subtests for Dromaeo and DoYouEvenBench, simplify the output performance tests generate.
2005         Also modernize the output to better support "metric" concept we introduced a while ago.
2006
2007         New output on Dromaeo/dom-attr looks like this:
2008         -----------------------------------------------
2009         Running 5 times
2010         getAttribute -> [1105, 1108, 1134, 1137, 1154]
2011         element.property -> [1634, 1655, 1685, 1696, 1723]
2012         setAttribute -> [646.3536463536464, 651, 651, 656.3436563436563, 658]
2013         element.property = value -> [934, 949, 963, 964, 974]
2014         element.expando = value -> [419, 419.5804195804196, 421.57842157842157, 425.57442557442556, 429]
2015         element.expando -> [501, 517, 519.4805194805194, 521.4785214785214, 525]
2016
2017             1: 117.40644785571585 runs/s
2018             2: 118.84720469666297 runs/s
2019             3: 119.80547640905021 runs/s
2020             4: 120.51886194758805 runs/s
2021             5: 121.51924380569295 runs/s
2022
2023         :Time -> [117.40644785571585, 118.84720469666297, 119.80547640905021, 120.51886194758805, 121.51924380569295] runs/s
2024             mean: 119.619446942942 runs/s
2025             median: 119.80547640905021 runs/s
2026             stdev: 1.5769040458730506 runs/s
2027             min: 117.40644785571585 runs/s
2028             max: 121.51924380569295 runs/s
2029         -----------------------------------------------
2030
2031         * Dromaeo/resources/dromaeorunner.js:
2032         (DRT.progress): Use the new format for subtest reports.
2033         * resources/runner.js:
2034         (.): Declare verboseLogging, which is set to true outside of test runners.
2035         (PerfTestRunner.logInfo): Use verboseLogging instead of directly checking window.testRunner.
2036         (PerfTestRunner.logDetail): Added. Logs informative text with a label such as "mean: 123 s" with 4-space indentation.
2037         (PerfTestRunner.logStatistics): Use logDetail.
2038         (.start): Initialize verboseLogging. Also log "Running 20 times" as an informative log using logDetail.
2039         (.ignoreWarmUpAndLog): Use logDetail for showing the progress. These logs were useless inside test runners anyway
2040         because perftest didn't get to see any output until the test finished running.
2041         (.finish): Call logStatistics with metric name as opposed to a label. Each metric name is now prefixed with ':' to be
2042         distinguishable from subtests, making the new format forward compatible.
2043
2044 2013-11-18  Ryosuke Niwa  <rniwa@webkit.org>
2045
2046         [Performance tests] Interactive/SelectAll.html throws an exception
2047         https://bugs.webkit.org/show_bug.cgi?id=124495
2048
2049         Reviewed by Antti Koivisto
2050
2051         Return a boolean indicating whether more values are needed or not in
2052         PerfTestRunner.measureValueAsync so that runTest can terminate gracefully.
2053
2054         * Interactive/SelectAll.html:
2055         (runTest): Don't schedule a timer for runTest if we've got enough values.
2056         * resources/runner.js:
2057         (PerfTestRunner.measureValueAsync): Returns true iff more values are needed.
2058
2059 2013-11-13  Antti Koivisto  <antti@apple.com>
2060
2061         This was supposed to test overflow-wrap:break-word instead of word-break:break-all.
2062
2063         Rubber-stamped by Andreas Kling.
2064
2065         * Layout/line-layout-simple.html:
2066
2067 2013-11-12  Andreas Kling  <akling@apple.com>
2068
2069         Remove body onload handler from html5-8266.html that was causing
2070         the test to sometimes finish before doing anything interesting.
2071
2072         Unskip Parser/HTML5-8266-FullRender.html now that it's stable.
2073
2074         Rubber-stamped by Antti Koivisto.
2075
2076         * Parser/resources/html5-8266.html:
2077         * Skipped:
2078
2079 2013-11-12  Andreas Kling  <akling@apple.com>
2080
2081         Neutralize external resource loads in the new HTML5 spec copy.
2082
2083         Skip Parser/HTML5-8266-FullRender.html until I can make it less flaky.
2084
2085         * Parser/resources/html5-8266.html:
2086         * Skipped:
2087
2088 2013-11-12  Andreas Kling  <akling@apple.com>
2089
2090         Import a fresh version of the full HTML5 spec for perf testing.
2091
2092         Rubber-stamped by Antti Koivisto.
2093
2094         * Parser/HTML5-8266-FullRender.html: Added.
2095         * Parser/HTML5-8266-ParseOnly.html: Added.
2096         * Parser/resources/html5-8266.html: Added.
2097
2098 2013-11-09  Antti Koivisto  <antti@apple.com>
2099
2100         Add subtest for word-break:break-all to Layout/line-layout-simple.html
2101         https://bugs.webkit.org/show_bug.cgi?id=124103
2102
2103         Reviewed by Andreas Kling.
2104
2105         * Layout/line-layout-simple.html:
2106
2107         Combination "white-space:pre-wrap; word-break:break-all" is common for pure text.
2108
2109 2013-11-08  Antti Koivisto  <antti@apple.com>
2110
2111         Add line layout performance test that exercises more cases
2112         https://bugs.webkit.org/show_bug.cgi?id=124041
2113         
2114         Reviewed by Anders Carlsson.
2115
2116         The existing line-layout.html covers the most basic left-aligned case only.
2117         Add a test with more coverage for things that are mostly not yet supported by the simple
2118         line layout path:
2119         
2120         - centered text
2121         - right aligned text
2122         - justified text
2123         - pre
2124         - white-space:pre-wrap
2125         - text with simple inlines
2126         - text with br
2127
2128         * Layout/line-layout-simple.html: Added.
2129
2130 2013-10-25  Sergio Villar Senin  <svillar@igalia.com>
2131
2132         Use a Vector instead of HashSet to computed the orderValues in RenderFlexibleBox
2133         https://bugs.webkit.org/show_bug.cgi?id=118620
2134
2135         Reviewed by Antti Koivisto.
2136
2137         From Blink r152960 by <ojan@chromium.org>
2138
2139         New performance test for layouts in flexboxes.
2140
2141         * Layout/flexbox-lots-of-data.html: Added.
2142
2143 2013-10-24  Commit Queue  <commit-queue@webkit.org>
2144
2145         Unreviewed, rolling out r157916.
2146         http://trac.webkit.org/changeset/157916
2147         https://bugs.webkit.org/show_bug.cgi?id=123274
2148
2149         Broke Layout/flexbox-lots-of-data.html on perfbot (Requested
2150         by ap on #webkit).
2151
2152         * Layout/flexbox-lots-of-data.html: Removed.
2153
2154 2013-10-14  Sergio Villar Senin  <svillar@igalia.com>
2155
2156         Use a Vector instead of HashSet to computed the orderValues in RenderFlexibleBox
2157         https://bugs.webkit.org/show_bug.cgi?id=118620
2158
2159         Reviewed by Antti Koivisto.
2160
2161         From Blink r152960 by <ojan@chromium.org>
2162
2163         New performance test for layouts in flexboxes.
2164
2165         * Layout/flexbox-lots-of-data.html: Added.
2166
2167 2013-10-06  Ryosuke Niwa  <rniwa@webkit.org>
2168
2169         DoYouEvenBench: Make it work on Internet Explorer 11 Release Preview
2170         https://bugs.webkit.org/show_bug.cgi?id=122406
2171
2172         Reviewed by Darin Adler.
2173
2174         On Internet Explorer 11, $(elem).closest('li').data('id') fails to find the containig li of elem once
2175         the first item is marked complete or deleted until we get back to the event loop in the jQuery/TodoMVC.
2176         Worked around this limitation by overriding app.getTodo to use each item's id computed in advance.
2177
2178         Also use $.text instead of execCommand('InsertText') in FlightJS/MailClient since Internet Explorer
2179         doesn't support execCommand('InsertText'). Also select the recipient to avoid exceptions.
2180
2181         * DoYouEvenBench/benchmark.html:
2182
2183 2013-10-05  Ryosuke Niwa  <rniwa@webkit.org>
2184
2185         DoYouEvenBench: Add Facebook's React TodoMVC test case
2186         https://bugs.webkit.org/show_bug.cgi?id=122379
2187
2188         Reviewed by Andreas Kling.
2189
2190         Add React/TodoMVC as a new test case. Somehow we beat Firefox on this one as well.
2191
2192         * DoYouEvenBench/benchmark.html:
2193         * DoYouEvenBench/todomvc/labs: Added.
2194         * DoYouEvenBench/todomvc/labs/architecture-examples: Added.
2195         * DoYouEvenBench/todomvc/labs/architecture-examples/react: Added.
2196         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower.json: Added.
2197         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components: Added.
2198         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director: Added.
2199         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/LICENSE: Added.
2200         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/README.md: Added.
2201         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build: Added.
2202         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build/director.js: Added.
2203         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build/director.min.js: Added.
2204         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build/ender.js: Added.
2205         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react: Added.
2206         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/JSXTransformer.js: Added.
2207         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/bower.json: Added.
2208         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/react.js: Added.
2209         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/react.min.js: Added.
2210         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common: Added.
2211         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/base.css: Added.
2212         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/base.js: Added.
2213         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/bg.png: Added.
2214         * DoYouEvenBench/todomvc/labs/architecture-examples/react/index.html: Added.
2215         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js: Added.
2216         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js/app.jsx: Added.
2217         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js/footer.jsx: Added.
2218         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js/todoItem.jsx: Added.
2219         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js/utils.jsx: Added.
2220         * DoYouEvenBench/todomvc/labs/architecture-examples/react/readme.md: Added.
2221
2222 2013-09-25  Ryosuke Niwa  <rniwa@webkit.org>
2223
2224         DoYouEvenBench: Add a test case for FlightJS
2225         https://bugs.webkit.org/show_bug.cgi?id=121926
2226
2227         Reviewed by Antti Koivisto.
2228
2229         Add a FlightJS test case.
2230
2231         * DoYouEvenBench/benchmark.html:
2232         * DoYouEvenBench/benchmark.js:
2233         * DoYouEvenBench/flightjs-example-app: Added.
2234         * DoYouEvenBench/flightjs-example-app/LICENSE.md: Added.
2235         * DoYouEvenBench/flightjs-example-app/README.md: Added.
2236         * DoYouEvenBench/flightjs-example-app/app: Added.
2237         * DoYouEvenBench/flightjs-example-app/app/boot: Added.
2238         * DoYouEvenBench/flightjs-example-app/app/boot/page.js: Added.
2239         * DoYouEvenBench/flightjs-example-app/app/component_data: Added.
2240         * DoYouEvenBench/flightjs-example-app/app/component_data/compose_box.js: Added.
2241         * DoYouEvenBench/flightjs-example-app/app/component_data/mail_items.js: Added.
2242         * DoYouEvenBench/flightjs-example-app/app/component_data/move_to.js: Added.
2243         * DoYouEvenBench/flightjs-example-app/app/component_ui: Added.
2244         * DoYouEvenBench/flightjs-example-app/app/component_ui/compose_box.js: Added.
2245         * DoYouEvenBench/flightjs-example-app/app/component_ui/folders.js: Added.
2246         * DoYouEvenBench/flightjs-example-app/app/component_ui/mail_controls.js: Added.
2247         * DoYouEvenBench/flightjs-example-app/app/component_ui/mail_items.js: Added.
2248         * DoYouEvenBench/flightjs-example-app/app/component_ui/move_to_selector.js: Added.
2249         * DoYouEvenBench/flightjs-example-app/app/component_ui/with_select.js: Added.
2250         * DoYouEvenBench/flightjs-example-app/app/css: Added.
2251         * DoYouEvenBench/flightjs-example-app/app/css/custom.css: Added.
2252         * DoYouEvenBench/flightjs-example-app/app/data.js: Added.
2253         * DoYouEvenBench/flightjs-example-app/app/templates.js: Added.
2254         * DoYouEvenBench/flightjs-example-app/components: Added.
2255         * DoYouEvenBench/flightjs-example-app/components/bootstrap: Added.
2256         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css: Added.
2257         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap-responsive.css: Added.
2258         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap-responsive.min.css: Added.
2259         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap.css: Added.
2260         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap.min.css: Added.
2261         * DoYouEvenBench/flightjs-example-app/components/bootstrap/img: Added.
2262         * DoYouEvenBench/flightjs-example-app/components/bootstrap/img/glyphicons-halflings-white.png: Added.
2263         * DoYouEvenBench/flightjs-example-app/components/bootstrap/img/glyphicons-halflings.png: Added.
2264         * DoYouEvenBench/flightjs-example-app/components/bootstrap/js: Added.
2265         * DoYouEvenBench/flightjs-example-app/components/bootstrap/js/bootstrap.js: Added.
2266         * DoYouEvenBench/flightjs-example-app/components/bootstrap/js/bootstrap.min.js: Added.
2267         * DoYouEvenBench/flightjs-example-app/components/es5-shim: Added.
2268         * DoYouEvenBench/flightjs-example-app/components/es5-shim/.gitignore: Added.
2269         * DoYouEvenBench/flightjs-example-app/components/es5-shim/CHANGES: Added.
2270         * DoYouEvenBench/flightjs-example-app/components/es5-shim/CONTRIBUTORS.md: Added.
2271         * DoYouEvenBench/flightjs-example-app/components/es5-shim/LICENSE: Added.
2272         * DoYouEvenBench/flightjs-example-app/components/es5-shim/README.md: Added.
2273         * DoYouEvenBench/flightjs-example-app/components/es5-shim/component.json: Added.
2274         * DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-sham.js: Added.
2275         * DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-sham.min.js: Added.
2276         * DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-shim.js: Added.
2277         * DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-shim.min.js: Added.
2278         * DoYouEvenBench/flightjs-example-app/components/es5-shim/package.json: Added.
2279         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests: Added.
2280         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers: Added.
2281         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers/h-kill.js: Added.
2282         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers/h-matchers.js: Added.
2283         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers/h.js: Added.
2284         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/index.html: Added.
2285         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib: Added.
2286         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine-html.js: Added.
2287         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine.css: Added.
2288         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine.js: Added.
2289         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine_favicon.png: Added.
2290         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/json2.js: Added.
2291         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec: Added.
2292         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-array.js: Added.
2293         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-date.js: Added.
2294         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-function.js: Added.
2295         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-object.js: Added.
2296         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-string.js: Added.
2297         * DoYouEvenBench/flightjs-example-app/components/flight: Added.
2298         * DoYouEvenBench/flightjs-example-app/components/flight/.travis.yml: Added.
2299         * DoYouEvenBench/flightjs-example-app/components/flight/lib: Added.
2300         * DoYouEvenBench/flightjs-example-app/components/flight/lib/advice.js: Added.
2301         * DoYouEvenBench/flightjs-example-app/components/flight/lib/component.js: Added.
2302         * DoYouEvenBench/flightjs-example-app/components/flight/lib/compose.js: Added.
2303         * DoYouEvenBench/flightjs-example-app/components/flight/lib/index.js: Added.
2304         * DoYouEvenBench/flightjs-example-app/components/flight/lib/logger.js: Added.
2305         * DoYouEvenBench/flightjs-example-app/components/flight/lib/registry.js: Added.
2306         * DoYouEvenBench/flightjs-example-app/components/flight/lib/utils.js: Added.
2307         * DoYouEvenBench/flightjs-example-app/components/flight/tools: Added.
2308         * DoYouEvenBench/flightjs-example-app/components/flight/tools/debug: Added.
2309         * DoYouEvenBench/flightjs-example-app/components/flight/tools/debug/debug.js: Added.
2310         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight: Added.
2311         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/LICENSE.md: Added.
2312         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/README.md: Added.
2313         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/bower.json: Added.
2314         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/lib: Added.
2315         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/lib/jasmine-flight.js: Added.
2316         * DoYouEvenBench/flightjs-example-app/components/jasmine-jquery: Added.
2317         * DoYouEvenBench/flightjs-example-app/components/jasmine-jquery/lib: Added.
2318         * DoYouEvenBench/flightjs-example-app/components/jasmine-jquery/lib/jasmine-jquery.js: Added.
2319         * DoYouEvenBench/flightjs-example-app/components/jquery: Added.
2320         * DoYouEvenBench/flightjs-example-app/components/jquery/component.json: Added.
2321         * DoYouEvenBench/flightjs-example-app/components/jquery/composer.json: Added.
2322         * DoYouEvenBench/flightjs-example-app/components/jquery/jquery.js: Added.
2323         * DoYouEvenBench/flightjs-example-app/components/jquery/jquery.min.js: Added.
2324         * DoYouEvenBench/flightjs-example-app/components/mustache: Added.
2325         * DoYouEvenBench/flightjs-example-app/components/mustache/mustache.js: Added.
2326         * DoYouEvenBench/flightjs-example-app/components/requirejs: Added.
2327         * DoYouEvenBench/flightjs-example-app/components/requirejs/require.js: Added.
2328         * DoYouEvenBench/flightjs-example-app/index.html: Added.
2329         * DoYouEvenBench/flightjs-example-app/karma.conf.js: Added.
2330         * DoYouEvenBench/flightjs-example-app/package.json: Added.
2331         * DoYouEvenBench/flightjs-example-app/requireMain.js: Added.
2332
2333 2013-09-19  Ryosuke Niwa  <rniwa@webkit.org>
2334
2335         DoYouEvenBench: Indentations in benchmark.js and benchmark.html are all messed up
2336         https://bugs.webkit.org/show_bug.cgi?id=121597
2337
2338         Reviewed by Anders Carlsson.
2339
2340         Fixed indentations.
2341
2342         * DoYouEvenBench/benchmark.html:
2343         * DoYouEvenBench/benchmark.js:
2344         (SimplePromise.prototype.resolve.else):
2345         (SimplePromise.prototype.resolve):
2346         (BenchmarkRunner.waitForElement.resolveIfReady):
2347         (BenchmarkRunner.waitForElement):
2348         (BenchmarkRunner._waitAndWarmUp.Fibonacci):
2349         (BenchmarkRunner._finalize):
2350
2351 2013-09-19  Ryosuke Niwa  <rniwa@webkit.org>
2352
2353         Add an AngularJS test to DoYouEvenBench
2354         https://bugs.webkit.org/show_bug.cgi?id=121595
2355
2356         Reviewed by Antti Koivisto.
2357
2358         * DoYouEvenBench/benchmark.html:
2359         * DoYouEvenBench/todomvc/architecture-examples/angularjs: Added.
2360         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower.json: Added.
2361         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components: Added.
2362         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular: Added.
2363         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular-mocks: Added.
2364         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular-mocks/angular-mocks.js: Added.
2365         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular/angular.js: Added.
2366         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common: Added.
2367         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/base.css: Added.
2368         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/base.js: Added.
2369         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/bg.png: Added.
2370         * DoYouEvenBench/todomvc/architecture-examples/angularjs/index.html: Added.
2371         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js: Added.
2372         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/app.js: Added.
2373         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/controllers: Added.
2374         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/controllers/todoCtrl.js: Added.
2375         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives: Added.
2376         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives/todoBlur.js: Added.
2377         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives/todoEscape.js: Added.
2378         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives/todoFocus.js: Added.
2379         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/services: Added.
2380         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/services/todoStorage.js: Added.
2381         * DoYouEvenBench/todomvc/architecture-examples/angularjs/readme.md: Added.
2382         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test: Added.
2383         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/config: Added.
2384         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/config/testacular.conf.js: Added.
2385         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/package.json: Added.
2386         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/readme.md: Added.
2387         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/unit: Added.
2388         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/unit/directivesSpec.js: Added.
2389         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/unit/todoCtrlSpec.js: Added.
2390
2391 2013-09-17  Ryosuke Niwa  <rniwa@webkit.org>
2392
2393         Add a not completely unrealistic DOM Benchmark
2394         https://bugs.webkit.org/show_bug.cgi?id=121361
2395
2396         Reviewed by Filip Pizlo.
2397
2398         Add a DOM benchmark based on TodoMVC for vanilla JS, Ember.js, Backbone.js, and jQuery.
2399         We'll add more frameworks and demo apps as we go.
2400
2401         * DoYouEvenBench: Added.
2402         * DoYouEvenBench/benchmark.html: Added.
2403         * DoYouEvenBench/benchmark.js: Added.
2404         (SimplePromise): 
2405         (SimplePromise.prototype.then):
2406         (SimplePromise.prototype.resolve.else):
2407         (SimplePromise.prototype.resolve):
2408         (BenchmarkRunner.suite):
2409         (BenchmarkRunner.waitForElement.resolveIfReady):
2410         (BenchmarkRunner.waitForElement):
2411         (BenchmarkRunner._removeFrame):
2412         (BenchmarkRunner._appendFrame):
2413         (BenchmarkRunner._waitAndWarmUp.Fibonacci):
2414         (BenchmarkRunner._testName):
2415         (BenchmarkRunner._testItemId):
2416         (BenchmarkRunner.listSuites.button.onclick):
2417         (BenchmarkRunner.listSuites.callNextStep):
2418         (BenchmarkRunner.listSuites):
2419         (BenchmarkState):
2420         (BenchmarkState.prototype.currentSuite):
2421         (BenchmarkState.prototype.currentTest):
2422         (BenchmarkState.prototype.next):
2423         (BenchmarkState.prototype.isFirstTest):
2424         (BenchmarkState.prototype.prepareCurrentSuite.frame.onload):
2425         (BenchmarkRunner.step):
2426         (BenchmarkRunner._runTestAndRecordResults):
2427         (BenchmarkRunner._finalize):
2428         * DoYouEvenBench/todomvc: Added.
2429         * DoYouEvenBench/todomvc/architecture-examples: Added.
2430         * DoYouEvenBench/todomvc/architecture-examples/backbone: Added.
2431         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower.json: Added.
2432         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components: Added.
2433         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone: Added.
2434         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone.localStorage: Added.
2435         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone.localStorage/backbone.localStorage.js: Added.
2436         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone/backbone.js: Added.
2437         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/jquery: Added.
2438         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/jquery/jquery.js: Added.
2439         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common: Added.
2440         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.css: Added.
2441         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.js: Added.
2442         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/bg.png: Added.
2443         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/underscore: Added.
2444         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/underscore/underscore.js: Added.
2445         * DoYouEvenBench/todomvc/architecture-examples/backbone/index.html: Added.
2446         * DoYouEvenBench/todomvc/architecture-examples/backbone/js: Added.
2447         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/app.js: Added.
2448         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/collections: Added.
2449         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/collections/todos.js: Added.
2450         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/models: Added.
2451         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/models/todo.js: Added.
2452         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/routers: Added.
2453         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/routers/router.js: Added.
2454         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/views: Added.
2455         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/views/app-view.js: Added.
2456         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/views/todo-view.js: Added.
2457         * DoYouEvenBench/todomvc/architecture-examples/backbone/readme.md: Added.
2458         * DoYouEvenBench/todomvc/architecture-examples/emberjs: Added.
2459         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower.json: Added.
2460         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components: Added.
2461         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember: Added.
2462         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter: Added.
2463         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter/localstorage_adapter.js: Added.
2464         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember/ember.js: Added.
2465         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/handlebars: Added.
2466         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js: Added.
2467         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/jquery: Added.
2468         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/jquery/jquery.js: Added.
2469         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common: Added.
2470         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.css: Added.
2471         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.js: Added.
2472         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/bg.png: Added.
2473         * DoYouEvenBench/todomvc/architecture-examples/emberjs/index.html: Added.
2474         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js: Added.
2475         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/app.js: Added.
2476         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers: Added.
2477         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers/todo_controller.js: Added.
2478         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers/todos_controller.js: Added.
2479         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/libs: Added.
2480         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/libs/ember-data.js: Added.
2481         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models: Added.
2482         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models/store.js: Added.
2483         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models/todo.js: Added.
2484         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/views: Added.
2485         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/views/edit_todo_view.js: Added.
2486         * DoYouEvenBench/todomvc/architecture-examples/emberjs/readme.md: Added.
2487         * DoYouEvenBench/todomvc/architecture-examples/emberjs/test.html: Added.
2488         * DoYouEvenBench/todomvc/architecture-examples/jquery: Added.
2489         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower.json: Added.
2490         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components: Added.
2491         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/handlebars: Added.
2492         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/handlebars/handlebars.js: Added.
2493         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/jquery: Added.
2494         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/jquery/jquery.js: Added.
2495         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common: Added.
2496         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.css: Added.
2497         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.js: Added.
2498         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/bg.png: Added.
2499         * DoYouEvenBench/todomvc/architecture-examples/jquery/css: Added.
2500         * DoYouEvenBench/todomvc/architecture-examples/jquery/css/app.css: Added.
2501         * DoYouEvenBench/todomvc/architecture-examples/jquery/index.html: Added.
2502         * DoYouEvenBench/todomvc/architecture-examples/jquery/js: Added.
2503         * DoYouEvenBench/todomvc/architecture-examples/jquery/js/app.js: Added.
2504         * DoYouEvenBench/todomvc/architecture-examples/jquery/readme.md: Added.
2505         * DoYouEvenBench/todomvc/license.md: Added.
2506         * DoYouEvenBench/todomvc/readme.md: Added.
2507         * DoYouEvenBench/todomvc/vanilla-examples: Added.
2508         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs: Added.
2509         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower.json: Added.
2510         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components: Added.
2511         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common: Added.
2512         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.css: Added.
2513         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.js: Added.
2514         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/bg.png: Added.
2515         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/index.html: Added.
2516         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js: Added.
2517         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/app.js: Added.
2518         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/controller.js: Added.
2519         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/helpers.js: Added.
2520         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/model.js: Added.
2521         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/store.js: Added.
2522         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/view.js: Added.
2523         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/readme.md: Added.
2524         * Skipped:
2525
2526 2013-09-04  Filip Pizlo  <fpizlo@apple.com>
2527
2528         Introduce a version of SunSpider that runs for a really long time (about 1 sec on my machine)
2529
2530         Rubber stamped by Mark Hahnenberg.
2531         
2532         This isn't meant for serious VM-to-VM performance comparisons, but it is useful
2533         to see how these benchmarks behave when they're completely warmed up.
2534
2535         * LongSpider: Added.
2536         * LongSpider/3d-cube.js: Added.
2537         (DrawLine):
2538         (CalcCross):
2539         (CalcNormal):
2540         (CreateP):
2541         (MMulti):
2542         (VMulti):
2543         (VMulti2):
2544         (MAdd):
2545         (Translate):
2546         (RotateX):
2547         (RotateY):
2548         (RotateZ):
2549         (DrawQube):
2550         (Loop):
2551         (Init):
2552         * LongSpider/3d-morph.js: Added.
2553         (loops.3500.nx.120.nz.120.morph):
2554         * LongSpider/3d-raytrace.js: Added.
2555         (createVector):
2556         (sqrLengthVector):
2557         (lengthVector):
2558         (addVector):
2559         (subVector):
2560         (scaleVector):
2561         (normaliseVector):
2562         (add):
2563         (sub):
2564         (scalev):
2565         (dot):
2566         (scale):
2567         (cross):
2568         (normalise):
2569         (transformMatrix):
2570         (invertMatrix):
2571         (Triangle):
2572         (Triangle.prototype.intersect):
2573         (Scene):
2574         (Scene.prototype.intersect):
2575         (Scene.prototype.blocked):
2576         (Camera):
2577         (Camera.prototype.generateRayPair):
2578         (renderRows):
2579         (Camera.prototype.render):
2580         (raytraceScene.floorShader):
2581         (raytraceScene):
2582         (arrayToCanvasCommands):
2583         * LongSpider/access-binary-trees.js: Added.
2584         (TreeNode):
2585         (TreeNode.prototype.itemCheck):
2586         (bottomUpTree):
2587         * LongSpider/access-fannkuch.js: Added.
2588         (fannkuch):
2589         * LongSpider/access-nbody.js: Added.
2590         (Body):
2591         (Body.prototype.offsetMomentum):
2592         (Jupiter):
2593         (Saturn):
2594         (Uranus):
2595         (Neptune):
2596         (Sun):
2597         (NBodySystem):
2598         (NBodySystem.prototype.advance):
2599         (NBodySystem.prototype.energy):
2600         * LongSpider/access-nsieve.js: Added.
2601         (pad):
2602         (nsieve):
2603         (sieve):
2604         * LongSpider/bitops-3bit-bits-in-byte.js: Added.
2605         (fast3bitlookup):
2606         (TimeFunc):
2607         * LongSpider/bitops-bits-in-byte.js: Added.
2608         (bitsinbyte):
2609         (TimeFunc):
2610         * LongSpider/bitops-nsieve-bits.js: Added.
2611         (pad):
2612         (primes):
2613         (sieve):
2614         * LongSpider/controlflow-recursive.js: Added.
2615         (ack):
2616         (fib):
2617         (tak):
2618         * LongSpider/crypto-aes.js: Added.
2619         (Cipher):
2620         (SubBytes):
2621         (ShiftRows):
2622         (MixColumns):
2623         (AddRoundKey):
2624         (KeyExpansion):
2625         (SubWord):
2626         (RotWord):
2627         (AESEncryptCtr):
2628         (AESDecryptCtr):
2629         (escCtrlChars):
2630         * LongSpider/crypto-md5.js: Added.
2631         (hex_md5):
2632         (b64_md5):
2633         (str_md5):
2634         (hex_hmac_md5):
2635         (b64_hmac_md5):
2636         (str_hmac_md5):
2637         (md5_vm_test):
2638         (core_md5):
2639         (md5_cmn):
2640         (md5_ff):
2641         (md5_gg):
2642         (md5_hh):
2643         (md5_ii):
2644         (core_hmac_md5):
2645         (safe_add):
2646         (bit_rol):
2647         (str2binl):
2648         (binl2str):
2649         (binl2hex):
2650         (binl2b64):
2651         * LongSpider/crypto-sha1.js: Added.
2652         (hex_sha1):
2653         (b64_sha1):
2654         (str_sha1):
2655         (hex_hmac_sha1):
2656         (b64_hmac_sha1):
2657         (str_hmac_sha1):
2658         (sha1_vm_test):
2659         (core_sha1):
2660         (sha1_ft):
2661         (sha1_kt):
2662         (core_hmac_sha1):
2663         (safe_add):
2664         (rol):
2665         (str2binb):
2666         (binb2str):
2667         (binb2hex):
2668         (binb2b64):
2669         * LongSpider/date-format-tofte.js: Added.
2670         (arrayExists):
2671         (.a):
2672         (.A):
2673         (.B):
2674         (.d):
2675         (.D):
2676         (.F):
2677         (.g):
2678         (.G):
2679         (.h):
2680         (.H):
2681         (.i):
2682         (.j):
2683         (.l):
2684         (.L):
2685         (.m):
2686         (.M):
2687         (.n):
2688         (.O):
2689         (.r):
2690         (.S):
2691         (.s):
2692         (.t):
2693         (.U):
2694         (.W):
2695         (.w):
2696         (.Y):
2697         (.y):
2698         (.z):
2699         (Date.prototype.formatDate):
2700         * LongSpider/date-format-xparb.js: Added.
2701         (Date.prototype.dateFormat):
2702         (Date.createNewFormat):
2703         (Date.getFormatCode):
2704         (Date.parseDate):
2705         (Date.createParser):
2706         (Date.formatCodeToRegex):
2707         (Date.prototype.getTimezone):
2708         (Date.prototype.getGMTOffset):
2709         (Date.prototype.getDayOfYear):
2710         (Date.prototype.getWeekOfYear):
2711         (Date.prototype.isLeapYear):
2712         (Date.prototype.getFirstDayOfMonth):
2713         (Date.prototype.getLastDayOfMonth):
2714         (Date.prototype.getDaysInMonth):
2715         (Date.prototype.getSuffix):
2716         (String.escape):
2717         * LongSpider/math-cordic.js: Added.
2718         (FIXED):
2719         (FLOAT):
2720         (DEG2RAD):
2721         (cordicsincos):
2722         (cordic):
2723         * LongSpider/math-partial-sums.js: Added.
2724         (partial):
2725         * LongSpider/math-spectral-norm.js: Added.
2726         (A):
2727         (Au):
2728         (Atu):
2729         (AtAu):
2730         (spectralnorm):
2731         * LongSpider/string-base64.js: Added.
2732         (toBase64):
2733         (base64ToString):
2734         * LongSpider/string-fasta.js: Added.
2735         (rand):
2736         (makeCumulative):
2737         (fastaRepeat):
2738         (fastaRandom):
2739         * LongSpider/string-tagcloud.js: Added.
2740         (.Array.prototype.toJSONString):
2741         (.Boolean.prototype.toJSONString):
2742         (.Date.prototype.toJSONString):
2743         (.Number.prototype.toJSONString):
2744         (.Object.prototype.toJSONString):
2745         (.):
2746
2747 2013-06-10  Radu Stavila  <stavila@adobe.com>
2748
2749         [CSS Regions] Rename region-overflow to region-fragment
2750         https://bugs.webkit.org/show_bug.cgi?id=117397
2751
2752         Renamed -webkit-region-overflow to -webkit-region-fragment according to the new working draft
2753         at http://www.w3.org/TR/2013/WD-css3-regions-20130528/#the-region-fragment-property
2754
2755         Reviewed by Alexander Pavlov.
2756
2757         * Layout/resources/regions.css:
2758
2759 2013-06-05  Zan Dobersek  <zdobersek@igalia.com>
2760
2761         Move MemoryInfo under window.internals
2762         https://bugs.webkit.org/show_bug.cgi?id=117197
2763
2764         Reviewed by Ryosuke Niwa.
2765
2766         * resources/runner.js: Remove the setMemoryEnabled call, it's not required anymore as the memory
2767         info is now accessed through window.internals and doesn't need the setting to be enabled to work.
2768
2769 2013-05-30  Ryosuke Niwa  <rniwa@webkit.org>
2770
2771         Web Inspector: tests in PerformanceTests/inspector/ are timing out
2772         https://bugs.webkit.org/show_bug.cgi?id=77024
2773
2774         Reviewed by Andreas Kling.
2775
2776         These tests have been disabled for ages and don't conform to the standard format.
2777
2778         * Skipped:
2779         * inspector: Removed.
2780         * inspector/console-300-lines.html: Removed.
2781         * inspector/first-open-elements.html: Removed.
2782         * inspector/first-open-resources.html: Removed.
2783         * inspector/first-open-scripts.html.broken: Removed.
2784         * inspector/heap-snapshot-advanced.html: Removed.
2785         * inspector/heap-snapshot-performance-test.js: Removed.
2786         * inspector/heap-snapshot.html: Removed.
2787         * inspector/inspector-startup-time.html: Removed.
2788         * inspector/network-append-30-requests.html.broken: Removed.
2789         * inspector/performance-test.js: Removed.
2790         * inspector/show-panel.html.broken: Removed.
2791
2792 2013-05-27  Benjamin Poulain  <benjamin@webkit.org>
2793
2794         Add a balanced benchmark for QuerySelector
2795         https://bugs.webkit.org/show_bug.cgi?id=116811
2796
2797         Reviewed by Sam Weinig.
2798
2799         The goal of this benchmark is to have an overview of querySelector as typically used
2800         by webpages.
2801
2802         It uses queries similar to what is used by popular websites and applies somewhat
2803         similar weighting for each type of query.
2804
2805         The tree used for the queries is intentionally kept simple to ensure we measure QuerySelector
2806         a not purely the overhead of traversal.
2807
2808         * CSS/QuerySelector.html: Added.
2809         * CSS/resources/query-selector.html: Added.
2810
2811 2013-05-18  Ryosuke Niwa  <rniwa@webkit.org>
2812
2813         Add a performance test for copying
2814         https://bugs.webkit.org/show_bug.cgi?id=116394
2815
2816         Reviewed by Andreas Kling.
2817
2818         Added. We're going to skip this test by default since it's such a microbenchmark, and also because
2819         it currently takes 30 minutes to run. As insane as it sounds, each copy takes rouhgly 57 seconds.
2820
2821         Running Interactive/CopyAll.html (1 of 1)
2822         RESULT Interactive: CopyAll: Time= 57618.05 ms
2823         median= 57135.0 ms, stdev= 1542.07271571 ms, min= 55095.0 ms, max= 60913.0 ms
2824         RESULT Interactive: CopyAll: JSHeap= 102811.2 bytes
2825         median= 103272.0 bytes, stdev= 1115.28148913 bytes, min= 100648.0 bytes, max= 103504.0 bytes
2826         RESULT Interactive: CopyAll: Malloc= 446408712.0 bytes
2827         median= 459156772.0 bytes, stdev= 20007346.3266 bytes, min= 415564040.0 bytes, max= 462011928.0 bytes
2828         Finished: 1766.883236 s
2829
2830         * Interactive/CopyAll.html: Added.
2831         * Skipped:
2832
2833 2013-05-13  Seokju Kwon  <seokju.kwon@gmail.com>
2834
2835         Web Inspector: Get rid of native-memory-snapshot in performance test
2836         https://bugs.webkit.org/show_bug.cgi?id=116013
2837
2838         Reviewed by Andreas Kling.
2839
2840         Remove native-memory-snapshot.html from PerformanceTests.
2841
2842         * inspector/native-memory-snapshot.html: Removed.
2843         * inspector/performance-test.js:
2844         (initialize_TimeTracker.Timer):
2845         (initialize_TimeTracker.Timer.prototype._dump):
2846         (initialize_TimeTracker.InspectorTest.runPerformanceTest):
2847
2848 2013-04-10  Benjamin Poulain  <bpoulain@apple.com>
2849
2850         Mass remove all the empty directories
2851
2852         Rubberstamped by Ryosuke Niwa.
2853
2854         * Bindings/resources: Removed.
2855
2856 2013-04-02  Glenn Adams  <glenn@skynav.com>
2857
2858         Need japanese line layout performance test
2859         https://bugs.webkit.org/show_bug.cgi?id=113811
2860
2861         Reviewed by Ryosuke Niwa.
2862
2863         Will be used by https://bugs.webkit.org/show_bug.cgi?id=105692 to test potential performance regression
2864         for Japanese (and other CJK) line break changes.
2865
2866         * Layout/LineLayoutJapanese.html: Added.
2867         * Skipped: Skip this test by default.
2868
2869 2013-03-29  Andrei Bucur  <abucur@adobe.com>
2870
2871         [CSS Regions] Add performance tests
2872         https://bugs.webkit.org/show_bug.cgi?id=113303
2873
2874         Reviewed by Antti Koivisto.
2875
2876         Add simple performance tests for regions, without nested named flows: a region chain and a flow article.
2877         The regions.js script is used to generate the tests and can set the following parameters: the number of regions,
2878         the number of paragraphs, the regions width, height, max-height and the propability of a forced break after a paragraph.
2879
2880         The tests are skipped for now. They should be enabled once the regions performance is stable enough to create a baseline.
2881
2882         * Layout/RegionsAuto.html: Added. A few regions with a short article. The regions have auto-height and some
2883         paragraphs (80%) have forced breaks after. Stress test for the auto-height algorithm.
2884         * Layout/RegionsAutoMaxHeight.html: Added. A lot of regions with auto-height and max-height. Tests the impact of
2885         max-height on the auto-height algorithm.
2886         * Layout/RegionsFixed.html: Added. A lot of regions with a long article. Some paragraphs (50%) have forced breaks after.
2887         Stress test for the regions layout algorithm.
2888         * Layout/RegionsFixedShort.html: Added. A lot of short regions with a long content. Tests the impact of unforced breaks
2889         on the layout speed.
2890         * Layout/resources/regions.css: Added.
2891         (.articleInFlow):
2892         (.articleNone):
2893         (.region):
2894         (.contentParagraph):
2895         (.breakAfter):
2896         (.regionContainer):
2897         * Layout/resources/regions.js: Added.
2898         (.):
2899         * Skipped:
2900
2901 2013-03-26  Ryosuke Niwa  <rniwa@webkit.org>
2902
2903         Add a performance tests for selecting all content in a document
2904         https://bugs.webkit.org/show_bug.cgi?id=113358
2905
2906         Reviewed by Levi Weintraub.
2907
2908         Add a performance test for selecting all. We wait for paint to happen by setTimeout(~, 0).
2909
2910         Example outputs:
2911             RESULT Interactive: SelectAll: Time= 652.6 ms
2912             median= 644.5 ms, stdev= 54.6177144967 ms, min= 599.0 ms, max= 773.0 ms
2913
2914             RESULT Interactive: SelectAll: Time= 654.4 ms
2915             median= 633.5 ms, stdev= 55.9223145368 ms, min= 600.0 ms, max= 769.0 ms
2916
2917             RESULT Interactive: SelectAll: Time= 657.9 ms
2918             median= 640.0 ms, stdev= 54.1420159833 ms, min= 604.0 ms, max= 774.0 ms
2919
2920         * Interactive/SelectAll.html: Added.
2921         * Skipped:
2922
2923 2013-03-19  Alexei Filippov  <alph@chromium.org>
2924
2925         Web Inspector: Fix heap profiler performance tests.
2926         https://bugs.webkit.org/show_bug.cgi?id=112701
2927
2928         Reviewed by Yury Semikhatsky.
2929
2930         The tests were broken by profile types refactoring.
2931
2932         * inspector/heap-snapshot-performance-test.js:
2933         (test.performanceTest.step0):
2934         (test.performanceTest.step1):
2935
2936 2013-03-05  Eric Seidel  <eric@webkit.org>
2937
2938         Add html-parser-threaded perf test now that the threaded parser is enabled by default
2939         https://bugs.webkit.org/show_bug.cgi?id=111200
2940
2941         Reviewed by Ryosuke Niwa.
2942
2943         The old srcdoc test no longer triggers the threaded parser due to compatibility fixes.
2944
2945         * Parser/html-parser-threaded.html: Renamed from PerformanceTests/Parser/html-parser-srcdoc.html.
2946         * Skipped: Unfortunately this new test is still skipped too.
2947
2948 2013-03-04  Eric Seidel  <eric@webkit.org>
2949
2950         Add PerformanceTest for document startup via iframe append/remove
2951         https://bugs.webkit.org/show_bug.cgi?id=111389
2952
2953         Reviewed by Kentaro Hara.
2954
2955         We'd like pages with lots of iframes to be fast.
2956         This test shows that at least for V8/Chromium we spend
2957         all our time booting v8.
2958
2959         On my 32-core linux machine I see about 70 runs/sec in
2960         Release and 5 runs/sec in Debug.
2961
2962         * DOM/iframe-append-remove.html: Added.
2963
2964 2013-03-03  Ryosuke Niwa  <rniwa@webkit.org>
2965
2966         Some perf. tests have variances that differ greatly between runs
2967         https://bugs.webkit.org/show_bug.cgi?id=97510
2968
2969         Reviewed by Benjamin Poulain.
2970
2971         In order to control the number of iterations and processes to use from run-perf-tests, always use 20
2972         iterations on all tests except Dromaeo, where even doing 5 iterations is prohibitively slow, by default.
2973         Without this change, it'll become extremely hard for us to tweak the number of iterations and processes
2974         to use from run-perf-tests.
2975
2976         * Animation/balls.html:
2977         * DOM/DOMTable.html:
2978         * DOM/resources/dom-perf.js:
2979         (runBenchmarkSuite.PerfTestRunner.measureTime):
2980         * Dromaeo/resources/dromaeorunner.js:
2981         * Layout/floats_100_100.html:
2982         * Layout/floats_100_100_nested.html:
2983         * Layout/floats_20_100.html:
2984         * Layout/floats_20_100_nested.html:
2985         * Layout/floats_2_100.html:
2986         * Layout/floats_2_100_nested.html:
2987         * Layout/floats_50_100.html:
2988         * Layout/floats_50_100_nested.html:
2989         * Layout/subtree-detaching.html:
2990         * Parser/html5-full-render.html:
2991         * SVG/SvgHitTesting.html:
2992         * resources/runner.js:
2993         * resources/results-template.html:
2994
2995 2013-02-25  Ryosuke Niwa  <rniwa@webkit.org>
2996
2997         Use perf.webkit.org JSON format in results page
2998         https://bugs.webkit.org/show_bug.cgi?id=110842
2999
3000         Reviewed by Benjamin Poulain.
3001
3002         Updated the results page template to use the new JSON format.
3003
3004         Since new JSON format doesn't contain statistics such as stdev and min, added statistics.js to compute
3005         these values. Also use 95% percentile confidence interval instead of standard deviation in various places.
3006
3007         * resources/results-template.html: Added statistics.js as dependency.
3008         (TestResult): Updated to take a metric instead of its test. Replaced stdev() with confidenceIntervalDelta()
3009         now that we have a fancy Statistics class.
3010
3011         (TestRun.webkitRevision):
3012         (PerfTestMetric): Renamed from PerfTest since this object now encapsulates each measurement (such as time,
3013         JS heap, and malloc) in test. Also added a conversion table from a metric name to a unit since new format
3014         doesn't contain units.
3015         (PerfTestMetric.name): Updated to compute the full metric name from test name and metric name, matching
3016         the old behavior.
3017         (PerfTestMetric.isMemoryTest): Explicitly look for 'JSHeap' and 'Malloc' tests.
3018         (PerfTestMetric.smallerIsBetter):
3019
3020         (attachPlot): Deleted the code to deal with tests that don't provide individual iteration measurement
3021         since such tests no longer exist. Also fixed up the code compute y-axis range.
3022
3023         (createTableRow.markupForRun): Updated to use confidenceIntervalDelta() instead of stdev().
3024         
3025         (init.addTests): Added. Recursively add metrics.
3026
3027         * resources/statistics.js: Added. Imported from perf.webkit.org.
3028         (Statistics.max):
3029         (Statistics.min):
3030         (Statistics.sum):
3031         (Statistics.squareSum):
3032         (Statistics.sampleStandardDeviation):
3033         (Statistics.supportedConfidenceLevels):
3034         (Statistics.confidenceIntervalDelta):
3035         (Statistics.confidenceInterval):
3036
3037 2013-02-11  Alexei Filippov  <alph@chromium.org>
3038
3039         Web Inspector: Split Profiler domain in protocol into Profiler and HeapProfiler
3040         https://bugs.webkit.org/show_bug.cgi?id=108653
3041
3042         Reviewed by Yury Semikhatsky.
3043
3044         Currently CPU and heap profilers share the same domain 'Profiler' in the protocol.
3045         In fact these two profile types have not too much in common. So put each into its own domain.
3046         It should also help when Profiles panel gets split into several tools.
3047         This is the phase 1 which adds InspectorHeapProfilerAgent but doesn't
3048         change the original InspectorProfilerAgent.
3049
3050         * inspector/heap-snapshot-performance-test.js:
3051         (test.performanceTest.cleanup):
3052
3053 2013-02-05  Dominik Röttsches  <dominik.rottsches@intel.com>
3054
3055         Add a performance test for arabic line breaking
3056         https://bugs.webkit.org/show_bug.cgi?id=108948
3057
3058         Reviewed by Eric Seidel.
3059
3060         Adding a perfomance test based to exercise the complex
3061         font path used in rendering arabic script.
3062
3063         * Layout/ArabicLineLayout.html: Added.
3064         * Skipped: New test skipped by default as per Ryosuke's request.
3065
3066 2013-01-23  Yury Semikhatsky  <yurys@chromium.org>
3067
3068         Web Inspector: some measurements are missing in PerformanceTests/inspector/heap-*.html
3069         https://bugs.webkit.org/show_bug.cgi?id=107687
3070
3071         Reviewed by Pavel Feldman.
3072
3073         * inspector/heap-snapshot-performance-test.js: override methods on JSHeapSnapshot instead
3074         of HeapSnapshot, otherwise overrides from JSHeapSnapshot will rule.
3075
3076 2013-01-18  Ryosuke Niwa  <rniwa@webkit.org>
3077
3078         Skip DOM/TraverseChildNodes.html as intended in r140070.
3079
3080         * Skipped:
3081
3082 2013-01-17  Dominic Cooney  <dominicc@chromium.org>
3083
3084         Unreviewed, re-land r140051.
3085
3086         I overzealously rolled this out; the test was intended to be
3087         skipped, but was not skipped because of a typo in Skipped. See
3088         <https://bugs.webkit.org/show_bug.cgi?id=107210>
3089
3090         * Parser/html-parser-srcdoc.html: Added.
3091         * Skipped: Big-P Parser.
3092
3093 2013-01-17  Sheriff Bot  <webkit.review.bot@gmail.com>
3094
3095         Unreviewed, rolling out r140051.
3096         http://trac.webkit.org/changeset/140051
3097         https://bugs.webkit.org/show_bug.cgi?id=107210
3098
3099         html-parser-srcdoc.html failing on Chromium Linux Perf and
3100         Chromium Mac Perf with a lot of error spew about blocked
3101         script execution in 'about:srcdoc' (Requested by dominicc on
3102         #webkit).
3103
3104         * Parser/html-parser-srcdoc.html: Removed.
3105         * Skipped:
3106
3107 2013-01-16  Ryosuke Niwa  <rniwa@webkit.org>
3108
3109         Remove NodeListsNodeData when it's no longer needed
3110         https://bugs.webkit.org/show_bug.cgi?id=107074
3111
3112         Reviewed by Darin Adler.
3113
3114         Added a micro benchmark to see the benefit of removing NodeListsNodeData.
3115         The test traverses all elements in the html5 specification page and accesses childNodes.
3116
3117         Don't enable this test for now since it's really a micro benchmark specifically
3118         designed to test this patch.
3119
3120         * DOM/TraverseChildNodes.html: Added.
3121         * Skipped: Don't enable newly added test by default.
3122         * resources/results-template.html: Compare against the unscaled unit (e.g. "bytes") as
3123         opposed to scaled units such as "K bytes".
3124         * resources/runner.js:
3125         (.start): Moved the code to call currentTest.setup from measureRunsPerSecondOnce so that
3126         it'll be ran for all test types, namely of PerfTestRunner.measureTime.
3127         (.measureRunsPerSecondOnce):
3128
3129 2013-01-17  Eric Seidel  <eric@webkit.org>
3130
3131         Add a version of the html-parser benchmark which uses srcdoc instead of document.write so it tests the threaded parser
3132         https://bugs.webkit.org/show_bug.cgi?id=107158
3133
3134         Reviewed by Ryosuke Niwa.
3135
3136         Currently this test even opts-in to the threaded parser if available.
3137         We'll remove that line when the threaded parser becomes default or goes away.
3138
3139         * Parser/html-parser-srcdoc.html: Added.
3140
3141 2013-01-16  Arnaud Renevier  <a.renevier@sisa.samsung.com>
3142
3143         inconsistency in drawImage with target rect negative dimensions.
3144         https://bugs.webkit.org/show_bug.cgi?id=100026
3145
3146         Reviewed by Dean Jackson.
3147
3148         Create a drawImage performance test. There is no significative change
3149         in performance: 27144.6851528 runs/s without the patch; 27153.517612
3150         runs/s with the patch. Test is currently skipped.
3151
3152         * Canvas/drawimage.html: Added.
3153         * Skipped:
3154
3155 2013-01-15  Dominic Cooney  <dominicc@chromium.org>
3156
3157         Allow zero values as results from the runFunction.
3158         https://bugs.webkit.org/show_bug.cgi?id=102500
3159
3160         Reviewed by Kentaro Hara.
3161
3162         DOM/DOMWalk.js fails on the Chromium Win perf bot because one or
3163         more parts of the test usually return zero at some point.
3164
3165         * resources/runner.js: Accept merely non-negative results.
3166
3167 2012-12-28  Yury Semikhatsky  <yurys@chromium.org>
3168
3169         Web Inspector: rename distanceToWindow to distance
3170         https://bugs.webkit.org/show_bug.cgi?id=105823
3171
3172         Reviewed by Pavel Feldman.
3173
3174         Updated heap profiler performance test after renaming distanceToWindow to distance.
3175
3176         * inspector/heap-snapshot-performance-test.js:
3177
3178 2012-12-18  Hayato Ito  <hayato@chromium.org>
3179
3180         Use element.webkitCreateShadowRoot instead of WebKitShadowRoot in PerformanceTests.
3181         https://bugs.webkit.org/show_bug.cgi?id=105256
3182
3183         Reviewed by Dimitri Glazkov.
3184
3185         WebKitShadowRoot constructor was deleted in favor of element.webkitCreateShadowRoot().
3186
3187         * ShadowDOM/ChangingClassNameShadowDOM.html:
3188         * ShadowDOM/ChangingSelect.html:
3189         * ShadowDOM/ContentReprojection.html:
3190         * ShadowDOM/DistributionWithMultipleShadowRoots.html:
3191         * ShadowDOM/LargeDistributionWithLayout.html:
3192         * ShadowDOM/MultipleInsertionPoints.html:
3193         * ShadowDOM/ShadowReprojection.html:
3194         * ShadowDOM/SmallDistributionWithLayout.html:
3195
3196 2012-12-17  Shinya Kawanaka  <shinyak@chromium.org>
3197
3198         [Shadow] LargeDistributionWithLayout.html should be updated
3199         https://bugs.webkit.org/show_bug.cgi?id=105242
3200
3201         Reviewed by Ryosuke Niwa.
3202
3203         Since this test was written when distribution took O(N^2). However, now it's almost O(N), so this test finishes
3204         in very short time. We should convert it unit to runs/s.
3205
3206         This test contains a some error to cause test failure, e.g. using obsolete API, so they also should be fixed.
3207
3208         * ShadowDOM/LargeDistributionWithLayout.html:
3209
3210 2012-12-13  Ryosuke Niwa  <rniwa@webkit.org>
3211
3212         [chromium perf] DOM/DOMWalk.html failures
3213         https://bugs.webkit.org/show_bug.cgi?id=104866
3214
3215         Reviewed by Eric Seidel.
3216
3217         Use PerfTestRunner.now which in turn uses window.performance.now() when it's available.
3218
3219         * DOM/resources/dom-perf.js:
3220         (Interval.start):
3221         (Interval.stop):
3222         (BenchmarkSuite.prototype.RunSingle):
3223
3224 2012-12-05  Shinya Kawanaka  <shinyak@chromium.org>
3225
3226         [Shadow] Performance tests for ShadowDOM distribution
3227         https://bugs.webkit.org/show_bug.cgi?id=103617
3228
3229         Reviewed by Dimitri Glazkov.
3230
3231         We would like to measure ShadowDOM distribution performance in various cases.
3232         In this patch, we add performance tests for several distribution patterns.
3233
3234         * ShadowDOM/ContentReprojection.html: Added.
3235         * ShadowDOM/DistributionWithMultipleShadowRoots.html: Added.
3236         * ShadowDOM/LargeDistributionWithLayout.html: Added.
3237         * ShadowDOM/MultipleInsertionPoints.html: Added.
3238         * ShadowDOM/ShadowReprojection.html: Added.
3239         * ShadowDOM/SmallDistributionWithLayout.html: Added.
3240
3241 2012-12-05  Shinya Kawanaka  <shinyak@chromium.org>
3242
3243         [Shadow] Performance tests of distribution for changing className
3244         https://bugs.webkit.org/show_bug.cgi?id=103612
3245
3246         Reviewed by Dimitri Glazkov.
3247
3248         We would like to measure ShadowDOM performance and compare it to the similar functional HTML without using ShadowDOM.
3249         In this patch, we add a case when classNames of distributed elemeents are changed.
3250
3251         * ShadowDOM/ChangingClassName.html: Added.
3252         * ShadowDOM/ChangingClassNameShadowDOM.html: Added.
3253
3254 2012-12-03  Ryosuke Niwa  <rniwa@webkit.org>
3255
3256         Dromaeo should report individual test result
3257         https://bugs.webkit.org/show_bug.cgi?id=99800
3258
3259         Reviewed by Eric Seidel.
3260
3261         Made one small modification to Droameo's webrunner.js so that it reports individual runs/s values
3262         for each subtest. This allows us to compute the aggregated run/s for each iteration like other
3263         performance tests.
3264
3265         Also stop measuring memory usage in Dromaeo tests because some Dromaeo tests (e.g. jslib-modify-jquery)
3266         have unrealistic memory usage, and measuring them at the time of teardown doesn't make much sense.
3267
3268         * Animation/balls.html: Fixed typo: measureValueAync.
3269         * Dromaeo/resources/dromaeo/web/webrunner.js:
3270
3271         * Dromaeo/resources/dromaeorunner.js:
3272         (DRT.setup): Call prepareToMeasureValuesAsync so that DRT.teardown can use meausreValueAsync, and log
3273         "Running 5 times". Since the log container will be inserted before iframe, we need to explicitly insert
3274         the iframe as the first child of the body element to avoid logs from affecting the iframe's position.
3275         Also specify the number of iterations by calling PerfTestRunner.iterationCount() so that we may adjust
3276         the number of iterations in PerfTestRunner.
3277
3278         (DRT.progress): Log individual measurement for each subtest.
3279         (DRT.teardown): Compute the aggregated result for each iteration, and log them using measureValueAsync.
3280
3281         * resources/runner.js:
3282         (PerfTestRunner.logStatistics): Merged printStatistics since it's no longer needed after r131638.
3283         (PerfTestRunner): Removed getAndPrintMemoryStatistics since it was used only in Dromaeo tests but
3284         we no longer measure memory usage in Dromaeo tests.
3285
3286         (start): Increment completedRuns from -1 to 0 for Dromaeo tests where we don't want to ignore the initial
3287         measurement. Note that ignoreWarmUpAndLog ignores the measurements for which completedRuns is negative.
3288
3289         (ignoreWarmUpAndLog): We don't measure memory usage in Dromaeo tests. See above.
3290         (PerfTestRunner.iterationCount): Added. This abstraction allows us to auto-adjust the number of iterations from
3291         run-perf-tests in near future.
3292         (PerfTestRunner.measureValueAsync): Renamed from measureValueAync.
3293
3294 2012-11-29  Shinya Kawanaka  <shinyak@chromium.org>
3295
3296         [Shadow] Performance tests of distribution for changing select attribute
3297         https://bugs.webkit.org/show_bug.cgi?id=103611
3298
3299         Reviewed by Hajime Morita.
3300
3301         We would like to measure ShadowDOM performance and compare it to the similar functional HTML without using ShadowDOM.
3302         In this patch, we add a case when select attribute of HTMLContentElement is changed.
3303
3304         * ShadowDOM/ChangingSelect.html: Added.
3305         * ShadowDOM/ChangingSelectWithoutShadow.html: Added.
3306         * Skipped:
3307
3308 2012-11-19  Shinya Kawanaka  <shinyak@chromium.org>
3309
3310         Changing id, className, or attribute should invalidate distribution
3311         https://bugs.webkit.org/show_bug.cgi?id=100738
3312
3313         Reviewed by Dimitri Glazkov.
3314
3315         Added test code to modify id/class/attribute.
3316
3317         * DOM/ModifyAttribute.html: Added.
3318         * DOM/resources/dom-perf/modify-attribute.js: Added.
3319         (ModifyAttribute.CreateElementToSetUp):
3320         (ModifyAttribute.ModifyId):
3321         (ModifyAttribute.ModifyClass):
3322         (ModifyAttribute.ModifyTitle):
3323
3324 2012-11-14  Ryosuke Niwa  <rniwa@webkit.org>
3325
3326         runCount in runner.js should be renamed to iterationCount
3327         https://bugs.webkit.org/show_bug.cgi?id=102208
3328
3329         Reviewed by Tony Chang.
3330
3331         Prior to this patch, there were terminology confusions between "runs" and "iterations".
3332         The term "run" should refer to running a performance test once, and "iteration" should
3333         refer to one measurement in the test. i.e. Executing run-perf-should once will result in
3334         a single "run" of performance tests and each test may execute multiple "iterations"
3335         to complete the run.
3336
3337         Unfortunately, we still overload the meaning of "runs" in "runs/s" (is "function calls/s")
3338         but that could be addressed in a separate patch.
3339
3340         * Animation/balls.html:
3341         * DOM/DOMTable.html:
3342         * DOM/resources/dom-perf.js:
3343         * Layout/floats_100_100.html:
3344         * Layout/floats_100_100_nested.html:
3345         * Layout/floats_20_100.html:
3346         * Layout/floats_20_100_nested.html:
3347         * Layout/floats_2_100.html:
3348         * Layout/floats_2_100_nested.html:
3349         * Layout/floats_50_100.html:
3350         * Layout/floats_50_100_nested.html:
3351         * Layout/subtree-detaching.html:
3352         * Parser/html5-full-render.html:
3353         * SVG/SvgHitTesting.html:
3354         * resources/runner.js:
3355
3356 2012-11-13  Dimitri Glazkov  <dglazkov@chromium.org>
3357
3358         Unreviewed, rolling out r134367.
3359         http://trac.webkit.org/changeset/134367
3360         https://bugs.webkit.org/show_bug.cgi?id=100738
3361
3362         Speculative rollout, could have cause Dromaeo setAttribute
3363         perf regression.
3364
3365         * DOM/ModifyAttribute.html: Removed.
3366         * DOM/resources/dom-perf/modify-attribute.js: Removed.
3367
3368 2012-11-12  Shinya Kawanaka  <shinyak@chromium.org>
3369
3370         Changing id, className, or attribute should invalidate distribution
3371         https://bugs.webkit.org/show_bug.cgi?id=100738
3372
3373         Reviewed by Dimitri Glazkov.
3374