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