Turn PageLoad tests into simple performancetests, commit #3
[WebKit-https.git] / PerformanceTests / ChangeLog
1 2012-10-25  Zoltan Horvath  <zoltan@webkit.org>
2
3         Turn PageLoad tests into simple performancetests, commit #3 
4         https://bugs.webkit.org/show_bug.cgi?id=99899
5
6         Reviewed by Ryosuke Niwa.
7
8         We cannot provide an elegant way to measure the memory consumption of the PageLoad tests, but we can turn them into simple
9         performance tests and measure their memory footprint and performance that way. This change moves and renames the related files
10         to their new location and adds html/js wrappers for them.
11
12         This is the #3 commit of the whole patch.
13
14         * PageLoad/svg/files/42470-flower_from_my_garden_v2.svg: Removed.
15         * PageLoad/svg/files/44057-drops on a blade.svg: Removed.
16         * PageLoad/svg/files/deb9frac1.svg: Removed.
17         * PageLoad/svg/files/food_leif_lodahl_01.svg: Removed.
18         * SVG/Debian.html: Added.
19         * SVG/DropsOnABlade.html: Added.
20         * SVG/FlowerFromMyGarden.html: Added.
21         * SVG/FoodLeifLodahl.html: Added.
22         * SVG/resources/Debian.svg: Copied from PerformanceTests/PageLoad/svg/files/deb9frac1.svg.
23         * SVG/resources/DropsOnABlade.svg: Copied from PerformanceTests/PageLoad/svg/files/44057-drops%20on%20a%20blade.svg.
24         * SVG/resources/FlowerFromMyGarden.svg: Copied from PerformanceTests/PageLoad/svg/files/42470-flower_from_my_garden_v2.svg.
25         * SVG/resources/FoodLeifLodahl.svg: Copied from PerformanceTests/PageLoad/svg/files/food_leif_lodahl_01.svg.
26
27 2012-10-24  Zoltan Horvath  <zoltan@webkit.org>
28
29         Turn PageLoad tests into simple performancetests, commit #2 
30         https://bugs.webkit.org/show_bug.cgi?id=99899
31
32         Reviewed by Ryosuke Niwa.
33
34         We cannot provide an elegant way to measure the memory consumption of the PageLoad tests, but we can turn them into simple
35         performance tests and measure their memory footprint and performance that way. This change moves and renames the related files
36         to their new location and adds html/js wrappers for them.
37
38         This is the #2 commit of the whole patch.
39
40         * PageLoad/svg/files/cacuts_01.svg: Removed.
41         * PageLoad/svg/files/cowboy.svg: Removed.
42         * PageLoad/svg/files/crawfish2_ganson.svg: Removed.
43         * SVG/Cactus.html: Added.
44         * SVG/Cowboy.html: Added.
45         * SVG/CrawFishGanson.html: Added.
46         * SVG/resources/Cactus.svg: Copied from PerformanceTests/PageLoad/svg/files/cacuts_01.svg.
47         * SVG/resources/Cowboy.svg: Copied from PerformanceTests/PageLoad/svg/files/cowboy.svg.
48         * SVG/resources/CrawFishGanson.svg: Copied from PerformanceTests/PageLoad/svg/files/crawfish2_ganson.svg.
49         * Skipped: Remove az-lizard_benji_park_01.svg from the skipped list.
50
51 2012-10-24  Zoltan Horvath  <zoltan@webkit.org>
52
53         Turn PageLoad tests into simple performancetests, commit #1 
54         https://bugs.webkit.org/show_bug.cgi?id=99899
55
56         Reviewed by Ryosuke Niwa.
57
58         We cannot provide an elegant way to measure the memory consumption of the PageLoad tests, but we can turn them into simple
59         performance tests and measure their memory footprint and performance that way. This change moves and renames the related files
60         to their new location and adds html/js wrappers for them.
61
62         This is the #1 commit of the whole patch.
63
64         * PageLoad/svg/files/az-lizard_benji_park_01.svg: Removed.
65         * PageLoad/svg/files/bamboo_01.svg: Removed.
66         * SVG/AzLizardBenjiPark.html: Added.
67         * SVG/Bamboo.html: Added.
68         * SVG/resources: Added.
69         * SVG/resources/AzLizardBenjiPark.svg: Copied from PerformanceTests/PageLoad/svg/files/az-lizard_benji_park_01.svg.
70         * SVG/resources/Bamboo.svg: Copied from PerformanceTests/PageLoad/svg/files/bamboo_01.svg.
71
72 2012-10-24  Zoltan Horvath  <zoltan@webkit.org>
73
74         REGRESSION(r131982): Skip SVG/SvgNestedUse.html performancetest since it is crashing
75         https://bugs.webkit.org/show_bug.cgi?id=100262
76
77         Unreviewed.
78
79         Skip until proper fix.
80
81         * Skipped: Add SVG/SvgNestedUse.html
82
83 2012-10-23  Zoltan Horvath  <zoltan@webkit.org>
84
85         Store the loaded file locally in measurePageLoadTime
86         https://bugs.webkit.org/show_bug.cgi?id=100172
87
88         Reviewed by Csaba Osztrogonác.
89
90         Store the loaded file as a local variable instead of attaching it to the test object.
91         Handle chunkSize inside test.run.
92
93         * resources/runner.js:
94         (.):
95
96 2012-10-23  Zoltan Horvath  <zoltan@webkit.org>
97
98         Add measurePageLoadTime function to PerfTestRunner
99         https://bugs.webkit.org/show_bug.cgi?id=100029
100
101         Reviewed by Ryosuke Niwa.
102
103         Adopt chunk based loading logic from html5-full-render.html into measurePageLoadTime function,
104         this is needed to measure the performance and the memory consumption of the PageLoadTests as
105         we do it for all other performancetests.
106
107         * Parser/html5-full-render.html: Move the behavior to runner.js.
108         * resources/runner.js:
109         (.): Add measurePageLoadTime function.
110
111 2012-10-22  Adam Barth  <abarth@webkit.org>
112
113         [V8] Vastly simplify V8GCController's NodeVisitor
114         https://bugs.webkit.org/show_bug.cgi?id=99884
115
116         Reviewed by Kentaro Hara.
117
118         Adds some performance tests for the garbage collector.
119
120         * Bindings/gc-forest.html: Added.
121         * Bindings/gc-mini-tree.html: Added.
122         * Bindings/gc-tree.html: Added.
123
124 2012-10-17  Ryosuke Niwa  <rniwa@webkit.org>
125
126         Bump up the number of iterations of html5-full-render to 5
127         https://bugs.webkit.org/show_bug.cgi?id=99657
128
129         Reviewed by Andreas Kling.
130
131         Now that html5-full-render.html runs in less than 15 seconds after r131553,
132         we can afford to get 5 instead of 2 samples.
133
134         * Parser/html5-full-render.html:
135
136 2012-10-17  Ryosuke Niwa  <rniwa@webkit.org>
137
138         Rename PerfTestRunner.runPerSecond to PerfTestRunner.measureRunsPerSecond for consistency
139         https://bugs.webkit.org/show_bug.cgi?id=99642
140
141         Reviewed by Dirk Pranke.
142
143         Renamed the method.
144
145         * Bindings/append-child.html:
146         * Bindings/create-element.html:
147         * Bindings/event-target-wrapper.html:
148         * Bindings/first-child.html:
149         * Bindings/get-attribute.html:
150         * Bindings/get-element-by-id.html:
151         * Bindings/get-elements-by-tag-name.html:
152         * Bindings/id-getter.html:
153         * Bindings/id-setter.html:
154         * Bindings/insert-before.html:
155         * Bindings/node-list-access.html:
156         * Bindings/scroll-top.html:
157         * Bindings/set-attribute.html:
158         * Bindings/typed-array-construct-from-array.html:
159         * Bindings/typed-array-construct-from-same-type.html:
160         * Bindings/typed-array-construct-from-typed.html:
161         * Bindings/typed-array-set-from-typed.html:
162         * Bindings/undefined-first-child.html:
163         * Bindings/undefined-get-element-by-id.html:
164         * Bindings/undefined-id-getter.html:
165         * CSS/CSSPropertySetterGetter.html:
166         * CSS/CSSPropertyUpdateValue.html:
167         * CSS/PseudoClassSelectors.html:
168         * DOM/textarea-dom.html:
169         * DOM/textarea-edit.html:
170         * Interactive/resources/window-resize.js:
171         * Layout/flexbox-column-nowrap.html:
172         * Layout/flexbox-column-wrap.html:
173         * Layout/flexbox-row-nowrap.html:
174         * Layout/flexbox-row-wrap.html:
175         * Layout/line-layout.html:
176         * Parser/css-parser-yui.html:
177         * Parser/innerHTML-setter.html:
178         * Parser/query-selector-deep.html:
179         * Parser/query-selector-first.html:
180         * Parser/query-selector-last.html:
181         * Parser/simple-url.html:
182         * Parser/textarea-parsing.html:
183         * Parser/tiny-innerHTML.html:
184         * Parser/url-parser.html:
185         * Parser/xml-parser.html:
186         * SVG/SvgNestedUse.html:
187         * resources/runner.js:
188
189 2012-10-17  Ryosuke Niwa  <rniwa@webkit.org>
190
191         Performance test should support asynchronous tests
192         https://bugs.webkit.org/show_bug.cgi?id=95668
193
194         Reviewed by Dirk Pranke.
195
196         Added PerfTestRunner.prepareToMeasureValuesAsync and PerfTestRunner.measureValueAsync,
197         and deployed it in Animation/balls.
198
199         * Animation/balls.html:
200         * resources/runner.js:
201
202 2012-10-16  Elliott Sprehn  <esprehn@chromium.org>
203
204         html5-full-render.html test uses substring but meant substr
205         https://bugs.webkit.org/show_bug.cgi?id=99495
206
207         Reviewed by Adam Barth.
208
209         This test intended to chunk up the HTML5 spec into chunks of 500k chars, but used
210         substring(to,from) instead of substr(from,length) so it actually loaded 5x more
211         content than was in the HTML5 spec.
212
213         * Parser/html5-full-render.html:
214
215 2012-10-11  James Simonsen  <simonjam@chromium.org>
216
217         unprefix window.performance.webkitNow()
218         https://bugs.webkit.org/show_bug.cgi?id=88278
219
220         Reviewed by Tony Gentilcore.
221
222         * resources/runner.js: Bind to proper object to avoid invalid invocation errors.
223
224 2012-10-08  Ryosuke Niwa  <rniwa@webkit.org>
225
226         Skip Layout/subtree-detaching.html temporarily as it's very noisy and
227         takes 112s to run on Chromium Mac. This is tracked by the bug 98708.
228
229         * Skipped:
230
231 2012-10-08  Ryosuke Niwa  <rniwa@webkit.org>
232
233         Perf. test results page is broken when runs have different sets of tests
234         https://bugs.webkit.org/show_bug.cgi?id=98691
235
236         Reviewed by Daniel Bates.
237
238         Add "missing" columns for tests that are missing some runs.
239
240         Also fix regressions from the previous patch:
241         - Make reference run switch work again
242         - Load jquery plugins from the remote server when the jquery is loaded from the remote server.
243
244         * resources/results-template.html:
245
246 2012-10-08  Ryosuke Niwa  <rniwa@webkit.org>
247
248         Perf test pesults page takes forever to load on a machine with a slow Internet connection
249         https://bugs.webkit.org/show_bug.cgi?id=98561
250
251         Reviewed by Ojan Vafai.
252
253         Try loading jquery both locally and remotely, and use the same method to load the remaining
254         jquery plugins when either one succeeds.
255
256         * resources/results-template.html:
257
258 2012-10-04  Hayato Ito  <hayato@chromium.org>
259
260         [Refactoring] Introduce a traversal strategy in SelectorChecker
261         https://bugs.webkit.org/show_bug.cgi?id=97298
262
263         Reviewed by Antti Koivisto.
264
265         Introduces querySelector() performance tests to check SelectorChecker performance.
266
267         * CSS/PseudoClassSelectors.html: Added.
268
269 2012-10-03  Philip Rogers  <pdr@google.com>
270
271         Force GC between PageLoad tests.
272         https://bugs.webkit.org/show_bug.cgi?id=98203
273
274         Reviewed by Ryosuke Niwa.
275
276         Previously, our PageLoad PerfTests had multi-modal distributions,
277         typically with a small cluster at 1-2x the median. This turned out
278         to be caused by not garbage collecting between tests!
279
280         This patch adds a new file, force-gc.html, and loads this file between
281         PageLoad tests to force a GC. I manually verified that this cleans up
282         our perf test outliers.
283
284         * resources/force-gc.html: Added.
285
286 2012-10-03  Julien Chaffraix  <jchaffraix@webkit.org>
287
288         Add a performance test for subtree detaching
289         https://bugs.webkit.org/show_bug.cgi?id=98281
290
291         Reviewed by Eric Seidel.
292
293         The new test tries to stress detaching on a heavy subtree (2 levels deep but with 1,000 nodes per level).
294         We set display: none on the root and measure the time it takes to update the tree. Note that we will also
295         measure the time taken by recalcStyle and relayout but I don't think we can avoid that.
296
297         * Layout/subtree-detaching.html: Added.
298
299 2012-10-02  Ryosuke Niwa  <rniwa@webkit.org>
300
301         Build fix after r130135. Dromaeo tests only report single memory value,
302         and computeStatistics should report variance as 0 in such cases.
303
304         * resources/runner.js:
305
306 2012-10-02  Philip Rogers  <pdr@google.com>
307
308         Fix PerfTest standard deviation calculation.
309         https://bugs.webkit.org/show_bug.cgi?id=98115
310
311         Reviewed by Ryosuke Niwa.
312
313         Previously our standard deviation calculation was incorrect. This patch
314         updates perftest.py's algorithm to calculate the sample standard deviation
315         (with Bessel's correction) using Knuth's online algorithm:
316         http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Online_algorithm
317         An existing test has been modified to prove our new results.
318
319         This patch also updates runner.js to use Bessel's correction in
320         its sample standard deviation calculation, which is more accurate
321         for small sample sizes.
322
323         Additionally, runner.js has been modified to not calculate
324         the 'sum' statistic, which was not very useful.
325
326         * resources/runner.js:
327         (PerfTestRunner.computeStatistics):
328
329 2012-10-01  Ryosuke Niwa  <rniwa@webkit.org>
330
331         PerfTestRunner: Move all functions into the closure and always use double quotation for string literals
332         https://bugs.webkit.org/show_bug.cgi?id=98093
333
334         Reviewed by Ojan Vafai.
335
336         Move all methods of PerfTestRunner into the closure that defines it.
337         Also always use double quotations for string literals for consistency.
338
339         * resources/runner.js:
340
341 2012-10-01  Ryosuke Niwa  <rniwa@webkit.org>
342
343         Encapsulate private properties in PerfTestRunner better
344         https://bugs.webkit.org/show_bug.cgi?id=97833
345
346         Reviewed by Ojan Vafai.
347
348         This patch moves "private" methods and properties of PerfTestRunner into a closure so that they're
349         inaccssible from outside. Also catch exceptions from test.run, test.done, and other runner code
350         to ensure we call notifyDone() even if we broke tests. Otherwise DRT will timeout and we end up
351         waiting for 10 minutes per each broken test on bots.
352
353         * resources/runner.js:
354         (PerfTestRunner.gc):
355         (logInDocument): Extracted from PerfTestRunner.log.
356         (PerfTestRunner.log): Moved.
357         (logFatalError): Added.
358         (start): Renamed from PerfTestRunner._start.
359         (scheduleNextRun): Extracted from PerfTestRunner._runLoop. Also catch any exceptions that happen
360         in the runner and ignoreWarmUpAndLog so that we don't end up timing out. We call logFatalError in
361         such cases, which in turn ensures notifyDone() is called.
362         (ignoreWarmUpAndLog): Renamed from PerfTestRunner._ignoreWarmUpAndLog.
363         (finish): Extracted from PerfTestRunner._runLoop.
364         (PerfTestRunner.measureTime): Moved. The initialization of runCount is moved into start().
365         (measureTimeOnce): Renamed from PerfTestRunner._measureTimeOnce.
366         (PerfTestRunner.runPerSecond): Moved. Ditto about runCount.
367         (measureRunsPerSecondOnce): Renamed from PerfTestRunner._measureRunsPerSecondOnce.
368         (callRunAndMeasureTime): Renamed from PerfTestRunner._perSecondRunnerIterator.
369
370 2012-10-01  Florin Malita  <fmalita@chromium.org>
371
372         Add a performance test for nested <use> elements
373         https://bugs.webkit.org/show_bug.cgi?id=98047
374
375         Reviewed by Ryosuke Niwa.
376
377         Currently at ~5 runs per second on my workstation, but should go up significantly (100+)
378         after landing a fix for https://bugs.webkit.org/show_bug.cgi?id=97905.
379
380         * SVG/SvgNestedUse.html: Added.
381
382 2012-09-28  Ryosuke Niwa  <rniwa@webkit.org>
383
384         Add back test.runCount for runPerSecond as it's used by tests in fast/harness/perftests.
385
386         * resources/runner.js:
387         (PerfTestRunner.runPerSecond):
388
389 2012-09-27  Ryosuke Niwa  <rniwa@webkit.org>
390
391         Build fix after r129824.
392
393         * DOM/resources/dom-perf.js:
394         (runBenchmarkSuite):
395
396 2012-09-27  Ryosuke Niwa  <rniwa@webkit.org>
397
398         Remove unused features and reduce code duplications in PerfTestRunner
399         https://bugs.webkit.org/show_bug.cgi?id=97852
400
401         Reviewed by Kentaro Hara.
402
403         Made the following refactoring changes:
404         - Remove PerfTestRunner.info since it's never used.
405         - Moved the js heap/malloc related functions up to where they belong.
406         - Moved the initialization of _callsPerIteration, _test, and -description into _start,
407           and stopped initializing _runFunction and _doneFunction since both test times now
408           use _test object.
409         - Made _measureTimeOnce and _measureRunsPerSecondOnce return the measured value
410           instead of calling ignoreWarmUpAndLog and _runLoop to share the code; they're now
411           called in _measureRunsPerSecondOnce.
412
413         * resources/runner.js:
414         (PerfTestRunner.storeHeapResults): Moved.
415         (PerfTestRunner.getUsedMallocHeap): Moved.
416         (PerfTestRunner.getUsedJSHeap): Moved.
417         (PerfTestRunner.getAndPrintMemoryStatistics): Moved.
418         (PerfTestRunner._scheduleNextMeasurementOrNotifyDone): Renamed from _runLoop. Calls
419         ignoreWarmUpAndLog and schedules the next call.
420         (PerfTestRunner._measureTimeOnce): Renamed from _runner.
421         (PerfTestRunner._start): Renamed from initAndStartLoop.
422         (PerfTestRunner.measureTime):
423         (PerfTestRunner.runPerSecond):
424         (PerfTestRunner._measureRunsPerSecondOnce): Renamed from _measureRunsPerSecondOnce.
425         (PerfTestRunner._perSecondRunnerIterator):
426
427 2012-09-27  Ryosuke Niwa  <rniwa@webkit.org>
428
429         PerfTestRunner.run should take an object
430         https://bugs.webkit.org/show_bug.cgi?id=97743
431
432         Reviewed by Kentaro Hara.
433
434         Rename PerfTestRunner.run to PerfTestRunner.measureTime and make it take an object instead of
435         5 arguments. Also get rid of PerfTestRunner._loopsPerRun since it's no longer used (it's always 1).
436
437         * CSS/StyleSheetInsert.html:
438         * DOM/resources/dom-perf.js:
439         * Layout/floats_100_100.html:
440         * Layout/floats_100_100_nested.html:
441         * Layout/floats_20_100.html:
442         * Layout/floats_20_100_nested.html:
443         * Layout/floats_2_100.html:
444         * Layout/floats_2_100_nested.html:
445         * Layout/floats_50_100.html:
446         * Layout/floats_50_100_nested.html:
447         * Parser/html-parser.html:
448         * Parser/html5-full-render.html:
449         * SVG/SvgCubics.html:
450         * SVG/SvgHitTesting.html:
451         * resources/runner.js:
452
453 2012-09-27  Ryosuke Niwa  <rniwa@webkit.org>
454
455         PerformanceTests/CSS/StyleSheetInsert.html has a time-dependent non-Gaussian distribution
456         https://bugs.webkit.org/show_bug.cgi?id=97741
457
458         Reviewed by Antti Koivisto.
459
460         Reset the content in the iframe in each run so that the runtime from each run follows a normal distribution.
461         We can cleanup this code once my patch to replace the argument list of run by an object is landed.
462
463         * CSS/StyleSheetInsert.html:
464
465 2012-09-27  Ryosuke Niwa  <rniwa@webkit.org>
466
467         Unreviewed. Minor appearance tweaks after r129813.
468
469         * resources/results-template.html:
470
471 2012-09-27  Ryosuke Niwa  <rniwa@webkit.org>
472
473         Results page should warn about time-dependent distributions
474         https://bugs.webkit.org/show_bug.cgi?id=97818
475
476         Reviewed by Ojan Vafai.
477
478         Add a simple linear regression analysis on results page to detect time-dependent distributions.
479         We add a warning sign (inline SVG) when the regression gave us a slope of at least 0.01 and a R^2 of at least 0.6.
480         Also added time-series graphs per run under the bar graphs so that humans can manually inspect them.
481
482         A nice follow up would be to add some normality test (e.g. Shapiro-Wilk) to detect bi-modal distributions
483         but we probably need to restructure the code to run it asynchronously since normality tests are slow.
484
485         * resources/results-template.html:
486
487 2012-09-26  Ryosuke Niwa  <rniwa@webkit.org>
488
489         Use runPerSecond in PerformanceTests/Bindings/typed-array* and event-target-wrapper
490         https://bugs.webkit.org/show_bug.cgi?id=97625
491
492         Reviewed by Eric Seidel.
493
494         Use PerfTestRunner.runPerSecond instead of PerfTestRunner.run. Also reduce the fixed number of
495         elements and iterations in these tests by a factor of 10 since runPerSecond can dynamically
496         adjust the number of function calls.
497
498         * Bindings/event-target-wrapper.html:
499         * Bindings/typed-array-construct-from-array.html:
500         * Bindings/typed-array-construct-from-same-type.html:
501         * Bindings/typed-array-construct-from-typed.html:
502         * Bindings/typed-array-set-from-typed.html:
503
504 2012-09-25  Antti Koivisto  <antti@apple.com>
505
506         Optimize stylesheet insertions
507         https://bugs.webkit.org/show_bug.cgi?id=97627
508
509         Reviewed by Andreas Kling.
510
511         Add synthetic performance test for avoiding style recalcs on stylesheet inserts.
512
513         * CSS/StyleSheetInsert.html: Added.
514
515 2012-09-25  Ryosuke Niwa  <rniwa@webkit.org>
516
517         Skip Dromaeo/jslib-modify-jquery.html per bug 95376.
518         It runs out of memory on Chromium port, and it takes unreasonably long time (~5 minutes)
519         to run on other ports.
520
521         * Skipped:
522
523 2012-09-20  Ryosuke Niwa  <rniwa@webkit.org>
524
525         Results page should show indivisual value
526         https://bugs.webkit.org/show_bug.cgi?id=97178
527
528         Reviewed by Tony Chang.
529
530         Show indivisual values instead of statistics (min, max, stdev).
531
532         * resources/results-template.html:
533
534 2012-09-20  Ryosuke Niwa  <rniwa@webkit.org>
535
536         run-perf-tests should record individual value instead of statistics
537         https://bugs.webkit.org/show_bug.cgi?id=97155
538
539         Reviewed by Hajime Morita.
540
541         Report the list of values as "values" so that run-perf-tests can parse them.
542
543         * resources/runner.js:
544         (PerfTestRunner.computeStatistics):
545         (PerfTestRunner.printStatistics):
546
547 2012-09-20  Sheriff Bot  <webkit.review.bot@gmail.com>
548
549         Unreviewed, rolling out r129091.
550         http://trac.webkit.org/changeset/129091
551         https://bugs.webkit.org/show_bug.cgi?id=97205
552
553         It broke perf tests everywhere (Requested by Ossy on #webkit).
554
555         * resources/runner.js:
556         (PerfTestRunner.computeStatistics):
557         (PerfTestRunner.printStatistics):
558
559 2012-09-19  Ryosuke Niwa  <rniwa@webkit.org>
560
561         run-perf-tests should record indivisual value instead of statistics
562         https://bugs.webkit.org/show_bug.cgi?id=97155
563
564         Reviewed by Hajime Morita.
565
566         Report the list of values as "values" so that run-perf-tests can parse them.
567
568         * resources/runner.js:
569         (PerfTestRunner.computeStatistics):
570         (PerfTestRunner.printStatistics):
571
572 2012-09-17  Ryosuke Niwa  <rniwa@webkit.org>
573
574         Perf test results is incomprehensive
575         https://bugs.webkit.org/show_bug.cgi?id=94668
576
577         Reviewed by Eric Seidel.
578
579         Overhauled the results page to have a tabular view. Clicking on each row shows a flot graph we used to have.
580         For each run and test, we show the mean value with the standard deviation along with the percent difference
581         against the reference run chosen by the user if the difference is statistically significant; it also indicates
582         whether the new value is progression or not.
583
584         The unit of each test is adjusted automatically using SI prefixes (Kilo, Mega, Milli), and rows can be sorted
585         by each column. Time and memory results are separated into two tabs.
586
587         * resources/jquery.tablesorter.min.js: Added.
588         * resources/results-template.html:
589
590 2012-09-14  Ryosuke Niwa  <rniwa@webkit.org>
591
592         Use performance.webkitNow in PerfTestRunner
593         https://bugs.webkit.org/show_bug.cgi?id=92826
594
595         Reviewed by Eric Seidel.
596
597         Use performance.webkitNow with Date.now as a fallback for more accurate time measurements.
598
599         * resources/runner.js:
600         (PerfTestRunner._runner):
601         (PerfTestRunner._perSecondRunnerIterator):
602
603 2012-09-14  Sheriff Bot  <webkit.review.bot@gmail.com>
604
605         Unreviewed, rolling out r128562.
606         http://trac.webkit.org/changeset/128562
607         https://bugs.webkit.org/show_bug.cgi?id=96747
608
609         It broke perf tests on Qt and Chromium (Requested by Ossy on
610         #webkit).
611
612         * resources/runner.js:
613         (PerfTestRunner._runner):
614         (PerfTestRunner._perSecondRunnerIterator):
615
616 2012-09-14  Ryosuke Niwa  <rniwa@webkit.org>
617
618         Use performance.webkitNow in PerfTestRunner
619         https://bugs.webkit.org/show_bug.cgi?id=92826
620
621         Reviewed by Eric Seidel.
622
623         Use performance.webkitNow with Date.now as a fallback for more acurate time measurements.
624
625         * resources/runner.js:
626         (PerfTestRunner._runner):
627         (PerfTestRunner._perSecondRunnerIterator):
628
629 2012-08-23  Ilya Tikhonovsky  <loislo@chromium.org>
630
631         WebInspector: unreviewed single line test fix.
632
633         The test has to open profiles panel explicitly because it is creating lazily.
634
635         * inspector/heap-snapshot-performance-test.js:
636
637 2012-08-15  Scott Graham  <scottmg@chromium.org>
638
639         Rename window.internals.fastMallocStatistics to mallocStatistics
640         https://bugs.webkit.org/show_bug.cgi?id=94033
641
642         Reviewed by Adam Barth.
643
644         * resources/runner.js:
645         (PerfTestRunner.storeHeapResults):
646         (PerfTestRunner.getUsedMallocHeap):
647         (PerfTestRunner.getAndPrintMemoryStatistics):
648         (PerfTestRunner.initAndStartLoop):
649
650 2012-08-10  Ryosuke Niwa  <rniwa@webkit.org>
651
652         Unreviewed; fix an insanely silly typo.
653
654         * resources/results-template.html:
655
656 2012-08-09  Ryosuke Niwa  <rniwa@webkit.org>
657
658         Another build fix after r125178.
659
660         * resources/runner.js:
661
662 2012-08-09  Zoltan Horvath  <zoltan@webkit.org>
663
664         Add memory measurement to balls.html and dromaeorunner.js
665         https://bugs.webkit.org/show_bug.cgi?id=93617
666
667         Reviewed by Adam Barth.
668
669         Since we added memory measurement support to performance tests we need to modify these tests.
670
671         * Animation/balls.html:
672         * Dromaeo/resources/dromaeorunner.js:
673
674 2012-08-09  Zoltan Horvath  <zoltan@webkit.org>
675
676         JSHeap and FastMallocStatistics based memory measurement for performance-tests
677         https://bugs.webkit.org/show_bug.cgi?id=90858
678
679         Reviewed Ryosuke Niwa.
680
681         Measure the memory usage of the performancetests with the help of the windows.memory.usedJSHeapSize
682         object and the window.internals.fastMallocStatistics() function call.
683
684         * resources/runner.js:
685         (PerfTestRunner.logStatistics):
686         (PerfTestRunner.printStatistics):
687         (PerfTestRunner.storeHeapResults):
688         (PerfTestRunner.getUsedFastMallocHeap):
689         (PerfTestRunner.getUsedJSHeap):
690         (PerfTestRunner.getAndPrintMemoryStatistics):
691         (PerfTestRunner.ignoreWarmUpAndLog):
692         (PerfTestRunner.initAndStartLoop):
693
694 2012-08-08  Benjamin Poulain  <benjamin@webkit.org>
695
696         Calling internals from the performance test runner prevents manual running
697         https://bugs.webkit.org/show_bug.cgi?id=93527
698
699         Reviewed by Ryosuke Niwa.
700
701         Since r125065, it is impossible to run the Performance tests manually. The problem is
702         "internals" is not defined when running outside the test runner, so the whole script
703         evaluation fails.
704
705         * resources/runner.js: Verify is window.internals is available before invoking something on it.
706
707 2012-08-08  Zoltan Horvath  <zoltan@webkit.org>
708
709         Set access to MemoryInfo enabled for the performance tests
710         https://bugs.webkit.org/show_bug.cgi?id=92498
711
712         Reviewed by Ryosuke Niwa.
713
714         We need access to console.memory for the memory measurements.
715
716         * resources/runner.js:
717
718 2012-08-07  Ryosuke Niwa  <rniwa@webkit.org>
719
720         run-perf-tests should support --no-show-results
721         https://bugs.webkit.org/show_bug.cgi?id=93409
722
723         Reviewed by Dirk Pranke.
724
725         Add a flot as a separate file and load it as an external resource.
726
727         Also include scripts as external resources from both local filesystem and webkit.org
728         so that it continues to work regardless of where you put it.
729
730         It breaks when someone else receives the file and save it somewhere and doesn't have
731         a network connection but that seems like a scenario we don't care that much.
732
733         * resources/jquery.flot.min.js: Added.
734         * resources/results-template.html:
735
736 2012-08-06  Ryosuke Niwa  <rniwa@webkit.org>
737
738         run-webkit-tests should have ability to add description to its JSON output
739         https://bugs.webkit.org/show_bug.cgi?id=93296
740
741         Reviewed by Dirk Pranke.
742
743         Parse description and show it with the WebKit revision on the results page. Also use bar graphs
744         instead of line graphs since we're not depicting the time series here per arv's suggestion.
745         Finally, add the ability to adjust y-axis between the adjusted value and 0 (plot even doesn't adjust
746         y-axis automatically now) by a mouse click.
747
748         * resources/results-template.html:
749
750 2012-08-04  Ryosuke Niwa  <rniwa@webkit.org>
751
752         Use testRunner instead of layoutTestController in performance tests
753         https://bugs.webkit.org/show_bug.cgi?id=93184
754
755         Reviewed by Adam Barth.
756
757         * Animation/balls.html:
758         * Dromaeo/resources/dromaeorunner.js:
759         * inspector/console-300-lines.html:
760         * inspector/inspector-startup-time.html:
761         * inspector/network-append-30-requests.html.broken:
762         * inspector/show-panel.html.broken:
763         * resources/runner.js:
764         (PerfTestRunner.logInfo):
765         (PerfTestRunner.initAndStartLoop):
766
767 2012-08-02  Arnaud Renevier  <a.renevier@sisa.samsung.com>
768
769         TypedArray set method is slow when called with another typed array
770         https://bugs.webkit.org/show_bug.cgi?id=92556
771
772         Reviewed by Kenneth Russell.
773
774         * Bindings/typed-array-set-from-typed.html: Added.
775
776 2012-07-28  Ryosuke Niwa  <rniwa@webkit.org>
777
778         run-perf-tests should generate a results page
779         https://bugs.webkit.org/show_bug.cgi?id=92575
780
781         Reviewed by Eric Seidel.
782
783         Add a results page template. This page includes flot and flot.fillbetween.
784         jQuery and the json that contains test results are injected by run-perf-tests.
785
786         * resources/results-template.html: Added.
787
788 2012-07-27  Arnaud Renevier  <a.renevier@sisa.samsung.com>
789
790         use createUninitialized when creating TypedArray from another array
791         https://bugs.webkit.org/show_bug.cgi?id=92518
792
793         Reviewed by Kenneth Russell.
794
795         * Bindings/typed-array-construct-from-array.html: Added.
796
797 2012-07-27  Ryosuke Niwa  <rniwa@webkit.org>
798
799         Add more Russian replay performance tests
800         https://bugs.webkit.org/show_bug.cgi?id=92462
801
802         Reviewed by Tony Chang.
803
804         Add more Russian sites as suggested by loislo.
805
806         * Replay/Russian/lenta.ru.replay: Added.
807         * Replay/Russian/www.ixbt.com.replay: Added.
808         * Replay/Russian/www.kp.ru.replay: Added.
809         * Replay/Russian/www.liveinternet.ru.replay: Added.
810         * Replay/Russian/www.pravda.ru.replay: Added.
811
812 2012-07-26  Arnaud Renevier  <a.renevier@sisa.samsung.com>
813
814         constructing TypedArray from another TypedArray is slow
815         https://bugs.webkit.org/show_bug.cgi?id=90838
816
817         Reviewed by Kenneth Russell.
818
819         * Bindings/typed-array-construct-from-same-type.html: Added.
820         * Bindings/typed-array-construct-from-typed.html: Added.
821
822 2012-07-25  Ryosuke Niwa  <rniwa@webkit.org>
823
824         Import more replay performance tests from Mozilla's Tp5 test suite
825         https://bugs.webkit.org/show_bug.cgi?id=92229
826
827         Reviewed by Andreas Kling.
828
829         Add more replay tests based on Mozilla's Tp5 test suite [1]. Unfortunately,
830         we cannot import all URLs because some of them are not archived on archive.org
831         and others do not replay well on web-page-replay. Nonethless, we're still adding
832         60+ URLs in this patch.
833
834         [1] http://people.mozilla.org/~jmaher/tp5.manifest
835
836         * Replay/Chinese: Added.
837         * Replay/Chinese/chinaz.com.replay: Added.
838         * Replay/Chinese/www.163.com.replay: Added.
839         * Replay/Chinese/www.alipay.com.replay: Added.
840         * Replay/Chinese/www.baidu.com.replay: Added.
841         * Replay/Chinese/www.csdn.net.replay: Added.
842         * Replay/Chinese/www.douban.com.replay: Added.
843         * Replay/Chinese/www.hao123.com.replay: Added.
844         * Replay/Chinese/www.xinhuanet.com.replay: Added.
845         * Replay/Chinese/www.xunlei.com.replay: Added.
846         * Replay/Chinese/www.youku.com.replay: Added.
847         * Replay/English: Added.
848         * Replay/English/beatonna.livejournal.com.replay: Added.
849         * Replay/English/cakewrecks.blogspot.com.replay: Added.
850         * Replay/English/chemistry.about.com.replay: Added.
851         * Replay/English/digg.com.replay: Added.
852         * Replay/English/en.wikipedia.org-rorschach_test.replay: Added.
853         * Replay/English/icanhascheezburger.com.replay: Added.
854         * Replay/English/imgur.com-gallery.replay: Added.
855         * Replay/English/online.wsj.com.replay: Added.
856         * Replay/English/stockoverflow.com-best-comment.replay: Added.
857         * Replay/English/www.alibaba.com.replay: Added.
858         * Replay/English/www.amazon.com-kindle.replay: Added.
859         * Replay/English/www.apple.com.replay: Added.
860         * Replay/English/www.cnet.com.replay: Added.
861         * Replay/English/www.dailymotion.com.replay: Added.
862         * Replay/English/www.ehow.com-prevent-fire.replay: Added.
863         * Replay/English/www.filestube.com-amy-adams.replay: Added.
864         * Replay/English/www.foxnews.replay: Added.
865         * Replay/English/www.huffingtonpost.com.replay: Added.
866         * Replay/English/www.imdb.com-twilight.replay: Added.
867         * Replay/English/www.mozilla.com-all-order.replay: Added.
868         * Replay/English/www.php.net.replay: Added.
869         * Replay/English/www.reddit.com.replay: Added.
870         * Replay/English/www.telegraph.co.uk.replay: Added.
871         * Replay/English/www.w3.org-htmlcss.replay: Added.
872         * Replay/English/www.w3schools.com-html.replay: Added.
873         * Replay/English/www.youtube.com-music.replay: Added.
874         * Replay/French: Added.
875         * Replay/French/www.orange.fr.replay: Added.
876         * Replay/German: Added.
877         * Replay/Italian: Added.
878         * Replay/Italian/www.repubblica.it.replay: Added.
879         * Replay/Japanese/entameblog.seesaa.net.replay: Added.
880         * Replay/Japanese/www.hatena.ne.jp.replay: Added.
881         * Replay/Japanese/www.nicovideo.jp.replay: Added.
882         * Replay/Korean: Added.
883         * Replay/Korean/www.naver.com.replay: Added.
884         * Replay/Persian: Added.
885         * Replay/Persian/blogfa.com.replay: Added.
886         * Replay/Polish: Added.
887         * Replay/Polish/www.wp.pl.replay: Added.
888         * Replay/Portuguese: Added.
889         * Replay/Portuguese/www.uol.com.br.replay: Added.
890         * Replay/Russian: Added.
891         * Replay/Russian/vkontakte.ru-help.replay: Added.
892         * Replay/Russian/www.rambler.ru.replay: Added.
893         * Replay/Russian/www.ucoz.ru.replay: Added.
894         * Replay/Russian/www.yandex.ru.replay: Added.
895         * Replay/Spanish: Added.
896         * Replay/Spanish/www.taringa.net.replay: Added.
897
898 2012-07-24  Ryosuke Niwa  <rniwa@webkit.org>
899
900         Add some Japanese and Swedish websites to replay tests
901         https://bugs.webkit.org/show_bug.cgi?id=92076
902
903         Reviewed by Andreas Kling.
904
905         Added new replay tests as follows.
906
907         * Replay/Japanese: Added.
908         * Replay/Japanese/2ch.net-newsplus.replay: Added.
909         * Replay/Japanese/ja.wikipedia.org.replay: Added.
910         * Replay/Japanese/www.livedoor.com.replay: Added.
911         * Replay/Japanese/www.rakuten.co.jp.replay: Added.
912         * Replay/Japanese/www.yahoo.co.jp.replay: Added.
913         * Replay/Swedish: Added.
914         * Replay/Swedish/www.flashback.se.replay: Added.
915         * Replay/Swedish/www.tradera.com.replay: Added.
916         * Replay/www.techcrunch.com.replay: Added.
917
918 2012-07-18  MORITA Hajime  <morrita@google.com>
919
920         Add window resize benchmark
921         https://bugs.webkit.org/show_bug.cgi?id=91070
922
923         Reviewed by Ryosuke Niwa.
924
925         Added window-resize.html which exercise html5.html. This test
926         resizes the window and forces re-layout repeatedly.
927
928         * Interactive/resources/window-resize.js: Added.
929         * Interactive/window-resize.html: Added.
930         * Parser/resources/html5.html: Modified to inject driver scripts.
931
932 2012-07-11  Philip Rogers  <pdr@google.com>
933
934         Add a performance test for hit testing in SVG
935         https://bugs.webkit.org/show_bug.cgi?id=90811
936
937         Reviewed by Ryosuke Niwa.
938
939         The shape rendering code is changing a lot and I'd like a performance test to
940         make sure we don't regress, and to track our improvements.
941
942         Performance results in my Linux desktop:
943             RESULT SVG: SvgHitTesting= 105.0 ms
944             median= 103.5 ms, stdev= 4.60434577329 ms, min= 101.0 ms, max= 116.0 ms
945
946             RESULT SVG: SvgHitTesting= 97.8 ms
947             median= 96.5 ms, stdev= 2.67581763205 ms, min= 95.0 ms, max= 102.0 ms
948
949             RESULT SVG: SvgHitTesting= 104.3 ms
950             median= 104.0 ms, stdev= 1.41774468788 ms, min= 102.0 ms, max= 107.0 ms
951
952             RESULT SVG: SvgHitTesting= 103.6 ms
953             median= 103.5 ms, stdev= 1.2 ms, min= 102.0 ms, max= 106.0 ms
954
955         * SVG/SvgHitTesting.html: Added.
956
957 2012-07-03  Jan Keromnes  <janx@linux.com>
958
959         Web Inspector: WebInspector.TextViewer should be renamed WebInspector.TextEditor
960         https://bugs.webkit.org/show_bug.cgi?id=89939
961
962         Reviewed by Vsevolod Vlasov.
963
964         * inspector/first-open-scripts.html.broken:
965
966 2012-06-22  Philip Rogers  <pdr@google.com>
967
968         Make SvgCubics performance test more consistent
969         https://bugs.webkit.org/show_bug.cgi?id=89778
970
971         Reviewed by Ryosuke Niwa.
972
973         Previously this test ran twice for each iteration, but this led to inconsistent repaints.
974         This change updates the test to only run once per iteration, and adds even more cubics
975         so that the test runs consistently in the 80ms range on my Linux desktop.
976
977         Performance results on my desktop:
978             RESULT SVG: SvgCubics= 80.5 ms
979             median= 82.0 ms, stdev= 3.04138126515 ms, min= 75.0 ms, max= 85.0 ms
980
981             RESULT SVG: SvgCubics= 80.1 ms
982             median= 81.0 ms, stdev= 4.27668095607 ms, min= 74.0 ms, max= 88.0 ms
983
984             RESULT SVG: SvgCubics= 81.45 ms
985             median= 83.0 ms, stdev= 4.01839520207 ms, min= 75.0 ms, max= 89.0 ms
986
987             RESULT SVG: SvgCubics= 78.9 ms
988             median= 80.0 ms, stdev= 4.75289385533 ms, min= 72.0 ms, max= 87.0 ms
989
990         * SVG/SvgCubics.html:
991
992 2012-06-22  Ilya Tikhonovsky  <loislo@chromium.org>
993
994         Web Inspector: partially instrument DOM Tree native memory.
995         https://bugs.webkit.org/show_bug.cgi?id=89568
996
997         This patch adds MemoryInstrumentation class that counts all visited
998         objects and calls reportMemoryUsage.
999
1000         Reviewed by Yury Semikhatsky.
1001
1002         * inspector/native-memory-snapshot.html:
1003
1004 2012-06-21  Kentaro Hara  <haraken@chromium.org>
1005
1006         Add a perf-test for innerHTML setter for a large DOM tree
1007         https://bugs.webkit.org/show_bug.cgi?id=89723
1008
1009         Reviewed by Ryosuke Niwa.
1010
1011         We want a benchmark for innerHTML setter for the following reason:
1012
1013         - innerHTML setter is widely used in the real world.
1014         - I am planning to optimize innerHTML setter in the near future.
1015         - I want to use the innerHTML setter benchmark for the patch of bug 88834.
1016
1017         Performance results in my Linux desktop:
1018
1019         RESULT Parser: innerHTML-setter= 289.782649995 runs/s
1020         median= 290.046269741 runs/s, stdev= 1.06575112224 runs/s, min= 286.831812256 runs/s, max= 291.005291005 runs/s
1021
1022         RESULT Parser: innerHTML-setter= 289.020706132 runs/s
1023         median= 289.093298292 runs/s, stdev= 0.985203313093 runs/s, min= 286.831812256 runs/s, max= 290.620871863 runs/s
1024
1025         RESULT Parser: innerHTML-setter= 288.912051701 runs/s
1026         median= 291.005291005 runs/s, stdev= 3.65241325588 runs/s, min= 283.505154639 runs/s, max= 292.553191489 runs/s
1027
1028         RESULT Parser: innerHTML-setter= 288.644186666 runs/s
1029         median= 288.713910761 runs/s, stdev= 1.31889053717 runs/s, min= 286.085825748 runs/s, max= 290.620871863 runs/s
1030
1031         RESULT Parser: innerHTML-setter= 288.698714577 runs/s
1032         median= 288.713910761 runs/s, stdev= 1.03938198202 runs/s, min= 286.458333333 runs/s, max= 290.237467018 runs/s
1033
1034         * Parser/innerHTML-setter.html: Added.
1035
1036 2012-06-20  Philip Rogers  <pdr@google.com>
1037
1038         Add a performance test for paths in SVG
1039         https://bugs.webkit.org/show_bug.cgi?id=89547
1040
1041         Reviewed by Ryosuke Niwa.
1042
1043         This change adds the first performance test for SVG paths.
1044         In the test we modify complex cubic paths in several ways, testing:
1045         transformations, clipping, d attribute changes, stroke properties,
1046         text on a path, and opacity.
1047
1048         Sample test results on my Linux desktop:
1049             RESULT SVG: SvgCubics= 68.85 ms
1050             median= 69.5 ms, stdev= 4.70398767005 ms, min= 56.0 ms, max= 75.0 ms
1051
1052             RESULT SVG: SvgCubics= 68.4 ms
1053             median= 69.0 ms, stdev= 3.51283361405 ms, min= 59.0 ms, max= 74.0 ms
1054
1055             RESULT SVG: SvgCubics= 66.95 ms
1056             median= 67.0 ms, stdev= 3.4420197559 ms, min= 59.0 ms, max= 74.0 ms
1057
1058             RESULT SVG: SvgCubics= 70.2 ms
1059             median= 71.5 ms, stdev= 3.23419232576 ms, min= 63.0 ms, max= 74.0 ms
1060
1061         * SVG: Added.
1062         * SVG/SvgCubics.html: Added.
1063
1064 2012-06-20  Tom Zakrajsek  <tomz@codeaurora.org>
1065
1066         Import themaninblue.com/experiment/AnimationBenchmark/ as performance tests
1067         https://bugs.webkit.org/show_bug.cgi?id=78789
1068
1069         Reviewed by Ryosuke Niwa.
1070
1071         Added PerfTestRunner fixture around it.
1072
1073         * Animation/balls.html: Added.
1074
1075 2012-06-18  Ilya Tikhonovsky  <loislo@chromium.org>
1076
1077         Web Inspector: native memory snapshot performance and coverage test implementation.
1078         https://bugs.webkit.org/show_bug.cgi?id=89363
1079
1080         We have to track the performance of MemoryAgent.getProcessMemoryDistribution.
1081         Also this test will work as a burn down chart for Unknown memory metric.
1082
1083         Reviewed by Pavel Feldman.
1084
1085         * inspector/native-memory-snapshot.html: Added.
1086         * inspector/performance-test.js:
1087         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer):
1088         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.reportSize):
1089         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._dump):
1090         (initialize_TimeTracker.InspectorTest.runPerformanceTest):
1091
1092 2012-06-05  Alexei Filippov  <alexeif@chromium.org>
1093
1094         Web Inspector: serialize edge counts instead of indexes in heap snapshot
1095         https://bugs.webkit.org/show_bug.cgi?id=88324
1096
1097         The serialized node structure currently holds an index
1098         of its first containment edge in the edges array.
1099         The index can be quite big (up to 7 digits for large snapshots).
1100         The patch changes the serialization format to pass
1101         node containment edge count instead. For most nodes the count
1102         is just a single digit number.
1103         This reduces serialized snapshot size and therefore its transfer time.
1104
1105         Reviewed by Yury Semikhatsky.
1106
1107         * inspector/heap-snapshot-performance-test.js:
1108
1109 2012-06-04  Alexei Filippov  <alexeif@chromium.org>
1110
1111         Web Inspector: speed up _calculateRetainedSizes function
1112         https://bugs.webkit.org/show_bug.cgi?id=87863
1113
1114         Reviewed by Yury Semikhatsky.
1115
1116         * inspector/heap-snapshot-advanced.html: Added.
1117         * inspector/heap-snapshot-performance-test.js: Copied from PerformanceTests/inspector/heap-snapshot.html.
1118         (test.performanceTest.step0):
1119         (test.performanceTest.step1):
1120         (test.performanceTest.step2):
1121         (test.performanceTest.cleanup):
1122         (test.performanceTest.done):
1123         (test.performanceTest):
1124         (test):
1125         * inspector/heap-snapshot.html:
1126
1127 2012-06-03  Kentaro Hara  <haraken@chromium.org>
1128
1129         [perf-test] Add a benchmark of querySelector() for an element that appears in the depths in the document
1130         https://bugs.webkit.org/show_bug.cgi?id=88202
1131
1132         Reviewed by Ryosuke Niwa.
1133
1134         query-selector-first.html tests querySelector() for an element
1135         that appears at the head of the document. query-selector-last.html
1136         tests querySelector() for an element that appears at the tail of
1137         the document. In addition, we want a benchmark of querySelector()
1138         for an element that appears in the depths in the document.
1139
1140         Test results in my Linux desktop:
1141
1142         RESULT Parser: query-selector-deep= 460.776980611 runs/s
1143         median= 460.947503201 runs/s, stdev= 1.72274941942 runs/s, min= 455.696202532 runs/s, max= 463.32046332 runs/s
1144
1145         RESULT Parser: query-selector-deep= 458.925050915 runs/s
1146         median= 459.183673469 runs/s, stdev= 1.47930124139 runs/s, min= 454.545454545 runs/s, max= 460.947503201 runs/s
1147
1148         RESULT Parser: query-selector-deep= 461.866981491 runs/s
1149         median= 461.538461538 runs/s, stdev= 1.14613123359 runs/s, min= 459.183673469 runs/s, max= 463.917525773 runs/s
1150
1151         RESULT Parser: query-selector-deep= 453.922010788 runs/s
1152         median= 454.258855898 runs/s, stdev= 1.77279123317 runs/s, min= 447.204968944 runs/s, max= 455.696202532 runs/s
1153
1154         RESULT Parser: query-selector-deep= 454.666321221 runs/s
1155         median= 454.545454545 runs/s, stdev= 1.65775667417 runs/s, min= 451.127819549 runs/s, max= 456.852791878 runs/s
1156
1157         * Parser/query-selector-deep.html: Added.
1158
1159 2012-06-03  Kentaro Hara  <haraken@chromium.org>
1160
1161         [perf-test] Make query-selector-last.html more realistic
1162         https://bugs.webkit.org/show_bug.cgi?id=88203
1163
1164         Reviewed by Ryosuke Niwa.
1165
1166         query-selector-last.html tests querySelector() for an element
1167         that appears after 1000 div elements, all of which have the same
1168         id and class. To test the performance of querySelector() under
1169         a lot of ids and classes, we should make the ids and classes of
1170         the 1000 elements different.
1171
1172         This patch degrades the performance of query-selector-last.html
1173         by 3.6%.
1174
1175         [Before]
1176         RESULT Parser: query-selector-last= 476.382274152 runs/s
1177         median= 476.821192053 runs/s, stdev= 1.14578875814 runs/s, min= 474.308300395 runs/s, max= 478.087649402 runs/s
1178
1179         RESULT Parser: query-selector-last= 478.423061861 runs/s
1180         median= 478.723404255 runs/s, stdev= 1.54876867255 runs/s, min= 473.684210526 runs/s, max= 481.347773767 runs/s
1181
1182         RESULT Parser: query-selector-last= 479.849287174 runs/s
1183         median= 480.0 runs/s, stdev= 1.69849752498 runs/s, min= 475.561426684 runs/s, max= 481.927710843 runs/s
1184
1185         RESULT Parser: query-selector-last= 476.765438846 runs/s
1186         median= 477.453580902 runs/s, stdev= 1.8724488664 runs/s, min= 471.821756225 runs/s, max= 478.723404255 runs/s
1187
1188         RESULT Parser: query-selector-last= 481.715340644 runs/s
1189         median= 481.637742305 runs/s, stdev= 1.81446361145 runs/s, min= 475.561426684 runs/s, max= 483.675937122 runs/s
1190
1191         [After]
1192         RESULT Parser: query-selector-last= 458.866623582 runs/s
1193         median= 459.183673469 runs/s, stdev= 1.48881464737 runs/s, min= 453.972257251 runs/s, max= 460.947503201 runs/s
1194
1195         RESULT Parser: query-selector-last= 460.363532897 runs/s
1196         median= 460.358056266 runs/s, stdev= 1.58512056995 runs/s, min= 456.273764259 runs/s, max= 462.130937099 runs/s
1197
1198         RESULT Parser: query-selector-last= 457.727448451 runs/s
1199         median= 458.015267176 runs/s, stdev= 1.23681915516 runs/s, min= 453.972257251 runs/s, max= 459.183673469 runs/s
1200
1201         RESULT Parser: query-selector-last= 465.57336853 runs/s
1202         median= 465.717981889 runs/s, stdev= 1.6616925374 runs/s, min= 460.947503201 runs/s, max= 467.532467532 runs/s
1203
1204         RESULT Parser: query-selector-last= 459.836252019 runs/s
1205         median= 459.770114943 runs/s, stdev= 1.84485630505 runs/s, min= 455.696202532 runs/s, max= 462.724935733 runs/s
1206
1207         * Parser/query-selector-last.html:
1208
1209 2012-06-01  Ryosuke Niwa  <rniwa@webkit.org>
1210
1211         Add public page loading performance tests using web-page-replay
1212         https://bugs.webkit.org/show_bug.cgi?id=84008
1213
1214         Reviewed by Dirk Pranke.
1215
1216         Add replay tests for google.com and youtube.com as examples.
1217
1218         * Replay: Added.
1219         * Replay/www.google.com.replay: Added.
1220         * Replay/www.youtube.com.replay: Added.
1221
1222 2012-05-30  Kentaro Hara  <haraken@chromium.org>
1223
1224         [perf-test] Add a benchmark for querySelector()
1225         https://bugs.webkit.org/show_bug.cgi?id=87742
1226
1227         Reviewed by Ryosuke Niwa.
1228
1229         Now I am optimizing querySelector() (bug 87625).
1230         This patch adds a performance test for querySelector().
1231         query-selector-first.html queries an element that appears
1232         at the head of the document. On the other hand,
1233         query-selector-last.html queries an element that appears
1234         at the tail of the document.
1235
1236         Test results in my desktop:
1237
1238         [query-selector-first.html]
1239         RESULT Parser: query-selector-first= 252.339803014 runs/s
1240         median= 253.646265594 runs/s, stdev= 2.32610873209 runs/s, min= 248.138957816 runs/s, max= 254.777070064 runs/s
1241
1242         RESULT Parser: query-selector-first= 252.688468897 runs/s
1243         median= 252.684876579 runs/s, stdev= 3.60008778708 runs/s, min= 246.002460025 runs/s, max= 258.397932817 runs/s
1244
1245         RESULT Parser: query-selector-first= 253.466019656 runs/s
1246         median= 254.129606099 runs/s, stdev= 1.78002675664 runs/s, min= 247.831474597 runs/s, max= 254.777070064 runs/s
1247
1248         RESULT Parser: query-selector-first= 256.245078189 runs/s
1249         median= 257.06940874 runs/s, stdev= 2.84722072201 runs/s, min= 249.687890137 runs/s, max= 259.74025974 runs/s
1250
1251         RESULT Parser: query-selector-first= 252.203100497 runs/s
1252         median= 252.047989175 runs/s, stdev= 1.75233446036 runs/s, min= 248.138957816 runs/s, max= 255.427841635 runs/s
1253
1254         [query-selector-last.html]
1255         RESULT Parser: query-selector-last= 356.009616076 runs/s
1256         median= 355.781448539 runs/s, stdev= 0.841519086864 runs/s, min= 354.430379747 runs/s, max= 358.056265985 runs/s
1257
1258         RESULT Parser: query-selector-last= 360.735271001 runs/s
1259         median= 361.057532424 runs/s, stdev= 1.12253219867 runs/s, min= 358.514724712 runs/s, max= 362.225097025 runs/s
1260
1261         RESULT Parser: query-selector-last= 359.598592463 runs/s
1262         median= 359.435173299 runs/s, stdev= 0.816538258728 runs/s, min= 358.056265985 runs/s, max= 360.824742268 runs/s
1263
1264         RESULT Parser: query-selector-last= 357.260651715 runs/s
1265         median= 357.598978289 runs/s, stdev= 1.17393159885 runs/s, min= 353.982300885 runs/s, max= 358.974358974 runs/s
1266
1267         RESULT Parser: query-selector-last= 351.696240713 runs/s
1268         median= 351.980025916 runs/s, stdev= 1.14200564038 runs/s, min= 348.692403487 runs/s, max= 353.535353535 runs/s
1269
1270         * Parser/query-selector-first.html: Added.
1271         * Parser/query-selector-last.html: Added.
1272
1273 2012-05-25  Ilya Tikhonovsky  <loislo@chromium.org>
1274
1275         Web Inspector: HeapSnapshot: introduce performance counter for HeapSnapshotConstructorsDataGrid._aggregatesReceived method.
1276         https://bugs.webkit.org/show_bug.cgi?id=87393
1277
1278         Reviewed by Yury Semikhatsky.
1279
1280         * inspector/heap-snapshot.html:
1281
1282 2012-05-25  Ilya Tikhonovsky  <loislo@chromium.org>
1283
1284         Web Inspector: HeapProfiler's perf test: each N-th run pushes the run results N-th times.
1285         https://bugs.webkit.org/show_bug.cgi?id=87476
1286
1287         The time tracking wrappers were attaching on each run.
1288
1289         Reviewed by Yury Semikhatsky.
1290
1291         * inspector/heap-snapshot.html:
1292
1293 2012-05-22  Ilya Tikhonovsky  <loislo@chromium.org>
1294
1295         Web Inspector: HeapProfiler: upstream retainedSize calculation.
1296         https://bugs.webkit.org/show_bug.cgi?id=87107
1297
1298         This patch upstreams V8::HeapSnapshotGenerator::CalculateRetainedSizes function to front-end.
1299         After that we will be able to drop retainedSize field from the snapshot serialized data.
1300         See meta-bug https://bugs.webkit.org/show_bug.cgi?id=87089
1301
1302         Reviewed by Yury Semikhatsky.
1303
1304         * inspector/heap-snapshot.html: add counter for the _calculateRetainedSize method.
1305
1306 2012-05-21  Kent Tamura  <tkent@chromium.org>
1307
1308         Add performance tests for <textarea>
1309         https://bugs.webkit.org/show_bug.cgi?id=86994
1310
1311         Reviewed by Ryosuke Niwa.
1312
1313         * DOM/textarea-dom.html: Added.
1314         * DOM/textarea-edit.html: Added.
1315         * Parser/textarea-parsing.html: Added.
1316
1317 2012-05-18  Ilya Tikhonovsky  <loislo@chromium.org>
1318
1319         Web Inspector: upstream build dominators tree procedure from v8.
1320         https://bugs.webkit.org/show_bug.cgi?id=86640
1321
1322         The idea is to reduce transfer size and move all the post-processing steps to the front-end.
1323         The JS implementation is ~1.5 times slower.
1324
1325         Reviewed by Yury Semikhatsky.
1326
1327         Covered by existing tests and performance tests.
1328
1329         * inspector/heap-snapshot.html:
1330
1331 2012-05-18  Kentaro Hara  <haraken@chromium.org>
1332
1333         [perf-test] Remove Bindings/dom-attributes.html
1334         https://bugs.webkit.org/show_bug.cgi?id=86820
1335
1336         Reviewed by Ryosuke Niwa.
1337
1338         Bindings/dom-attributes.html is just a collection of random
1339         DOM attributes and methods. Now we've added more reasonable
1340         micro benchmarks by classifying DOM binding call paths, we
1341         can remove Bindings/dom-attributes.html.
1342
1343         * Bindings/dom-attributes.html: Removed.
1344
1345 2012-05-18  Kentaro Hara  <haraken@chromium.org>
1346
1347         [perf-test] Add a binding benchmark for getElementById() for an undefined id
1348         https://bugs.webkit.org/show_bug.cgi?id=86812
1349
1350         Reviewed by Ryosuke Niwa.
1351
1352         We should remove Bindings/dom-attributes.html and instead add more
1353         reasonable micro benchmarks by classifying DOM binding call paths.
1354
1355         This patch adds a benchmark for document.getElementById() for an undefined id.
1356         This benchmark covers 'getElementById (not in document)' in Dromaeo/dom-query.html,
1357         and other Node-query methods that return a null.'
1358
1359         (Note: This benchmark is slower than document.getElementById() for a defined id.
1360         We will fix the performance issue soon.)
1361
1362         Test results in my Linux desktop:
1363
1364         RESULT Bindings: undefined-get-element-by-id= 271.945751345 runs/s
1365         median= 273.122389532 runs/s, stdev= 6.78219237299 runs/s, min= 257.4002574 runs/s, max= 281.690140845 runs/s
1366
1367         RESULT Bindings: undefined-get-element-by-id= 269.105872408 runs/s
1368         median= 268.948655257 runs/s, stdev= 5.73707323755 runs/s, min= 257.4002574 runs/s, max= 278.128950695 runs/s
1369
1370         RESULT Bindings: undefined-get-element-by-id= 269.987513372 runs/s
1371         median= 272.952853598 runs/s, stdev= 5.30252336078 runs/s, min= 255.754475703 runs/s, max= 273.97260274 runs/s
1372
1373         RESULT Bindings: undefined-get-element-by-id= 270.169625901 runs/s
1374         median= 271.604938272 runs/s, stdev= 5.29502391906 runs/s, min= 258.064516129 runs/s, max= 278.481012658 runs/s
1375
1376         RESULT Bindings: undefined-get-element-by-id= 269.054631422 runs/s
1377         median= 267.966292802 runs/s, stdev= 6.27197240579 runs/s, min= 258.064516129 runs/s, max= 278.481012658 runs/s
1378
1379         * Bindings/undefined-get-element-by-id.html: Added.
1380
1381 2012-05-18  Kentaro Hara  <haraken@chromium.org>
1382
1383         [perf-test] Add a binding benchmark for getElementsByTagName()
1384         https://bugs.webkit.org/show_bug.cgi?id=86810
1385
1386         Reviewed by Ryosuke Niwa.
1387
1388         We should remove Bindings/dom-attributes.html and instead add more
1389         reasonable micro benchmarks by classifying DOM binding call paths.
1390
1391         This patch adds a benchmark for document.getElementsByTagName().
1392         This benchmark covers 'getElementsByTagName (not in document)',
1393         'getElementsByTagName', 'getElementsByName (not in document)'
1394         and 'getElementsByName' in Dromaeo/dom-query.html, and other DOM
1395         methods that return a NodeList.
1396
1397         Test results in my Linux desktop:
1398
1399         RESULT Bindings: get-elements-by-tag-name= 364.542328875 runs/s
1400         median= 366.972477064 runs/s, stdev= 5.25387955333 runs/s, min= 351.317440402 runs/s, max= 368.421052632 runs/s
1401
1402         RESULT Bindings: get-elements-by-tag-name= 364.341569369 runs/s
1403         median= 366.492146597 runs/s, stdev= 4.867374197 runs/s, min= 352.644836272 runs/s, max= 367.936925099 runs/s
1404
1405         RESULT Bindings: get-elements-by-tag-name= 363.924242967 runs/s
1406         median= 366.013071895 runs/s, stdev= 5.16768212289 runs/s, min= 351.317440402 runs/s, max= 367.936925099 runs/s
1407
1408         RESULT Bindings: get-elements-by-tag-name= 365.332594438 runs/s
1409         median= 367.454068241 runs/s, stdev= 6.17046918572 runs/s, min= 350.0 runs/s, max= 370.37037037 runs/s
1410
1411         RESULT Bindings: get-elements-by-tag-name= 363.999514324 runs/s
1412         median= 366.492146597 runs/s, stdev= 5.31235674905 runs/s, min= 350.877192982 runs/s, max= 368.421052632 runs/s
1413
1414         * Bindings/get-elements-by-tag-name.html: Added.
1415
1416 2012-05-18  Kentaro Hara  <haraken@chromium.org>
1417
1418         [perf-test] Add 7 micro benchmarks for DOM bindings
1419         https://bugs.webkit.org/show_bug.cgi?id=86816
1420
1421         Reviewed by Ryosuke Niwa.
1422
1423         We should remove Bindings/dom-attributes.html and instead add more
1424         reasonable micro benchmarks by classifying DOM binding call paths.
1425         This patch adds seven micro benchmarks for DOM bindings.
1426
1427         id-getter.html covers 'element.property' in Dromaeo/dom-attr.html,
1428         'innerHTML' in Dromaeo/dom-modify.html, and other DOM attributes that
1429         return a String.
1430
1431         id-setter.html covers 'element.property = value' in Dromaeo/dom-attr.html,
1432         and other DOM attributes that sets a String.
1433
1434         undefined-id-getter.html covers undefined DOM attributes that return an empty String.
1435
1436         append-child.html covers 'appendChild' and 'removeChild' in Dromaeo/dom-modify.html.
1437
1438         insert-before.html covers 'insertBefore' in Dromaeo/dom-modify.html and replaceChild().
1439
1440         create-element.html covers 'createElement', 'createTextNode' and 'cloneNode'
1441         in Dromaeo/dom-modify.html, and other DOM methods that return a new Node object.
1442
1443         node-list-access.html covers 'childNodes' in Dromaeo/dom-traverse.html,
1444         and other DOM attributes that access NodeList.
1445
1446         Test results in my Linux desktop:
1447
1448         [id-getter]
1449         RESULT Bindings: id-getter= 550.517821097 runs/s
1450         median= 550.688360451 runs/s, stdev= 0.970723739106 runs/s, min= 548.628428928 runs/s, max= 552.070263488 runs/s
1451
1452         RESULT Bindings: id-getter= 550.655839847 runs/s
1453         median= 550.688360451 runs/s, stdev= 1.03312821884 runs/s, min= 549.313358302 runs/s, max= 552.070263488 runs/s
1454
1455         RESULT Bindings: id-getter= 550.277753355 runs/s
1456         median= 550.344180225 runs/s, stdev= 1.19960683464 runs/s, min= 547.945205479 runs/s, max= 552.070263488 runs/s
1457
1458         RESULT Bindings: id-getter= 550.072271009 runs/s
1459         median= 550.344180225 runs/s, stdev= 1.38925152131 runs/s, min= 547.263681592 runs/s, max= 552.070263488 runs/s
1460
1461         RESULT Bindings: id-getter= 548.802050235 runs/s
1462         median= 548.628428928 runs/s, stdev= 1.18244513683 runs/s, min= 545.905707196 runs/s, max= 550.688360451 runs/s
1463
1464         [id-setter]
1465         RESULT Bindings: id-setter= 211.370591663 runs/s
1466         median= 210.803689065 runs/s, stdev= 1.4555795889 runs/s, min= 209.973753281 runs/s, max= 214.285714286 runs/s
1467
1468         RESULT Bindings: id-setter= 215.439081352 runs/s
1469         median= 214.797136038 runs/s, stdev= 1.50920388121 runs/s, min= 213.049267643 runs/s, max= 218.446601942 runs/s
1470
1471         RESULT Bindings: id-setter= 216.721698466 runs/s
1472         median= 215.956886352 runs/s, stdev= 1.54090749644 runs/s, min= 214.285714286 runs/s, max= 219.78021978 runs/s
1473
1474         RESULT Bindings: id-setter= 216.343019087 runs/s
1475         median= 215.827338129 runs/s, stdev= 1.46619894553 runs/s, min= 215.053763441 runs/s, max= 218.97810219 runs/s
1476
1477         RESULT Bindings: id-setter= 216.799288017 runs/s
1478         median= 215.956886352 runs/s, stdev= 1.49100776978 runs/s, min= 215.311004785 runs/s, max= 219.78021978 runs/s
1479
1480         [undefined-id-getter]
1481         RESULT Bindings: undefined-id-getter= 494.104255241 runs/s
1482         median= 494.132368875 runs/s, stdev= 1.13092821109 runs/s, min= 490.797546012 runs/s, max= 495.662949195 runs/s
1483
1484         RESULT Bindings: undefined-id-getter= 493.921802916 runs/s
1485         median= 493.827160494 runs/s, stdev= 1.25097443119 runs/s, min= 490.196078431 runs/s, max= 495.662949195 runs/s
1486
1487         RESULT Bindings: undefined-id-getter= 491.976485667 runs/s
1488         median= 492.004920049 runs/s, stdev= 0.947090576896 runs/s, min= 490.196078431 runs/s, max= 493.827160494 runs/s
1489
1490         RESULT Bindings: undefined-id-getter= 491.987710185 runs/s
1491         median= 494.132368875 runs/s, stdev= 8.66602543327 runs/s, min= 454.545454545 runs/s, max= 495.662949195 runs/s
1492
1493         RESULT Bindings: undefined-id-getter= 494.195515847 runs/s
1494         median= 494.437577256 runs/s, stdev= 1.06135681702 runs/s, min= 490.797546012 runs/s, max= 495.662949195 runs/s
1495
1496         [append-child]
1497         RESULT Bindings: append-child= 260.628237026 runs/s
1498         median= 260.926399352 runs/s, stdev= 2.55231060598 runs/s, min= 256.739409499 runs/s, max= 265.604249668 runs/s
1499
1500         RESULT Bindings: append-child= 280.796193436 runs/s
1501         median= 280.791435348 runs/s, stdev= 2.53961321867 runs/s, min= 277.427490542 runs/s, max= 286.085825748 runs/s
1502
1503         RESULT Bindings: append-child= 279.856209714 runs/s
1504         median= 280.25477707 runs/s, stdev= 2.85447647301 runs/s, min= 275.344180225 runs/s, max= 284.237726098 runs/s
1505
1506         RESULT Bindings: append-child= 280.834502714 runs/s
1507         median= 280.25477707 runs/s, stdev= 2.67738046429 runs/s, min= 277.427490542 runs/s, max= 287.206266319 runs/s
1508
1509         RESULT Bindings: append-child= 274.723872106 runs/s
1510         median= 273.291925466 runs/s, stdev= 3.03671746706 runs/s, min= 272.614622057 runs/s, max= 282.413350449 runs/s
1511
1512         [insert-before]
1513         RESULT Bindings: insert-before= 180.986913006 runs/s
1514         median= 180.878552972 runs/s, stdev= 0.758038687299 runs/s, min= 180.18018018 runs/s, max= 183.968462549 runs/s
1515
1516         RESULT Bindings: insert-before= 186.339916144 runs/s
1517         median= 186.170212766 runs/s, stdev= 0.869022097127 runs/s, min= 185.676392573 runs/s, max= 189.798339265 runs/s
1518
1519         RESULT Bindings: insert-before= 189.45344838 runs/s
1520         median= 189.349112426 runs/s, stdev= 0.811854866567 runs/s, min= 187.79342723 runs/s, max= 192.539109507 runs/s
1521
1522         RESULT Bindings: insert-before= 189.363295991 runs/s
1523         median= 189.349112426 runs/s, stdev= 0.75387713097 runs/s, min= 188.014101058 runs/s, max= 192.076830732 runs/s
1524
1525         RESULT Bindings: insert-before= 189.252041642 runs/s
1526         median= 189.349112426 runs/s, stdev= 0.840447225363 runs/s, min= 187.573270809 runs/s, max= 192.076830732 runs/s
1527
1528         [create-element]
1529         RESULT Bindings: create-element= 280.675830077 runs/s
1530         median= 280.701824914 runs/s, stdev= 0.788606343054 runs/s, min= 279.441117764 runs/s, max= 282.542885974 runs/s
1531
1532         RESULT Bindings: create-element= 276.427631436 runs/s
1533         median= 277.227722772 runs/s, stdev= 3.39874667549 runs/s, min= 262.417994377 runs/s, max= 279.162512463 runs/s
1534
1535         RESULT Bindings: create-element= 277.156894411 runs/s
1536         median= 277.227722772 runs/s, stdev= 1.13255119226 runs/s, min= 274.914089347 runs/s, max= 278.884462151 runs/s
1537
1538         RESULT Bindings: create-element= 278.066825356 runs/s
1539         median= 278.191822254 runs/s, stdev= 0.686497782792 runs/s, min= 276.953511375 runs/s, max= 279.162512463 runs/s
1540
1541         RESULT Bindings: create-element= 276.431538109 runs/s
1542         median= 276.406712734 runs/s, stdev= 0.759593662298 runs/s, min= 275.229357798 runs/s, max= 278.053624628 runs/s
1543
1544         [node-list-access]
1545         RESULT Bindings: node-list-access= 222.747504073 runs/s
1546         median= 222.772277228 runs/s, stdev= 0.789027527555 runs/s, min= 221.674876847 runs/s, max= 224.159402242 runs/s
1547
1548         RESULT Bindings: node-list-access= 220.722448287 runs/s
1549         median= 221.266217576 runs/s, stdev= 1.65463497875 runs/s, min= 217.391304348 runs/s, max= 222.222222222 runs/s
1550
1551         RESULT Bindings: node-list-access= 222.195870443 runs/s
1552         median= 222.222222222 runs/s, stdev= 0.489709262091 runs/s, min= 221.13022113 runs/s, max= 223.048327138 runs/s
1553
1554         RESULT Bindings: node-list-access= 221.431121677 runs/s
1555         median= 221.538545435 runs/s, stdev= 0.608292116087 runs/s, min= 220.048899756 runs/s, max= 222.772277228 runs/s
1556
1557         RESULT Bindings: node-list-access= 219.001367135 runs/s
1558         median= 221.538545435 runs/s, stdev= 4.65773933007 runs/s, min= 209.973753281 runs/s, max= 222.496909765 runs/s
1559
1560         * Bindings/append-child.html: Added.
1561         * Bindings/create-element.html: Added.
1562         * Bindings/id-getter.html: Added.
1563         * Bindings/id-setter.html: Added.
1564         * Bindings/insert-before.html: Added.
1565         * Bindings/node-list-access.html: Added.
1566         * Bindings/undefined-id-getter.html: Added.
1567
1568 2012-05-18  Kentaro Hara  <haraken@chromium.org>
1569
1570         [perf-test] Add a binding benchmark for div.setAttribute()
1571         https://bugs.webkit.org/show_bug.cgi?id=86815
1572
1573         Reviewed by Ryosuke Niwa.
1574
1575         We should remove Bindings/dom-attributes.html and instead add more
1576         reasonable micro benchmarks by classifying DOM binding call paths.
1577
1578         This patch adds a benchmark for div.setAttribute(). This benchmark
1579         covers 'setAttribute' in Dromaeo/dom-attr.html and other DOM methods
1580         that return an undefined.
1581
1582         Test results in my Linux desktop:
1583
1584         RESULT Bindings: set-attribute= 793.745073252 runs/s
1585         median= 791.589665765 runs/s, stdev= 6.00467159709 runs/s, min= 785.27607362 runs/s, max= 808.080808081 runs/s
1586
1587         RESULT Bindings: set-attribute= 790.858444164 runs/s
1588         median= 787.918921436 runs/s, stdev= 7.86264953655 runs/s, min= 780.234070221 runs/s, max= 806.04534005 runs/s
1589
1590         RESULT Bindings: set-attribute= 787.277571417 runs/s
1591         median= 784.31372549 runs/s, stdev= 7.45363346657 runs/s, min= 778.588807786 runs/s, max= 804.020100503 runs/s
1592
1593         RESULT Bindings: set-attribute= 782.401393791 runs/s
1594         median= 779.062978802 runs/s, stdev= 6.48250081621 runs/s, min= 777.642770352 runs/s, max= 796.019900498 runs/s
1595
1596         RESULT Bindings: set-attribute= 791.792516608 runs/s
1597         median= 791.556728232 runs/s, stdev= 6.49182980397 runs/s, min= 779.220779221 runs/s, max= 808.080808081 runs/s
1598
1599         * Bindings/set-attribute.html: Added.
1600
1601 2012-05-17  Kentaro Hara  <haraken@chromium.org>
1602
1603         [perf-test] Add a binding benchmark for div.getAttribute()
1604         https://bugs.webkit.org/show_bug.cgi?id=86814
1605
1606         Reviewed by Ryosuke Niwa.
1607
1608         We should remove Bindings/dom-attributes.html and instead add more
1609         reasonable micro benchmarks by classifying DOM binding call paths.
1610
1611         This patch adds a benchmark for div.getAttribute(). This benchmark
1612         covers 'getAttribute' in Dromaeo/dom-attr.html, and other DOM methods
1613         that return a String.
1614
1615         Test results in my Linux desktop:
1616
1617         RESULT Bindings: get-attribute= 250.088158538 runs/s
1618         median= 250.469728765 runs/s, stdev= 4.66551901315 runs/s, min= 240.673886883 runs/s, max= 256.739409499 runs/s
1619
1620         RESULT Bindings: get-attribute= 250.209764698 runs/s
1621         median= 250.626959986 runs/s, stdev= 4.12030002477 runs/s, min= 241.254523522 runs/s, max= 255.102040816 runs/s
1622
1623         RESULT Bindings: get-attribute= 248.907532887 runs/s
1624         median= 250.312891114 runs/s, stdev= 3.23173125874 runs/s, min= 240.673886883 runs/s, max= 251.572327044 runs/s
1625
1626         RESULT Bindings: get-attribute= 250.243680844 runs/s
1627         median= 250.783797637 runs/s, stdev= 4.19327170024 runs/s, min= 240.963855422 runs/s, max= 255.102040816 runs/s
1628
1629         RESULT Bindings: get-attribute= 245.329046608 runs/s
1630         median= 244.948040416 runs/s, stdev= 2.24314248534 runs/s, min= 240.384615385 runs/s, max= 248.756218905 runs/s
1631
1632         * Bindings/get-attribute.html: Added.
1633
1634 2012-05-17  Kentaro Hara  <haraken@chromium.org>
1635
1636         [perf-test] Add a binding benchmark for getElementById()
1637         https://bugs.webkit.org/show_bug.cgi?id=86808
1638
1639         Reviewed by Ryosuke Niwa.
1640
1641         Currently Bindings/dom-attributes.html is just a collection
1642         of random DOM attributes and methods. We should remove it and
1643         instead add more reasonable micro benchmarks by classifying
1644         DOM binding call paths.
1645
1646         This patch adds a benchmark for document.getElementById(),
1647         which covers other DOM methods that return a Node Object.
1648
1649         The reason why we want to add a benchmark for document.getElementById()
1650         in spite of the fact that Dromaeo/dom-query.html is already testing
1651         document.getElementById(), is that Dromaeo/dom-query.html outputs one
1652         result for several benchmarks (i.e. getElementById().nodeType,
1653         getElementsByTagName()[0].nodeType etc), and thus we cannot observe
1654         regression of getElementById() itself. (Catching regression of
1655         getElementById() would be critical.)
1656
1657         Test results in my Linux desktop:
1658
1659         RESULT Bindings: get-element-by-id= 300.933707795 runs/s
1660         median= 302.267002519 runs/s, stdev= 3.04954648504 runs/s, min= 295.930949445 runs/s, max= 305.34351145 runs/s
1661
1662         RESULT Bindings: get-element-by-id= 302.030324483 runs/s
1663         median= 302.267481977 runs/s, stdev= 1.78518068367 runs/s, min= 298.507462687 runs/s, max= 304.568527919 runs/s
1664
1665         RESULT Bindings: get-element-by-id= 301.993483538 runs/s
1666         median= 302.648171501 runs/s, stdev= 1.87604126626 runs/s, min= 296.662546354 runs/s, max= 304.568527919 runs/s
1667
1668         RESULT Bindings: get-element-by-id= 301.936607982 runs/s
1669         median= 302.45758701 runs/s, stdev= 1.88991087072 runs/s, min= 298.879202989 runs/s, max= 304.955527319 runs/s
1670
1671         RESULT Bindings: get-element-by-id= 301.952234563 runs/s
1672         median= 302.648171501 runs/s, stdev= 1.59929752614 runs/s, min= 299.625468165 runs/s, max= 304.568527919 runs/s
1673
1674         * Bindings/get-element-by-id.html: Added.
1675
1676 2012-05-17  Kentaro Hara  <haraken@chromium.org>
1677
1678         [perf-test] Add a benchmark for body.scrollTop
1679         https://bugs.webkit.org/show_bug.cgi?id=86806
1680
1681         Reviewed by Ryosuke Niwa.
1682
1683         Currently Bindings/dom-attributes.html is just a collection of random
1684         DOM attributes and methods. We should remove it and instead add more
1685         reasonable micro benchmarks by classifying DOM binding call paths.
1686
1687         This patch adds a benchmark for body.scrollTop, which covers other
1688         DOM attributes that return small integers.
1689
1690         (Note: Performance optimization for the benchmark will be coming soon.)
1691
1692         Test results in my Linux desktop:
1693
1694         RESULT Bindings: scroll-top= 209.410654239 runs/s
1695         median= 211.64021164 runs/s, stdev= 4.09958741195 runs/s, min= 201.005025126 runs/s, max= 212.483399734 runs/s
1696
1697         RESULT Bindings: scroll-top= 195.651111157 runs/s
1698         median= 196.319018405 runs/s, stdev= 1.77011627406 runs/s, min= 191.846522782 runs/s, max= 197.28729963 runs/s
1699         RESULT Bindings: scroll-top= 200.004907612 runs/s
1700         median= 201.511335013 runs/s, stdev= 3.27455403827 runs/s, min= 193.236714976 runs/s, max= 202.53164557 runs/s
1701
1702         RESULT Bindings: scroll-top= 209.582737512 runs/s
1703         median= 210.803689065 runs/s, stdev= 3.16769655464 runs/s, min= 203.045685279 runs/s, max= 211.920529801 runs/s
1704
1705         RESULT Bindings: scroll-top= 199.924607687 runs/s
1706         median= 201.13144338 runs/s, stdev= 3.11080503619 runs/s, min= 193.003618818 runs/s, max= 202.02020202 runs/s
1707
1708         * Bindings/scroll-top.html: Added.
1709
1710 2012-05-17  Kentaro Hara  <haraken@chromium.org>
1711
1712         [perf-test] Add a micro benchmark for div.firstChild getter for an undefined firstChild
1713         https://bugs.webkit.org/show_bug.cgi?id=86725
1714
1715         Reviewed by Ryosuke Niwa.
1716
1717         We are going to remove Bindings/dom-attributes.html and instead add more
1718         reasonable micro benchmarks by classifying DOM binding call paths.
1719
1720         In this bug, we add a micro benchmark for div.firstChild getter for an
1721         undefined firstChild. This benchmark covers other undefined DOM attributes
1722         that return a null.
1723
1724         (Note: In V8, div.firstChild for an undefined firstChild is currently slower
1725         than div.firstChild for a defined firstChild.)
1726
1727         Test results in my Linux desktop:
1728
1729         RESULT Bindings: undefined-first-child= 541.408311042 runs/s
1730         median= 541.205412054 runs/s, stdev= 1.29841219187 runs/s, min= 537.897310513 runs/s, max= 543.209876543 runs/s
1731
1732         RESULT Bindings: undefined-first-child= 541.00750695 runs/s
1733         median= 540.540540541 runs/s, stdev= 0.967521230965 runs/s, min= 539.215686275 runs/s, max= 543.209876543 runs/s
1734
1735         RESULT Bindings: undefined-first-child= 523.630714897 runs/s
1736         median= 523.560209424 runs/s, stdev= 1.01570919645 runs/s, min= 522.193211488 runs/s, max= 525.624178712 runs/s
1737
1738         RESULT Bindings: undefined-first-child= 553.077663588 runs/s
1739         median= 553.459119497 runs/s, stdev= 0.805697397863 runs/s, min= 551.378446115 runs/s, max= 554.156171285 runs/s
1740
1741         RESULT Bindings: undefined-first-child= 541.5401432 runs/s
1742         median= 541.538666618 runs/s, stdev= 0.954301364767 runs/s, min= 539.877300613 runs/s, max= 543.209876543 runs/s
1743
1744         * Bindings/undefined-first-child.html: Added.
1745
1746 2012-05-17  Kentaro Hara  <haraken@chromium.org>
1747
1748         [Performance test] Add a micro benchmark for div.firstChild getter
1749         https://bugs.webkit.org/show_bug.cgi?id=86582
1750
1751         Reviewed by Ryosuke Niwa.
1752
1753         We are going to remove Bindings/dom-attributes.html and instead add more
1754         reasonable micro benchmarks by classifying DOM binding call paths.
1755
1756         In this bug, we add a micro benchmark for div.firstChild getter.
1757         This benchmark covers 'firstChild', 'lastChild', 'nextSibling' and
1758         'previousSibling' in Dromaeo/dom-traverse.html, and other DOM attributes
1759         that return a Node object.
1760
1761         Multiple test results in my Linux desktop:
1762
1763         RESULT Bindings: first-child= 798.157160346 runs/s
1764         median= 798.004987531 runs/s, stdev= 1.52006063407 runs/s, min= 796.019900498 runs/s, max= 801.001251564 runs/s
1765         RESULT Bindings: first-child= 797.603608554 runs/s
1766         median= 797.872340426 runs/s, stdev= 2.2522621261 runs/s, min= 791.556728232 runs/s, max= 801.001251564 runs/s
1767         RESULT Bindings: first-child= 798.656295468 runs/s
1768         median= 798.004987531 runs/s, stdev= 1.79367478063 runs/s, min= 797.01120797 runs/s, max= 803.011292346 runs/s
1769         RESULT Bindings: first-child= 797.812784267 runs/s
1770         median= 798.004987531 runs/s, stdev= 2.31766523191 runs/s, min= 791.100123609 runs/s, max= 802.005012531 runs/s
1771         RESULT Bindings: first-child= 797.963311597 runs/s
1772         median= 798.004987531 runs/s, stdev= 2.53014907337 runs/s, min= 789.14919852 runs/s, max= 801.001251564 runs/s
1773
1774         * Bindings/first-child.html: Added.
1775
1776 2012-05-16  Kentaro Hara  <haraken@chromium.org>
1777
1778         [Performance test] Support "description" for PerfTestRunner.run and PerfTestRunner.runPerSecond
1779         https://bugs.webkit.org/show_bug.cgi?id=86696
1780
1781         Reviewed by Ryosuke Niwa.
1782
1783         We want to add some description for each PerfTestRunner.run and
1784         PerfTestRunner.runPerSecond, so that people can know what each
1785         run is testing.
1786
1787         Output example:
1788
1789         $ ./Tools/Scripts/run-perf-tests Bindings/first-child.html
1790         Running Bindings/first-child.html (1 of 1)
1791         DESCRIPTION: Benchmark for DOM attributes that return a Node object.
1792         RESULT Bindings: first-child= 788.359076534 runs/s
1793         median= 797.508097751 runs/s, stdev= 19.0972905207 runs/s, min= 746.666666667 runs/s, max= 801.001251564 runs/s
1794
1795         * resources/runner.js:
1796         (PerfTestRunner.logStatistics):
1797         (PerfTestRunner.printStatistics):
1798         (PerfTestRunner.runPerSecond):
1799
1800 2012-05-16  Yury Semikhatsky  <yurys@chromium.org>
1801
1802         Unreviewed. Fix heap profiler performance test after r117234.
1803
1804         * inspector/heap-snapshot.html:
1805
1806 2012-05-14  Ryosuke Niwa  <rniwa@webkit.org>
1807
1808         Convert CSS and Parser tests to runs/s tests
1809         https://bugs.webkit.org/show_bug.cgi?id=86399
1810
1811         Reviewed by Ojan Vafai.
1812
1813         Use runPerSecond instead of run to measure results in function calls per second (run/s) instead of time (ms).
1814         This allows us to continue measuring performance reliably even when WebKit's performance improves and results
1815         become too small for Date.now()'s precision (around 15 ms).
1816
1817         It should also reduce perf. bots cycle time for slower tests because we limit the number of function calls by time.
1818
1819         * CSS/CSSPropertySetterGetter.html:
1820         * CSS/CSSPropertyUpdateValue.html:
1821         * Parser/css-parser-yui.html:
1822         * Parser/simple-url.html:
1823         * Parser/tiny-innerHTML.html:
1824         * Parser/url-parser.html:
1825         * Parser/xml-parser.html:
1826
1827 2012-05-14  Dan Bernstein  <mitz@apple.com>
1828
1829         Add a line layout performance test
1830         https://bugs.webkit.org/show_bug.cgi?id=86216
1831
1832         Reviewed by Ryosuke Niwa.
1833
1834         * Layout/line-layout.html: Added.
1835
1836 2012-05-14  Tony Chang  <tony@chromium.org>
1837
1838         Don't append log lines while perf tests are running.
1839         https://bugs.webkit.org/show_bug.cgi?id=86028
1840
1841         Reviewed by Ryosuke Niwa.
1842
1843         In some tests, the extra DOM nodes can cause the test timing to change.
1844         Avoid adding DOM nodes until the test is over. When running in a browser,
1845         we append nodes as we run so the user can have some feedback.
1846
1847         * resources/runner.js:
1848         (PerfTestRunner.log): Store the log lines in an array until the test is finished.
1849
1850 2012-05-14  Ryosuke Niwa  <rniwa@webkit.org>
1851
1852         Build fix. Don't adjust calls per iteration in the second run.
1853
1854         * resources/runner.js:
1855         (PerfTestRunner._perSecondRunner):
1856
1857 2012-05-13  Ryosuke Niwa  <rniwa@webkit.org>
1858
1859         performance tests should be able to measure runs/sec rather than time
1860         https://bugs.webkit.org/show_bug.cgi?id=86021
1861
1862         Reviewed by Ojan Vafai.
1863
1864         Add PerfTestRunner.runPerSecond. It uses _runLoop but replaces _runner by _perSecondRunner
1865         to compute runs/s of runFunction.
1866
1867         When _perSecondRunner is called for the first time, i.e. _completedRuns is 0 (notice this is -1
1868         in regular run/_runner), it slowly increases the number of function calls to runFunction between
1869         time measurements in order to discount the time used by new Date() calls themselves until the
1870         total time spent reaches 100 milliseconds.
1871
1872         By default, runPerSecond runs the test for at least 750 milliseconds in each run, and executes
1873         21 runs, yielding the total run time of roughly 18 seconds. This is significantly faster than
1874         most of existing performance tests. Also see http://ejohn.org/blog/accuracy-of-javascript-time/.
1875
1876         Finally, refactored the existing methods of PerfTestRunner to allow "runs/s" unit and share code.
1877
1878         * Layout/flexbox-column-nowrap.html:
1879         * Layout/flexbox-column-wrap.html:
1880         * Layout/flexbox-row-nowrap.html:
1881         * Layout/flexbox-row-wrap.html:
1882         * resources/runner.js:
1883         (PerfTestRunner.computeStatistics): Takes unit.
1884         (PerfTestRunner.logStatistics): Ditto.
1885         (PerfTestRunner._runLoop):
1886         (PerfTestRunner._runner):
1887         (PerfTestRunner.runPerSecond): Added.
1888         (PerfTestRunner._perSecondRunner): Added. Called by _runLoop.
1889         (PerfTestRunner._perSecondRunnerIterator): Added.
1890
1891 2012-05-09  Tony Chang  <tony@chromium.org>
1892
1893         add some basic perf-o-matic tests for flexbox
1894         https://bugs.webkit.org/show_bug.cgi?id=86017
1895
1896         Reviewed by Ryosuke Niwa.
1897
1898         Each of these tests take < 3s on my machine.
1899
1900         * Layout/flexbox-column-nowrap.html: Added.
1901         * Layout/flexbox-column-wrap.html: Added.
1902         * Layout/flexbox-row-nowrap.html: Added.
1903         * Layout/flexbox-row-wrap.html: Added.
1904
1905 2012-05-05  Ilya Tikhonovsky  <loislo@chromium.org>
1906
1907         Web Inspector: unreviewed followup fix for the performance test after r116218.
1908
1909         * inspector/heap-snapshot.html:
1910
1911 2012-05-02  Tom Zakrajsek  <tomz@codeaurora.org>
1912
1913         Need tests for PerfTestRunner.computeStatistics
1914         https://bugs.webkit.org/show_bug.cgi?id=85410
1915
1916         Reviewed by Ryosuke Niwa.
1917
1918         * resources/runner.js:
1919
1920 2012-05-02  Sheriff Bot  <webkit.review.bot@gmail.com>
1921
1922         Unreviewed, rolling out r115905.
1923         http://trac.webkit.org/changeset/115905
1924         https://bugs.webkit.org/show_bug.cgi?id=85435
1925
1926         New computeStatistics test is failing on chromium ports
1927         (Requested by tomz on #webkit).
1928
1929         * resources/runner.js:
1930
1931 2012-05-02  Tom Zakrajsek  <tomz@codeaurora.org>
1932
1933         Need tests for PerfTestRunner.computeStatistics
1934         https://bugs.webkit.org/show_bug.cgi?id=85410
1935
1936         Reviewed by Ryosuke Niwa.
1937
1938         * resources/runner.js:
1939
1940 2012-04-29  Tom Zakrajsek  <tomz@codeaurora.org>
1941
1942         PerfTestRunner.computeStatistics incorrectly calculates min, max and median
1943         https://bugs.webkit.org/show_bug.cgi?id=85111
1944
1945         Reviewed by Ryosuke Niwa.
1946
1947         The sort of the data input was being done alphabetically.
1948         So I provided a numeric compare function.
1949
1950         * resources/runner.js:
1951
1952 2012-04-17  Ilya Tikhonovsky  <loislo@chromium.org>
1953
1954         Web Inspector: the fix for test after massive rename in r114271.
1955         https://bugs.webkit.org/show_bug.cgi?id=84147
1956
1957         Drive by fix. The test was renamed to heap-snapshot.html
1958
1959         Reviewed by Yury Semikhatsky.
1960
1961         * inspector/heap-snapshot.html: Renamed from PerformanceTests/inspector/detailed-heapshots-smoke-test.html.
1962
1963 2012-04-16  Yury Semikhatsky  <yurys@chromium.org>
1964
1965         Web Inspector: rename heap profiler files and classes DetailedHeapshot* ->HeapSnapshot*
1966         https://bugs.webkit.org/show_bug.cgi?id=84038
1967
1968         A bunch of renames "detailed heapshot" -> "heap snapshot".
1969
1970         Reviewed by Pavel Feldman.
1971
1972         * inspector/detailed-heapshots-smoke-test.html:
1973
1974 2012-04-13  Ryosuke Niwa  <rniwa@webkit.org>
1975
1976         Fix skipped list.
1977
1978         * Skipped:
1979
1980 2012-04-12  Ryosuke Niwa  <rniwa@webkit.org>
1981
1982         Enable SVG page loading performance tests
1983         https://bugs.webkit.org/show_bug.cgi?id=83861
1984
1985         Reviewed by Adam Barth.
1986
1987         Unskip PageLoad directory and skip tests that load too fast (less than 100ms) and are unstable,
1988         and the ones that take too long to load (more than 20s).
1989
1990         * Skipped:
1991
1992 2012-04-04  Ilya Tikhonovsky  <loislo@chromium.org>
1993
1994         Web Inspector: Unreviewed. temporary disable broken inspector tests.
1995
1996         * inspector/first-open-scripts.html.broken: Renamed from PerformanceTests/inspector/first-open-scripts.html.
1997         * inspector/network-append-30-requests.html.broken: Renamed from PerformanceTests/inspector/network-append-30-requests.html.
1998         * inspector/show-panel.html.broken: Renamed from PerformanceTests/inspector/show-panel.html.
1999
2000 2012-04-04  Ilya Tikhonovsky  <loislo@chromium.org>
2001
2002         Web Inspector: linearise aggregate's retaining size calculation.
2003         https://bugs.webkit.org/show_bug.cgi?id=83125
2004
2005         This version is twice as fast as the original and it is non-recursive.
2006
2007         Reviewed by Yury Semikhatsky.
2008
2009         * inspector/detailed-heapshots-smoke-test.html:
2010
2011 2012-03-30  David Barr  <davidbarr@chromium.org>
2012
2013         Split up top-level .gitignore and .gitattributes
2014         https://bugs.webkit.org/show_bug.cgi?id=82687
2015
2016         Reviewed by Tor Arne Vestbø.
2017
2018         * .gitattributes: Added.
2019
2020 2012-03-28  Yury Semikhatsky  <yurys@chromium.org>
2021
2022         Web Inspector: switch heap profiler front-end to separate storage of nodes and edges
2023         https://bugs.webkit.org/show_bug.cgi?id=82453
2024
2025         Updated heap profiler performance test after heap profiler front-end
2026         changes.
2027
2028         Reviewed by Pavel Feldman.
2029
2030         * inspector/detailed-heapshots-smoke-test.html:
2031
2032 2012-03-27  Alexis Menard  <alexis.menard@openbossa.org>
2033
2034         Add a perf test which updates the value of an already declared CSS property.
2035         https://bugs.webkit.org/show_bug.cgi?id=82321
2036
2037         Reviewed by Andreas Kling.
2038
2039         This benchmark update CSS existing properties of the style from JS.
2040
2041         * CSS/CSSPropertyUpdateValue.html: Added.
2042
2043 2012-03-15  Kentaro Hara  <haraken@chromium.org>
2044
2045         [PerformanceTests] run-perf-tests should output correct units
2046         https://bugs.webkit.org/show_bug.cgi?id=78303
2047
2048         Reviewed by Ryosuke Niwa.
2049
2050         Previously run-perf-tests just supported "ms" for units.
2051         Consequently, Dromaeo perf tests had been reporting runs/s as "ms".
2052         This patch fixes run-perf-tests so that they can support custom units.
2053         The default unit is "ms".
2054
2055         The test result looks like this:
2056
2057         $ ./Tools/Scripts/run-perf-tests Dromaeo/dom-attr.html
2058         RESULT Dromaeo: dom-attr= 6465.9525483 runs/s
2059         median= 0.0 runs/s, stdev= 24.2983433436 runs/s, min= 6435.87649402 runs/s, max= 6515.63693392 runs/s
2060
2061         * Dromaeo/resources/dromaeorunner.js:
2062         (.):
2063         * resources/runner.js:
2064         (PerfTestRunner.computeStatistics):
2065         (PerfTestRunner.printStatistics):
2066
2067 2012-03-15  Alexis Menard  <alexis.menard@openbossa.org>
2068
2069         Fix the test failing with run-perf-tests.
2070
2071         Rubber stamped by Ryosuke Niwa.
2072
2073         * CSS/CSSPropertySetterGetter.html:
2074
2075 2012-03-14  Alexis Menard  <alexis.menard@openbossa.org>
2076
2077         Add a new perf test to benchmark setting and reading CSS properties from JS.
2078         https://bugs.webkit.org/show_bug.cgi?id=81155
2079
2080         Reviewed by Ryosuke Niwa.
2081
2082         This benchmark read and set CSS properties from JS. It contains a list
2083         of common CSS properties.
2084
2085         * CSS/CSSPropertySetterGetter.html: Added.
2086
2087 2012-03-14  Alexandru Chiculita  <achicu@adobe.com>
2088
2089         Layout/floats.html should be runnable by run-perf-tests
2090         https://bugs.webkit.org/show_bug.cgi?id=77051
2091
2092         Reviewed by Ryosuke Niwa.
2093
2094         I've split Layout/floats.html into multiple tests for each button in the original manual test.
2095         Some tests take longer to run and I've changed the number of iterations, so that each tests finishes under 30s per run.
2096
2097         * DOM/resources/dom-perf.js:
2098         * Layout/floats.html: Removed.
2099         * Layout/floats_100_100.html: Added.
2100         * Layout/floats_100_100_nested.html: Added.
2101         * Layout/floats_20_100.html: Added.
2102         * Layout/floats_20_100_nested.html: Added.
2103         * Layout/floats_2_100.html: Added.
2104         * Layout/floats_2_100_nested.html: Added.
2105         * Layout/floats_50_100.html: Added.
2106         * Layout/floats_50_100_nested.html: Added.
2107         * Layout/resources/floats.css: Added.
2108         (.container):
2109         (.float):
2110         (.big):
2111         (.float-end):
2112         * Layout/resources/floats.js: Added.
2113         (.):
2114         * Skipped:
2115         * resources/runner.js:
2116         (PerfTestRunner.resetRandomSeed):
2117         (PerfTestRunner.random):
2118         (Math.random):
2119             Moved the Math.random to runner.js to be used by all tests.
2120             Added resetRandomSeed to bring the randomizer back to initial seed.
2121             It is useful to get the same results at every run and minimize the
2122             differences between runs.
2123
2124 2012-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2125
2126         Unreviewed, rolling out r110559.
2127         http://trac.webkit.org/changeset/110559
2128         https://bugs.webkit.org/show_bug.cgi?id=81142
2129
2130         Broke Dromaeo tests (Requested by rniwa on #webkit).
2131
2132         * Dromaeo/resources/dromaeorunner.js:
2133         (.):
2134
2135 2012-03-13  Kentaro Hara  <haraken@chromium.org>
2136
2137         Dromaeo perf-tests results are wrong
2138         https://bugs.webkit.org/show_bug.cgi?id=80974
2139
2140         Reviewed by Hajime Morita.
2141
2142         Dromaeo perf-tests had reported the sum of runs/seconds as "ms".
2143         This patch fixes them to report the execution time per run.
2144
2145         At present, they report "0.0ms" for "stdev". This is because
2146         dromaeorunner.js can just know stdev of "runs/seconds"
2147         and cannot calculate stdev of "ms" from that. We can fix it later.
2148
2149         * Dromaeo/resources/dromaeorunner.js:
2150         (.):
2151
2152 2012-03-12  Ilya Tikhonovsky  <loislo@chromium.org>
2153
2154         Web Inspector: chromium: increase heap snapshot performance coverage.
2155         https://bugs.webkit.org/show_bug.cgi?id=80829
2156
2157         Reviewed by Yury Semikhatsky.
2158
2159         * inspector/detailed-heapshots-smoke-test.html:
2160         * inspector/performance-test.js:
2161         (initialize_TimeTracker.InspectorTest.measureFunction):
2162
2163 2012-03-06  Kentaro Hara  <haraken@chromium.org>
2164
2165         [Perf tests] Reduce the number of loops in dom-attributes.html
2166         https://bugs.webkit.org/show_bug.cgi?id=80077
2167
2168         Reviewed by Ryosuke Niwa.
2169
2170         dom-attributes.html takes 100~ seconds in the perf bots. This patch reduces
2171         the time by reducing the number of loops.
2172
2173         This is just a temporary fix. After more detailed investigation, I will reduce
2174         the number of tests in dom-attributes.html, and revert back the number of loops
2175         to guarantee the reliability of the perf test results.
2176
2177         * Bindings/dom-attributes.html:
2178
2179 2012-03-06  Ilya Tikhonovsky  <loislo@chromium.org>
2180
2181         Web Inspector: Heap Snapshot test: split overal time metric into separate metrics.
2182         https://bugs.webkit.org/show_bug.cgi?id=80409
2183
2184         Reviewed by Yury Semikhatsky.
2185
2186         * inspector/detailed-heapshots-smoke-test.html:
2187
2188 2012-03-05  Ilya Tikhonovsky  <loislo@chromium.org>
2189
2190         Web Inspector: [chromium] introduce HeapSnapshot performance test.
2191         https://bugs.webkit.org/show_bug.cgi?id=80280
2192
2193         Reviewed by Pavel Feldman.
2194
2195         * inspector/detailed-heapshots-smoke-test.html: Added.
2196
2197 2012-03-01  Ryosuke Niwa  <rniwa@webkit.org>
2198
2199         DOM tests take too long to run
2200         https://bugs.webkit.org/show_bug.cgi?id=80082
2201
2202         Reviewed by Eric Seidel.
2203
2204         Reduce benchmark.timeToRun from 500ms to 100ms. Doesn't seem to affect test results much
2205         (except DOM/DOMTable.html) but significantly reduces the runtime of tests.
2206
2207         * DOM/resources/dom-perf.js:
2208         (BenchmarkSuite.prototype.RunSingle):
2209
2210 2012-02-26  Kentaro Hara  <haraken@chromium.org>
2211
2212         [Performance Tests] [Chromium] Bindings/dom-attributes.html is timing out
2213         https://bugs.webkit.org/show_bug.cgi?id=79593
2214
2215         Reviewed by Adam Barth.
2216
2217         This patch halves the execution time of Bindings/dom-attributes.html
2218         in order to avoid timeout in Chromium. The reason for the timeout is that
2219         V8 DOM bindings are too much slower than JSC bindings.
2220         I am a bit afraid that this patch will reduce the accuracy of the
2221         perf test results, but it would make sense to reduce the execution time
2222         until we fix the performance issue in V8 DOM bindings.
2223
2224         * Bindings/dom-attributes.html:
2225
2226 2012-02-24  Ryosuke Niwa  <rniwa@webkit.org>
2227
2228         Rename dom*_*attributes.html to dom*-*attributes.html to follow the WebKit convention.
2229
2230         * Bindings/dom-attributes.html: Copied from PerformanceTests/Bindings/dom_attributes.html.
2231         * Bindings/dom_attributes.html: Removed.
2232
2233 2012-02-24  Kentaro Hara  <haraken@chromium.org>
2234
2235         Unreviewed, rolling out r108477.
2236         http://trac.webkit.org/changeset/108477
2237         https://bugs.webkit.org/show_bug.cgi?id=79209
2238
2239         The perf tests committed in r108748 covers the perf tests
2240         committed in r108477. So I'll roll out r108477.
2241
2242         * Bindings/dom_attributes_id_getter.html: Removed.
2243         * Bindings/dom_attributes_id_setter.html: Removed.
2244         * Bindings/resources/dom_attributes_common.js: Removed.
2245
2246 2012-02-24  Kentaro Hara  <haraken@chromium.org>
2247
2248         Add performance tests for DOM attribute getters and setters
2249         https://bugs.webkit.org/show_bug.cgi?id=79208
2250
2251         Reviewed by Ryosuke Niwa.
2252
2253         This patch adds performance micro-benchmarks for DOM attribute
2254         getters and setters. We selected DOM attributes from HTMLElement,
2255         Element and Node which will most impact on the DOM performance
2256         in the real Web and which have different call-paths from another
2257         DOM attribute.
2258
2259         The perf test result in my local Chromium/Linux environment is as follows:
2260         median= 14967.0 ms, stdev= 85.2385476178 ms, min= 14861.0 ms, max= 15155.0 ms
2261
2262         If we run the test with DumpRenderTree, we can get the following test results:
2263         Info: [HTMLElement.id] avg=65.76ms, median=65.00ms, stdev=2.14ms, min=63, max=70
2264         Info: [HTMLElement.title] avg=64.05ms, median=63.00ms, stdev=1.50ms, min=63, max=67
2265         Info: [HTMLElement.lang] avg=64.19ms, median=63.00ms, stdev=1.82ms, min=62, max=67
2266         Info: [HTMLElement.dir] avg=64.10ms, median=63.00ms, stdev=1.72ms, min=62, max=68
2267         Info: [HTMLElement.className] avg=63.33ms, median=63.00ms, stdev=0.89ms, min=63, max=67
2268         Info: [HTMLElement.classList] avg=1946.00ms, median=1945.00ms, stdev=38.22ms, min=1921, max=2110
2269         Info: [HTMLElement.tabIndex] avg=83.52ms, median=80.00ms, stdev=6.00ms, min=79, max=94
2270         Info: [HTMLElement.draggable] avg=78.14ms, median=81.00ms, stdev=3.51ms, min=74, max=82
2271         Info: [HTMLElement.webkitdropzone] avg=64.33ms, median=63.00ms, stdev=1.98ms, min=63, max=68
2272         Info: [HTMLElement.hidden] avg=65.57ms, median=64.00ms, stdev=3.27ms, min=63, max=71
2273         Info: [HTMLElement.accessKey] avg=64.43ms, median=63.00ms, stdev=2.11ms, min=62, max=68
2274         Info: [HTMLElement.children] avg=130.76ms, median=128.00ms, stdev=9.75ms, min=109, max=143
2275         Info: [HTMLElement.isContentEditable] avg=74.29ms, median=75.00ms, stdev=2.00ms, min=71, max=77
2276         Info: [HTMLElement.spellcheck] avg=79.52ms, median=80.00ms, stdev=2.52ms, min=76, max=82
2277         Info: [HTMLElement.innerHTML] avg=279.05ms, median=279.00ms, stdev=1.96ms, min=276, max=283
2278         Info: [HTMLElement.innerText] avg=204.14ms, median=203.00ms, stdev=2.95ms, min=200, max=210
2279         Info: [HTMLElement.outerHTML] avg=1544.10ms, median=1546.00ms, stdev=15.56ms, min=1514, max=1568
2280         Info: [HTMLElement.outerText] avg=216.05ms, median=207.00ms, stdev=18.19ms, min=201, max=247
2281         Info: [HTMLElement.contentEditable] avg=334.24ms, median=323.00ms, stdev=36.06ms, min=318, max=446
2282         Info: [HTMLElement.id="foo"] avg=53.19ms, median=53.00ms, stdev=1.76ms, min=52, max=58
2283         Info: [HTMLElement.title="foo"] avg=63.14ms, median=63.00ms, stdev=0.35ms, min=63, max=64
2284         Info: [HTMLElement.lang="foo"] avg=60.86ms, median=61.00ms, stdev=0.56ms, min=60, max=62
2285         Info: [HTMLElement.dir="foo"] avg=53.57ms, median=54.00ms, stdev=0.58ms, min=53, max=55
2286         Info: [HTMLElement.className="foo"] avg=64.52ms, median=64.00ms, stdev=0.91ms, min=63, max=66
2287         Info: [HTMLElement.tabIndex="foo"] avg=367.86ms, median=369.00ms, stdev=8.06ms, min=352, max=380
2288         Info: [HTMLElement.draggable="foo"] avg=79.43ms, median=79.00ms, stdev=0.58ms, min=79, max=81
2289         Info: [HTMLElement.webkitdropzone="foo"] avg=62.14ms, median=62.00ms, stdev=0.35ms, min=62, max=63
2290         Info: [HTMLElement.hidden="foo"] avg=61.67ms, median=62.00ms, stdev=0.71ms, min=61, max=64
2291         Info: [HTMLElement.accessKey="foo"] avg=61.86ms, median=62.00ms, stdev=0.56ms, min=61, max=63
2292         Info: [HTMLElement.spellcheck="foo"] avg=79.57ms, median=80.00ms, stdev=0.58ms, min=78, max=80
2293         Info: [HTMLElement.innerHTML="foo"] avg=1176.67ms, median=1169.00ms, stdev=26.60ms, min=1146, max=1246
2294         Info: [HTMLElement.innerText="foo"] avg=51.62ms, median=52.00ms, stdev=0.72ms, min=50, max=53
2295         Info: [Element.tagName] avg=79.52ms, median=80.00ms, stdev=1.05ms, min=78, max=81
2296         Info: [Element.style] avg=126.19ms, median=126.00ms, stdev=10.40ms, min=104, max=161
2297         Info: [Element.offsetLeft] avg=98.95ms, median=104.00ms, stdev=4.01ms, min=100, max=99
2298         Info: [Element.clientLeft] avg=98.33ms, median=102.00ms, stdev=2.59ms, min=100, max=99
2299         Info: [Element.scrollLeft] avg=103.29ms, median=96.00ms, stdev=15.63ms, min=100, max=97
2300         Info: [Element.dataset] avg=2448.62ms, median=2441.00ms, stdev=20.43ms, min=2426, max=2503
2301         Info: [Element.firstElementChild] avg=58.71ms, median=58.00ms, stdev=2.37ms, min=57, max=65
2302         Info: [Element.lastElementChild] avg=56.33ms, median=55.00ms, stdev=1.83ms, min=54, max=59
2303         Info: [Element.previousElementSibling] avg=52.95ms, median=52.00ms, stdev=1.70ms, min=52, max=57
2304         Info: [Element.nextElementSibling] avg=58.48ms, median=58.00ms, stdev=1.79ms, min=57, max=63
2305         Info: [Element.childElementCount] avg=64.57ms, median=64.00ms, stdev=1.81ms, min=63, max=71
2306         Info: [Element.onload] avg=98.38ms, median=98.00ms, stdev=0.49ms, min=98, max=99
2307         Info: [Element.scrollLeft="foo"] avg=95.24ms, median=95.00ms, stdev=0.92ms, min=94, max=98
2308         Info: [Element.onload="foo"] avg=67.14ms, median=67.00ms, stdev=0.56ms, min=66, max=68
2309         Info: [Node.nodeName] avg=76.29ms, median=76.00ms, stdev=0.63ms, min=75, max=77
2310         Info: [Node.nodeType] avg=53.05ms, median=52.00ms, stdev=2.61ms, min=52, max=61
2311         Info: [Node.parentNode] avg=53.52ms, median=53.00ms, stdev=1.22ms, min=52, max=56
2312         Info: [Node.childNodes] avg=118.33ms, median=123.00ms, stdev=8.85ms, min=107, max=129
2313         Info: [Node.firstChild] avg=53.62ms, median=53.00ms, stdev=1.13ms, min=51, max=55
2314         Info: [Node.lastChild] avg=53.14ms, median=53.00ms, stdev=1.21ms, min=52, max=55
2315         Info: [Node.previousSibling] avg=51.86ms, median=51.00ms, stdev=1.55ms, min=50, max=54
2316         Info: [Node.nextSibling] avg=52.86ms, median=54.00ms, stdev=1.81ms, min=50, max=55
2317         Info: [Node.attributes] avg=2027.71ms, median=2026.00ms, stdev=10.48ms, min=2010, max=2051
2318         Info: [Node.ownerDocument] avg=152.14ms, median=152.00ms, stdev=1.73ms, min=149, max=155
2319         Info: [Node.namespaceURI] avg=60.86ms, median=59.00ms, stdev=3.85ms, min=56, max=66
2320         Info: [Node.localName] avg=60.00ms, median=59.00ms, stdev=2.71ms, min=57, max=66
2321         Info: [Node.baseURI] avg=671.10ms, median=668.00ms, stdev=10.66ms, min=659, max=706
2322         Info: [Node.parentElement] avg=55.05ms, median=56.00ms, stdev=2.15ms, min=52, max=58
2323         Info: [Node.nodeValue] avg=61.24ms, median=60.00ms, stdev=2.56ms, min=59, max=68
2324         Info: [Node.prefix] avg=60.90ms, median=58.00ms, stdev=4.26ms, min=57, max=68
2325         Info: [Node.textContent] avg=149.71ms, median=149.00ms, stdev=1.12ms, min=148, max=152
2326         Info: [Node.nodeValue="foo"] avg=23.62ms, median=23.00ms, stdev=0.72ms, min=23, max=25
2327         Info: [Node.prefix="foo"] avg=49.57ms, median=49.00ms, stdev=0.73ms, min=49, max=51
2328         Info: [Node.textContent="foo"] avg=145.81ms, median=140.00ms, stdev=17.43ms, min=138, max=199
2329
2330         * Bindings/dom_attributes.html: Added.
2331         * resources/runner.js:
2332         (PerfTestRunner.info):
2333
2334 2012-02-22  Kentaro Hara  <haraken@chromium.org>
2335
2336         Add performance tests for the Element.id getter and setter
2337         https://bugs.webkit.org/show_bug.cgi?id=79209
2338
2339         Reviewed by Adam Barth.
2340
2341         This patch adds performance tests for the Element.id getter and setter.
2342
2343         The results of 10 runs in my local Chromium/Linux are as follows:
2344
2345         dom_attributes_id_getter.html:
2346         median= 92.0 ms, stdev= 1.65151445649 ms, min= 89.0 ms, max= 96.0 ms
2347         median= 87.5 ms, stdev= 1.84390889146 ms, min= 85.0 ms, max= 92.0 ms
2348         median= 94.0 ms, stdev= 1.46543508898 ms, min= 90.0 ms, max= 95.0 ms
2349         median= 86.0 ms, stdev= 1.66958078571 ms, min= 84.0 ms, max= 91.0 ms
2350         median= 94.0 ms, stdev= 2.25610283454 ms, min= 103.0 ms, max= 98.0 ms
2351         median= 86.0 ms, stdev= 1.49666295471 ms, min= 84.0 ms, max= 91.0 ms
2352         median= 86.0 ms, stdev= 1.5321553446 ms, min= 84.0 ms, max= 90.0 ms
2353         median= 86.0 ms, stdev= 2.20227155455 ms, min= 84.0 ms, max= 94.0 ms
2354         median= 96.0 ms, stdev= 1.74570902501 ms, min= 101.0 ms, max= 99.0 ms
2355         median= 86.0 ms, stdev= 1.63935963108 ms, min= 84.0 ms, max= 90.0 ms
2356         median= 94.0 ms, stdev= 1.49248115566 ms, min= 90.0 ms, max= 95.0 ms
2357         median= 88.0 ms, stdev= 5.20192272146 ms, min= 84.0 ms, max= 98.0 ms
2358         median= 86.0 ms, stdev= 1.41067359797 ms, min= 84.0 ms, max= 89.0 ms
2359         median= 86.0 ms, stdev= 1.48660687473 ms, min= 84.0 ms, max= 89.0 ms
2360         median= 94.0 ms, stdev= 1.58113883008 ms, min= 93.0 ms, max= 97.0 ms
2361         median= 86.0 ms, stdev= 1.95959179423 ms, min= 84.0 ms, max= 93.0 ms
2362         median= 86.0 ms, stdev= 1.8547236991 ms, min= 84.0 ms, max= 92.0 ms
2363         median= 86.0 ms, stdev= 1.39283882772 ms, min= 84.0 ms, max= 89.0 ms
2364         median= 88.0 ms, stdev= 1.48660687473 ms, min= 85.0 ms, max= 90.0 ms
2365         median= 86.5 ms, stdev= 2.3 ms, min= 84.0 ms, max= 93.0 ms
2366
2367         dom_attributes_id_setter.html:
2368         median= 123.0 ms, stdev= 2.06397674406 ms, min= 119.0 ms, max= 128.0 ms
2369         median= 119.0 ms, stdev= 1.92028643697 ms, min= 117.0 ms, max= 123.0 ms
2370         median= 121.0 ms, stdev= 1.8781639971 ms, min= 118.0 ms, max= 123.0 ms
2371         median= 123.0 ms, stdev= 2.21585198062 ms, min= 119.0 ms, max= 130.0 ms
2372         median= 124.5 ms, stdev= 2.36378933071 ms, min= 119.0 ms, max= 129.0 ms
2373         median= 122.0 ms, stdev= 2.4474476501 ms, min= 118.0 ms, max= 128.0 ms
2374         median= 123.0 ms, stdev= 1.76351920885 ms, min= 118.0 ms, max= 125.0 ms
2375         median= 119.0 ms, stdev= 1.79652442232 ms, min= 117.0 ms, max= 125.0 ms
2376         median= 121.0 ms, stdev= 1.49916643506 ms, min= 119.0 ms, max= 123.0 ms
2377         median= 119.5 ms, stdev= 1.85135085816 ms, min= 117.0 ms, max= 125.0 ms
2378         median= 124.0 ms, stdev= 1.43090880213 ms, min= 120.0 ms, max= 124.0 ms
2379         median= 122.0 ms, stdev= 1.45859521458 ms, min= 118.0 ms, max= 123.0 ms
2380         median= 123.0 ms, stdev= 1.50332963784 ms, min= 120.0 ms, max= 124.0 ms
2381         median= 123.0 ms, stdev= 1.3638181697 ms, min= 120.0 ms, max= 125.0 ms
2382         median= 119.0 ms, stdev= 1.43527000944 ms, min= 117.0 ms, max= 121.0 ms
2383         median= 122.5 ms, stdev= 1.71682847134 ms, min= 118.0 ms, max= 124.0 ms
2384         median= 121.0 ms, stdev= 1.44481832768 ms, min= 118.0 ms, max= 123.0 ms
2385         median= 120.0 ms, stdev= 1.40978721799 ms, min= 117.0 ms, max= 122.0 ms
2386         median= 122.0 ms, stdev= 1.68522995464 ms, min= 119.0 ms, max= 125.0 ms
2387         median= 122.0 ms, stdev= 1.55804364509 ms, min= 118.0 ms, max= 123.0 ms
2388
2389
2390         * Bindings/dom_attributes_id_getter.html: Added.
2391         * Bindings/dom_attributes_id_setter.html: Added.
2392         * Bindings/resources/dom_attributes_common.js: Added.
2393
2394 2012-02-16  Alexis Menard  <alexis.menard@openbossa.org>
2395
2396         Add a perf test for the CSS parser.
2397         https://bugs.webkit.org/show_bug.cgi?id=78114
2398
2399         Reviewed by Ryosuke Niwa.
2400
2401         Add a perf test for the CSS parser. It load a big CSS chunk
2402         which contains some snippets of the YUI library from Yahoo!.
2403
2404         * Parser/css-parser-yui.html: Added.
2405
2406 2012-02-08  Hajime Morrita  <morrita@chromium.org>
2407
2408         [PerformanceTests] sunspider-crypto-md5.html and sunspider-crypto-sha1.html are timing out on cr-mac perf bot
2409         https://bugs.webkit.org/show_bug.cgi?id=78174
2410
2411         Reviewed by Ryosuke Niwa.
2412
2413         Pulled back removed files.
2414
2415         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-md5.html: Added.
2416         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-sha1.html: Added.
2417
2418 2012-02-02  Hajime Morrita  <morrita@chromium.org>
2419
2420         [PerformanceTests] Each Dromaeo test needs its landing html.
2421         https://bugs.webkit.org/show_bug.cgi?id=77504
2422
2423         Reviewed by Ryosuke Niwa.
2424
2425         - Added landing pages for each test which are listed in MANIFEST.json
2426         - Removed some tests which depends on the library whose license is incompatible to WebKit.
2427         - Added local copy of corresponding library. And replace the references to the remote sources
2428           to the local copies.
2429         - Removed old library files under Dromaeo/resources/dromaeo/web/lib/.
2430         - Skipped Sunsupier and v8 test. Such JS centric test should have its own test instead of
2431           running as a part of Dromaeo.
2432
2433         * Dromaeo/cssquery-dojo.html: Added.
2434         * Dromaeo/cssquery-jquery.html: Added.
2435         * Dromaeo/cssquery-prototype.html: Added.
2436         * Dromaeo/dom-attr.html: Added.
2437         * Dromaeo/dom-modify.html: Added.
2438         * Dromaeo/dom-traverse.html: Added.
2439         * Dromaeo/dromaeo-3d-cube.html: Added.
2440         * Dromaeo/dromaeo-core-eval.html: Added.
2441         * Dromaeo/dromaeo-object-array.html: Added.
2442         * Dromaeo/dromaeo-object-regexp.html: Added.
2443         * Dromaeo/dromaeo-object-string.html: Added.
2444         * Dromaeo/dromaeo-string-base64.html: Added.
2445         * Dromaeo/jslib-attr-jquery.html: Added.
2446         * Dromaeo/jslib-attr-prototype.html: Added.
2447         * Dromaeo/jslib-event-jquery.html: Added.
2448         * Dromaeo/jslib-event-prototype.html: Added.
2449         * Dromaeo/jslib-modify-jquery.html: Added.
2450         * Dromaeo/jslib-modify-prototype.html: Added.
2451         * Dromaeo/jslib-style-jquery.html: Added.
2452         * Dromaeo/jslib-style-prototype.html: Added.
2453         * Dromaeo/jslib-traverse-jquery.html: Added.
2454         * Dromaeo/jslib-traverse-prototype.html: Added.
2455         * Dromaeo/resources/dromaeo/web/lib/dojo.js: Removed.
2456         * Dromaeo/resources/dromaeo/web/lib/dojo-1.6.1.js: Added.
2457         * Dromaeo/resources/dromaeo/web/lib/jquery.js: Removed.
2458         * Dromaeo/resources/dromaeo/web/lib/jquery-1.6.4.js: Added.
2459         * Dromaeo/resources/dromaeo/web/lib/mootools.js: Removed.
2460         * Dromaeo/resources/dromaeo/web/lib/prototype.js: Removed.
2461         * Dromaeo/resources/dromaeo/web/lib/prototype-1.7.js: Added.
2462         * Dromaeo/resources/dromaeo/web/tests/cssquery-dojo.html:
2463         * Dromaeo/resources/dromaeo/web/tests/cssquery-jquery.html:
2464         * Dromaeo/resources/dromaeo/web/tests/cssquery-mootools.html: Removed.
2465         * Dromaeo/resources/dromaeo/web/tests/cssquery-prototype.html:
2466         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-jquery.html:
2467         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-prototype.html:
2468         * Dromaeo/resources/dromaeo/web/tests/jslib-event-jquery.html:
2469         * Dromaeo/resources/dromaeo/web/tests/jslib-event-prototype.html:
2470         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-jquery.html:
2471         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-prototype.html:
2472         * Dromaeo/resources/dromaeo/web/tests/jslib-style-jquery.html:
2473         * Dromaeo/resources/dromaeo/web/tests/jslib-style-prototype.html:
2474         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-jquery.html:
2475         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-prototype.html:
2476         * Dromaeo/sunspider-3d-morph.html: Added.
2477         * Dromaeo/sunspider-3d-raytrace.html: Added.
2478         * Dromaeo/sunspider-access-binary-trees.html: Added.
2479         * Dromaeo/sunspider-access-fannkuch.html: Added.
2480         * Dromaeo/sunspider-access-nbody.html: Added.
2481         * Dromaeo/sunspider-access-nsieve.html: Added.
2482         * Dromaeo/sunspider-bitops-3bit-bits-in-byte.html: Added.
2483         * Dromaeo/sunspider-bitops-bits-in-byte.html: Added.
2484         * Dromaeo/sunspider-bitops-bitwise-and.html: Added.
2485         * Dromaeo/sunspider-bitops-nsieve-bits.html: Added.
2486         * Dromaeo/sunspider-controlflow-recursive.html: Added.
2487         * Dromaeo/sunspider-crypto-aes.html: Added.
2488         * Dromaeo/sunspider-crypto-md5.html: Added.
2489         * Dromaeo/sunspider-crypto-sha1.html: Added.
2490         * Dromaeo/sunspider-date-format-tofte.html: Added.
2491         * Dromaeo/sunspider-date-format-xparb.html: Added.
2492         * Dromaeo/sunspider-math-cordic.html: Added.
2493         * Dromaeo/sunspider-math-partial-sums.html: Added.
2494         * Dromaeo/sunspider-math-spectral-norm.html: Added.
2495         * Dromaeo/sunspider-regexp-dna.html: Added.
2496         * Dromaeo/sunspider-string-fasta.html: Added.
2497         * Dromaeo/sunspider-string-tagcloud.html: Added.
2498         * Dromaeo/sunspider-string-unpack-code.html: Added.
2499         * Dromaeo/sunspider-string-validate-input.html: Added.
2500         * Dromaeo/v8-crypto.html: Added.
2501         * Dromaeo/v8-deltablue.html: Added.
2502         * Dromaeo/v8-earley-boyer.html: Added.
2503         * Dromaeo/v8-raytrace.html: Added.
2504         * Dromaeo/v8-richards.html: Added.
2505         * Skipped:
2506
2507 2012-02-02  Sheriff Bot  <webkit.review.bot@gmail.com>
2508
2509         Unreviewed, rolling out r106543.
2510         http://trac.webkit.org/changeset/106543
2511         https://bugs.webkit.org/show_bug.cgi?id=77671
2512
2513         Made tests less stable (Requested by rniwa on #webkit).
2514
2515         * resources/init.html: Removed.
2516
2517 2012-02-02  Ryosuke Niwa  <rniwa@webkit.org>
2518
2519         [PerformanceTests] tests have dependencies
2520         https://bugs.webkit.org/show_bug.cgi?id=77506
2521
2522         Reviewed by Hajime Morita.
2523
2524         * resources/init.html: Added.
2525
2526 2012-02-01  Ryosuke Niwa  <rniwa@webkit.org>
2527
2528         Fix after r106386. The empty anchor element was generating an erroneous whitespace.
2529
2530         * Bindings/event-target-wrapper.html:
2531
2532 2012-02-01  Ryosuke Niwa  <rniwa@webkit.org>
2533
2534         Another fix after r106379.
2535
2536         * Parser/html5-full-render.html:
2537
2538 2012-01-31  Hajime Morrita  <morrita@chromium.org>
2539
2540         Import Dromaeo to WebKit repository.
2541         https://bugs.webkit.org/show_bug.cgi?id=77328
2542
2543         Reviewed by Ryosuke Niwa.
2544
2545         Imported a modified version of Dromaeo which is able to
2546         run on the DRT.
2547
2548         The imported version originally came from:
2549         https://github.com/omo/dromaeo/commit/c942a1452109cdd5f759b3c4aee8d68d490d44a2
2550
2551         * Dromaeo/resources/dromaeo/web/application.css: Added.
2552         * Dromaeo/resources/dromaeo/web/favicon.ico: Added.
2553         * Dromaeo/resources/dromaeo/web/favicon.png: Added.
2554         * Dromaeo/resources/dromaeo/web/htmlrunner.js: Added.
2555         * Dromaeo/resources/dromaeo/web/ie.css: Added.
2556         * Dromaeo/resources/dromaeo/web/images/bg.png: Added.
2557         * Dromaeo/resources/dromaeo/web/images/clouds.png: Added.
2558         * Dromaeo/resources/dromaeo/web/images/clouds2.png: Added.
2559         * Dromaeo/resources/dromaeo/web/images/comets.png: Added.
2560         * Dromaeo/resources/dromaeo/web/images/dino1.png: Added.
2561         * Dromaeo/resources/dromaeo/web/images/dino2.png: Added.
2562         * Dromaeo/resources/dromaeo/web/images/dino3.png: Added.
2563         * Dromaeo/resources/dromaeo/web/images/dino4.png: Added.
2564         * Dromaeo/resources/dromaeo/web/images/dino5.png: Added.
2565         * Dromaeo/resources/dromaeo/web/images/dino6.png: Added.
2566         * Dromaeo/resources/dromaeo/web/images/dino7.png: Added.
2567         * Dromaeo/resources/dromaeo/web/images/dino8.png: Added.
2568         * Dromaeo/resources/dromaeo/web/images/left.png: Added.
2569         * Dromaeo/resources/dromaeo/web/images/logo.png: Added.
2570         * Dromaeo/resources/dromaeo/web/images/logo2.png: Added.
2571         * Dromaeo/resources/dromaeo/web/images/logo3.png: Added.
2572         * Dromaeo/resources/dromaeo/web/images/right.png: Added.
2573         * Dromaeo/resources/dromaeo/web/images/top.png: Added.
2574         * Dromaeo/resources/dromaeo/web/images/water.png: Added.
2575         * Dromaeo/resources/dromaeo/web/index.html: Added.
2576         * Dromaeo/resources/dromaeo/web/jquery.js: Added.
2577         * Dromaeo/resources/dromaeo/web/lib/dojo.js: Added.
2578         * Dromaeo/resources/dromaeo/web/lib/jquery.js: Added.
2579         * Dromaeo/resources/dromaeo/web/lib/mootools.js: Added.
2580         * Dromaeo/resources/dromaeo/web/lib/prototype.js: Added.
2581         * Dromaeo/resources/dromaeo/web/pngfix.js: Added.
2582         * Dromaeo/resources/dromaeo/web/reset.css: Added.
2583         * Dromaeo/resources/dromaeo/web/test-head.html: Added.
2584         * Dromaeo/resources/dromaeo/web/test-head.js: Added.
2585         * Dromaeo/resources/dromaeo/web/test-tail.html: Added.
2586         * Dromaeo/resources/dromaeo/web/test-tail.js: Added.
2587         * Dromaeo/resources/dromaeo/web/tests/MANIFEST.json: Added.
2588         * Dromaeo/resources/dromaeo/web/tests/cssquery-dojo.html: Added.
2589         * Dromaeo/resources/dromaeo/web/tests/cssquery-jquery.html: Added.
2590         * Dromaeo/resources/dromaeo/web/tests/cssquery-mootools.html: Added.
2591         * Dromaeo/resources/dromaeo/web/tests/cssquery-prototype.html: Added.
2592         * Dromaeo/resources/dromaeo/web/tests/cssquery-yui.html: Added.
2593         * Dromaeo/resources/dromaeo/web/tests/dom-attr.html: Added.
2594         * Dromaeo/resources/dromaeo/web/tests/dom-modify.html: Added.
2595         * Dromaeo/resources/dromaeo/web/tests/dom-query.html: Added.
2596         * Dromaeo/resources/dromaeo/web/tests/dom-traverse.html: Added.
2597         * Dromaeo/resources/dromaeo/web/tests/dromaeo-3d-cube.html: Added.
2598         * Dromaeo/resources/dromaeo/web/tests/dromaeo-core-eval.html: Added.
2599         * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-array.html: Added.
2600         * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-regexp.html: Added.
2601         * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-string.html: Added.
2602         * Dromaeo/resources/dromaeo/web/tests/dromaeo-string-base64.html: Added.
2603         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-jquery.html: Added.
2604         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-prototype.html: Added.
2605         * Dromaeo/resources/dromaeo/web/tests/jslib-event-jquery.html: Added.
2606         * Dromaeo/resources/dromaeo/web/tests/jslib-event-prototype.html: Added.
2607         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-jquery.html: Added.
2608         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-prototype.html: Added.
2609         * Dromaeo/resources/dromaeo/web/tests/jslib-style-jquery.html: Added.
2610         * Dromaeo/resources/dromaeo/web/tests/jslib-style-prototype.html: Added.
2611         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-jquery.html: Added.
2612         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-prototype.html: Added.
2613         * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-morph.html: Added.
2614         * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-raytrace.html: Added.
2615         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-binary-trees.html: Added.
2616         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-fannkuch.html: Added.
2617         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-nbody.html: Added.
2618         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-nsieve.html: Added.
2619         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-3bit-bits-in-byte.html: Added.
2620         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bits-in-byte.html: Added.
2621         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bitwise-and.html: Added.
2622         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-nsieve-bits.html: Added.
2623         * Dromaeo/resources/dromaeo/web/tests/sunspider-controlflow-recursive.html: Added.
2624         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-aes.html: Added.
2625         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-md5.html: Added.
2626         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-sha1.html: Added.
2627         * Dromaeo/resources/dromaeo/web/tests/sunspider-date-format-tofte.html: Added.
2628         * Dromaeo/resources/dromaeo/web/tests/sunspider-date-format-xparb.html: Added.
2629         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-cordic.html: Added.
2630         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-partial-sums.html: Added.
2631         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-spectral-norm.html: Added.
2632         * Dromaeo/resources/dromaeo/web/tests/sunspider-regexp-dna.html: Added.
2633         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-fasta.html: Added.
2634         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-tagcloud.html: Added.
2635         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-unpack-code.html: Added.
2636         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-validate-input.html: Added.
2637         * Dromaeo/resources/dromaeo/web/tests/v8-crypto.html: Added.
2638         * Dromaeo/resources/dromaeo/web/tests/v8-deltablue.html: Added.
2639         * Dromaeo/resources/dromaeo/web/tests/v8-earley-boyer.html: Added.
2640         * Dromaeo/resources/dromaeo/web/tests/v8-raytrace.html: Added.
2641         * Dromaeo/resources/dromaeo/web/tests/v8-richards.html: Added.
2642         * Dromaeo/resources/dromaeo/web/tests/72px.png: Added.
2643         * Dromaeo/resources/dromaeo/web/web-style.css: Added.
2644         * Dromaeo/resources/dromaeo/web/webrunner.js: Added.
2645         * Skipped: Unskip the dromaeo driver.
2646
2647 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
2648
2649         Fix Parser/html5-full-render.html after r106379.
2650
2651         * Parser/html5-full-render.html:
2652
2653 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
2654
2655         PerfTestRunner should automatically create pre#log
2656         https://bugs.webkit.org/show_bug.cgi?id=77469
2657
2658         Reviewed by Tony Chang.
2659
2660         Automatically generate <pre id="log"></pre> if there isn't one.
2661
2662         * Bindings/event-target-wrapper.html:
2663         * DOM/Accessors.html:
2664         * DOM/CloneNodes.html:
2665         * DOM/CreateNodes.html:
2666         * DOM/DOMDivWalk.html:
2667         * DOM/DOMTable.html:
2668         * DOM/DOMWalk.html:
2669         * DOM/Events.html:
2670         * DOM/GetElement.html:
2671         * DOM/GridSort.html:
2672         * DOM/Template.html:
2673         * Dromaeo/dom-query.html:
2674         * Dromaeo/resources/dromaeorunner.js:
2675         * Parser/html-parser.html:
2676         * Parser/html5-full-render.html:
2677         * Parser/simple-url.html:
2678         * Parser/tiny-innerHTML.html:
2679         * Parser/url-parser.html:
2680         * Parser/xml-parser.html:
2681         * resources/runner.js:
2682         (PerfTestRunner.log):
2683         (PerfTestRunner.printStatistics):
2684
2685 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
2686
2687         runner.js in performance tests should define a class
2688         https://bugs.webkit.org/show_bug.cgi?id=77074
2689
2690         Reviewed by Eric Seidel.
2691
2692         Wrap all functions in runner.js by PerfTestRunner and update tests that runner.js accordingly.
2693         Also replace compute* functions in runner.js by more robust code from dom-perf.js.
2694
2695         * Bindings/event-target-wrapper.html:
2696         * DOM/DOMTable.html:
2697         * DOM/resources/dom-perf.js:
2698         (BenchmarkSuite.prototype.RunSingle):
2699         (runBenchmarkSuite):
2700         * Mutation/append-child-deep.html:
2701         * Mutation/append-child.html:
2702         * Mutation/inner-html.html:
2703         * Mutation/remove-child-deep.html:
2704         * Mutation/remove-child.html:
2705         * Parser/html-parser.html:
2706         * Parser/html5-full-render.html:
2707         * Parser/simple-url.html:
2708         * Parser/tiny-innerHTML.html:
2709         * Parser/url-parser.html:
2710         * Parser/xml-parser.html:
2711         * resources/runner.js:
2712         (PerfTestRunner.log):
2713         (PerfTestRunner.logInfo):
2714         (PerfTestRunner.loadFile):
2715         (PerfTestRunner.computeStatistics):
2716         (PerfTestRunner.logStatistics):
2717         (PerfTestRunner._runLoop.else):
2718         (PerfTestRunner._runLoop):
2719         (PerfTestRunner._runner):
2720
2721 2012-01-31  Hajime Morrita  <morrita@chromium.org>
2722
2723         [PerformanceTests] Add landing html for Dromaeo dom-query test
2724         https://bugs.webkit.org/show_bug.cgi?id=77329
2725
2726         Reviewed by Ryosuke Niwa.
2727
2728         Added a "landing html" which includes actual dromaemo page and
2729         send messages to interact with it. The landing html also dumps the
2730         score in run-perf-tests friendly format.
2731
2732         This test isn't enabled until Dromaemo itself is available for run-perf-tests.
2733         It will happen in a separate change.
2734
2735         * Dromaeo/dom-query.html: Added.
2736         * Dromaeo/resources/dromaeorunner.js: Added.
2737         * Skipped: Skipping this for now.
2738
2739 2012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
2740
2741         Skip inspector tests since they have been timing out.
2742
2743         * Skipped:
2744
2745 2012-01-29  Ryosuke Niwa  <rniwa@webkit.org>
2746
2747         DOM/DOMDivWalk.html result is unreliable
2748         https://bugs.webkit.org/show_bug.cgi?id=77313
2749
2750         Reviewed by Adam Barth.
2751
2752         Trigger garbage collection manually between test runs to avoid GC
2753         to occur in the middle of runs.
2754
2755         * DOM/resources/dom-perf.js:
2756         (BenchmarkSuite.prototype.RunSingle):
2757         * resources/runner.js:
2758         (gc.else.gcRec):
2759         (gc):
2760         (runLoop):
2761
2762 2012-01-26  Ryosuke Niwa  <rniwa@webkit.org>
2763
2764         Import Chromium's dom_perf test
2765         https://bugs.webkit.org/show_bug.cgi?id=77175
2766
2767         Reviewed by Adam Barth.
2768
2769         Import dom_perf.
2770
2771         Note resources/dom/suites.js isn't used by any html file yet but it will be used by Chromium port
2772         once its perf bots start pulling test files from WebKit repository instead of Google's internal repository.
2773
2774         * DOM: Added.
2775         * DOM/Accessors.html: Added.
2776         * DOM/CloneNodes.html: Added.
2777         * DOM/CreateNodes.html: Added.
2778         * DOM/DOMDivWalk.html: Added.
2779         * DOM/DOMTable.html: Added.
2780         * DOM/DOMWalk.html: Added.
2781         * DOM/Events.html: Added.
2782         * DOM/GetElement.html: Added.
2783         * DOM/GridSort.html: Added.
2784         * DOM/Template.html: Added.
2785         * DOM/resources: Added.
2786         * DOM/resources/dom-perf.js: Added.
2787         * DOM/resources/dom-perf: Added.
2788         * DOM/resources/dom-perf/accessors.js: Added.
2789         * DOM/resources/dom-perf/clonenodes.js: Added.
2790         * DOM/resources/dom-perf/createnodes.js: Added.
2791         * DOM/resources/dom-perf/domdivwalk.js: Added.
2792         * DOM/resources/dom-perf/domtable.js: Added.
2793         * DOM/resources/dom-perf/domwalk.js: Added.
2794         * DOM/resources/dom-perf/events.js: Added.
2795         * DOM/resources/dom-perf/getelement.js: Added.
2796         * DOM/resources/dom-perf/gridsort.js: Added.
2797         * DOM/resources/dom-perf/suites.js: Added.
2798         * DOM/resources/dom-perf/template.js: Added.
2799         * resources/runner.js:
2800
2801 2012-01-25  Ryosuke Niwa  <rniwa@webkit.org>
2802
2803         html5-full-render.html fails due to a log
2804         https://bugs.webkit.org/show_bug.cgi?id=77046
2805
2806         Reviewed by Adam Barth.
2807
2808         Replace the call to log() in html5-full-render.html by a call to newly added logInfo(),
2809         which doesn't print anything inside DRT.
2810
2811         * Parser/html5-full-render.html:
2812         * resources/runner.js:
2813         (logInfo):
2814
2815 2012-01-19  Adam Barth  <abarth@webkit.org>
2816
2817         PerformanceTests's runner.js shouldn't be Parser-specific
2818         https://bugs.webkit.org/show_bug.cgi?id=76670
2819
2820         Reviewed by Ryosuke Niwa.
2821
2822         This runner script is used by a bunch of difference performance tests.
2823         It shouldn't be in the Parser directory anymore.
2824
2825         * Bindings/event-target-wrapper.html:
2826         * Mutation/append-child-deep.html:
2827         * Mutation/append-child.html:
2828         * Mutation/inner-html.html:
2829         * Mutation/remove-child-deep.html:
2830         * Mutation/remove-child.html:
2831         * Parser/html-parser.html:
2832         * Parser/html5-full-render.html:
2833         * Parser/resources/runner.js: Removed.
2834         * Parser/simple-url.html:
2835         * Parser/tiny-innerHTML.html:
2836         * Parser/url-parser.html:
2837         * Parser/xml-parser.html:
2838         * resources: Added.
2839         * resources/runner.js: Copied from PerformanceTests/Parser/resources/runner.js.
2840
2841 2012-01-19  Ryosuke Niwa  <rniwa@webkit.org>
2842
2843         Some perf tests time out when ran by run-perf-tests
2844         https://bugs.webkit.org/show_bug.cgi?id=76612
2845
2846         Reviewed by Dirk Pranke and Eric Seidel.
2847
2848         Replace all images in html5.html by geenbox.png to avoid accessing whatwg.org when
2849         running the parser tests. Also call dumpAsText, waitUntilDone, and notifyDone automatically
2850         inside runner.js to avoid having to call them in individual tests.
2851
2852         * Bindings/event-target-wrapper.html: Removed calls to layoutTestController methods since
2853         they are now called by runner.js automatically.
2854         * Parser/resources/greenbox.png: Copied from LayoutTests/fast/css/resources/greenbox.png.
2855         * Parser/resources/html5.html:
2856         * Parser/resources/runner.js:
2857         (runLoop):
2858
2859 2012-01-18  Ryosuke Niwa  <rniwa@webkit.org>
2860
2861         run-perf-tests should support Skipped list
2862         https://bugs.webkit.org/show_bug.cgi?id=76594
2863
2864         Reviewed by Adam Barth.
2865
2866         Add Skipped list to be used by run-perf-tests as it can only runs tests in
2867         Bindings, Parser, and inspector at the moment.
2868
2869         * Skipped: Added.
2870
2871 2012-01-12  Ilya Tikhonovsky  <loislo@chromium.org>
2872
2873         Web Inspector: performance: restore 'log 300 messages into console' test.
2874         https://bugs.webkit.org/show_bug.cgi?id=76170
2875
2876         It was removed in order of transition from layout tests to perf tests.
2877
2878         Reviewed by Yury Semikhatsky.
2879
2880         * inspector/console-300-lines.html: Added.
2881
2882 2012-01-12  Ilya Tikhonovsky  <loislo@chromium.org>
2883
2884         Web Inspector: performance tests: fix memory leak in first-open-resources test.
2885         https://bugs.webkit.org/show_bug.cgi?id=76049
2886
2887         first-open-resources doesn't reset resource panel properly after test run.
2888
2889         Reviewed by Yury Semikhatsky.
2890
2891         * inspector/first-open-resources.html:
2892
2893 2012-01-10  Ilya Tikhonovsky  <loislo@chromium.org>
2894
2895         Unreviewed. WebInspector: Remove unnecessary logging from the test.
2896
2897         * inspector/first-open-resources.html:
2898
2899 2012-01-10  Ilya Tikhonovsky  <loislo@chromium.org>
2900
2901         Unreviewed. Restore test that was removed during migration from LayoutTests folder.
2902
2903         * inspector/first-open-resources.html: Added.
2904
2905 2012-01-09  Ilya Tikhonovsky  <loislo@chromium.org>
2906
2907         Unreviewed test fix after r103683.
2908
2909         * inspector/first-open-scripts.html:
2910         * inspector/show-panel.html:
2911
2912 2012-01-03  Adam Barth  <abarth@webkit.org>
2913
2914         html-parser.html takes too long to run
2915         https://bugs.webkit.org/show_bug.cgi?id=75515
2916
2917         Reviewed by Eric Seidel.
2918
2919         In working on runner.js, we introduced a factor of 10 increase to the
2920         running time of this benchmark.  This patch dials down the number of
2921         iterations to something more user-friendly.
2922
2923         * Parser/html-parser.html:
2924
2925 2011-12-18  Ilya Tikhonovsky  <loislo@chromium.org>
2926
2927         Web Inspector: move heap data stats to separate tab.
2928         https://bugs.webkit.org/show_bug.cgi?id=74704
2929
2930         Reviewed by Pavel Feldman.
2931
2932         * inspector/performance-test.js:
2933         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._dump):
2934         (initialize_TimeTracker.InspectorTest.runPerformanceTest):
2935
2936 2011-12-01  Ilya Tikhonovsky  <loislo@chromium.org>
2937
2938         Web Inspector: chromium: move and adapt Inspector's performance tests for running with run-inspector-perf-tests.py.
2939         https://bugs.webkit.org/show_bug.cgi?id=72260
2940
2941         Reviewed by Pavel Feldman.
2942
2943         * inspector/first-open-elements.html: Renamed from LayoutTests/inspector/performance/resources/first-open-elements.html.
2944         * inspector/first-open-scripts.html: Renamed from LayoutTests/inspector/performance/resources/first-open-scripts.html.
2945         * inspector/inspector-startup-time.html: Renamed from LayoutTests/inspector/performance/resources/inspector-startup-time.html.
2946         * inspector/network-append-30-requests.html: Renamed from LayoutTests/inspector/performance/resources/network-append-30-requests.html.
2947         * inspector/performance-test.js: Renamed from LayoutTests/inspector/performance/resources/performance-test.js.
2948         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer):
2949         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.start):
2950         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.finish):
2951         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._getJSHeapSize):
2952         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.done):
2953         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._runTest):
2954         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._dump):
2955         (initialize_TimeTracker.InspectorTest.runPerformanceTest):
2956         (initialize_TimeTracker.InspectorTest.mark):
2957         * inspector/show-panel.html: Renamed from LayoutTests/inspector/performance/resources/show-panel.html.
2958
2959 2011-11-09  Adam Klein  <adamk@chromium.org>
2960
2961         [MutationObservers] Microbenchmarks for appendChild, removeChild, and innerHTML
2962         https://bugs.webkit.org/show_bug.cgi?id=71939
2963
2964         Reviewed by Ojan Vafai.
2965
2966         These benchmarks time both the DOM mutations themselves and the time taken
2967         to call the MutationCallback. This measurement is achieved by
2968         executing the code entirely within the MutationCallback itself.
2969
2970         * Mutation/append-child-deep.html: Added. Covers appendChild in a 200-node-deep tree with subtree observation.
2971         * Mutation/append-child.html: Added. Covers appendChild in a flat tree.
2972         * Mutation/inner-html.html: Added. Covers innerHTML adding and removing many nodes at a time.
2973         * Mutation/remove-child-deep.html: Added. Covers removeChild in a 200-node-deep tree with subtree observation.
2974         * Mutation/remove-child.html: Added. Covers removeChild in a flat tree.
2975
2976 2011-10-25  Adam Barth  <abarth@webkit.org>
2977
2978         EventTargetFactory.in is not sorted
2979         https://bugs.webkit.org/show_bug.cgi?id=70855
2980
2981         Reviewed by Eric Seidel.
2982
2983         Add a microbenchmark for wrapping event target.
2984
2985         * Bindings: Added.
2986         * Bindings/event-target-wrapper.html: Added.
2987         * Parser/resources/runner.js:
2988         (runLoop):
2989             - Let the user of the harness get a callback when the test is done.
2990
2991 2011-10-04  Eric Seidel  <eric@webkit.org>
2992
2993         Update html5-full-render.html to load the HTML5 spec incrementally, closer to how the browser would
2994         https://bugs.webkit.org/show_bug.cgi?id=69374
2995
2996         Unreviewed.
2997
2998         Per https://bugs.webkit.org/show_bug.cgi?id=69374#c7
2999         updating the chunksize to be a bit smaller now that the total
3000         size of the html5 spec is smaller than when I wrote the test.
3001
3002         This should increase the prevalence of style resolution in the
3003         sample time, which more closely matches instrument samples
3004         taken when loading the full page in Safari.
3005
3006         * Parser/html5-full-render.html:
3007
3008 2011-10-04  Eric Seidel  <eric@webkit.org>
3009
3010         Update html5-full-render.html to load the HTML5 spec incrementally, closer to how the browser would
3011         https://bugs.webkit.org/show_bug.cgi?id=69374
3012
3013         Reviewed by James Robinson.
3014
3015         This should finally be able to provide us with a repeatable metric
3016         for how fast we're currently able to load the HTML5 spec.
3017         There are a variety of interesting functions which show up in this
3018         sample, including of course style resolution.
3019
3020         * Parser/html5-full-render.html:
3021
3022 2011-10-04  Eric Seidel  <eric@webkit.org>
3023
3024         Update our copy of the HTML5 spec used for performance testing to match the latest version
3025         https://bugs.webkit.org/show_bug.cgi?id=69364
3026
3027         Unreviewed.  The patch is too large to post, so landing this unreviewed. :(
3028
3029         The copy of the html5 spec we were using for testing was over a year old
3030         and didn't have any of the subresources with it (we were only using it
3031         as an HTML parsing benchmark).  I'm about to use it for testing
3032         the full load/render time of the benchmark, so I've updated to the latest
3033         version of the spec (now 8mb instead of 5mb) and inlined two of the
3034         CSS files.  (Inlining the CSS was necessary to make my testing consistent
3035         as there seems to be a race with some timer fired after CSS load.)
3036
3037         Increasing from 5mb to 8mb showed a similar 30% slowdown in our parser
3038         benchmarks as expected.
3039
3040         * Parser/resources/html5.html:
3041
3042 2011-10-04  Eric Seidel  <eric@webkit.org>
3043
3044         Add loopsPerRun option to Parser performance test runner
3045         https://bugs.webkit.org/show_bug.cgi?id=69363
3046
3047         Reviewed by Antti Koivisto.
3048
3049         Add loopsPerRun option and abstract out runLoop function (to make the UI more responsive).
3050         No change in behavior in any of the tests.
3051
3052         * Parser/resources/runner.js:
3053         (runLoop):
3054         (run):
3055         (start):
3056
3057 2011-10-03  Eric Seidel  <eric@webkit.org>
3058
3059         Add a microbenchmark for a full-page render of the HTML5 spec
3060         https://bugs.webkit.org/show_bug.cgi?id=69285
3061
3062         Reviewed by Adam Barth.
3063
3064         This was designed to be a test for https://bugs.webkit.org/show_bug.cgi?id=68944
3065         But it seems that by far our dominating cost for the HTML5 benchmark is
3066         time spent laying out lines (which isn't actually that surprising).
3067
3068         I'm adding the performance test for posterity.
3069
3070         * Parser/html-parser.html:
3071          - Removed use of "about:blank" which abarth says is a no-op.  Made comment more accurate.
3072         * Parser/html5-full-render.html: Copied from PerformanceTests/Parser/html-parser.html.
3073
3074 2011-10-03  Eric Seidel  <eric@webkit.org>
3075
3076         PerformanceTests/Parser/html-parser is only testing parsing of the head element
3077         https://bugs.webkit.org/show_bug.cgi?id=69283
3078
3079         Reviewed by Adam Barth.
3080
3081         While investigating https://bugs.webkit.org/show_bug.cgi?id=68944
3082         I found that the html-parser benchmark was only parsing up to the
3083         first script tag per loop!  We've fixed this by adding the sandbox
3084         tag which will deny all external loads and allow the parser to
3085         synchronously continue parsing the entire document to completion
3086         (as we had expected it was doing).
3087
3088         This changes the profile somewhat.  Line number counting is much
3089         hotter, since we're actually accounting for the parse of the entire
3090         document in our sample.
3091
3092         Total sample time only about doubles, from 1800ms to 3800ms on my machine
3093         which is less than I would have expected.
3094
3095         * Parser/html-parser.html:
3096
3097 2011-08-09  Alexandru Chiculita  <achicu@adobe.com>
3098
3099         Fixing 65868 REGRESSION(r92610) caused by 65668 - Optimize floating elements lookup
3100         https://bugs.webkit.org/show_bug.cgi?id=65871
3101
3102         Reviewed by Dave Hyatt.
3103
3104         * Layout/floats.html: Added the nested divs, so that we can test the propagation impact of the floats tree.
3105
3106 2011-08-08  Sheriff Bot  <webkit.review.bot@gmail.com>
3107
3108         Unreviewed, rolling out r92610.
3109         http://trac.webkit.org/changeset/92610
3110         https://bugs.webkit.org/show_bug.cgi?id=65868
3111
3112         Caused assertion failures when running fast/multicol tests
3113         (Requested by andersca on #webkit).
3114
3115         * Layout/floats.html:
3116
3117 2011-08-08  Alexandru Chiculita  <achicu@adobe.com>
3118
3119         Optimize floating elements lookup
3120         https://bugs.webkit.org/show_bug.cgi?id=65668
3121
3122         Reviewed by David Hyatt.
3123
3124         * Layout/floats.html: Added the nested divs, so that we can test the propagation impact of the floats tree.
3125
3126 2011-08-04  Alexandru Chiculita  <achicu@adobe.com>
3127
3128         Add a performance test for floating elements layout algorithm
3129         https://bugs.webkit.org/show_bug.cgi?id=65741
3130
3131         The test creating lots of small floats and randomly changes
3132         the width of one element at a time. It measures how often it can do that.
3133
3134         Reviewed by Adam Barth.
3135
3136         * Layout/floats.html: Added.
3137
3138 2011-05-30  Daniel Bates  <dbates@webkit.org>
3139
3140         Reviewed by Adam Barth.
3141
3142         Rename XSSFilter to XSSAuditor
3143         https://bugs.webkit.org/show_bug.cgi?id=61718
3144
3145         Currently we use the names XSSFilter and XSSAuditor throughout the project.
3146         Instead, we should choose one name for consistency.
3147
3148         No functionality was changed. So, no new tests.
3149
3150         * XSSAuditor: Copied from PerformanceTests/XSSFilter.
3151         * XSSFilter: Removed.
3152         * XSSFilter/large-post-many-events.html: Removed.
3153         * XSSFilter/large-post-many-inline-scripts-and-events.html: Removed.
3154         * XSSFilter/resources: Removed.
3155         * XSSFilter/resources/target-for-large-post-many-inline-scripts-and-events.html: Removed.
3156
3157 2011-03-25  Leo Yang  <leo.yang@torchmobile.com.cn>
3158
3159         Reviewed by Dirk Schulze.
3160
3161         SVG <use> element performance improvement
3162         https://bugs.webkit.org/show_bug.cgi?id=57077
3163
3164         Add a manual test case which is from
3165         http://upload.wikimedia.org/wikipedia/commons/4/4e/Sierpinski_carpet_6.svg
3166         for svg <use> element performance test.
3167
3168         * PageLoad/svg/files/Sierpinski_carpet_6.svg: Added.
3169         * PageLoad/svg/svg.pltsuite:
3170
3171 2011-02-05  Eric Seidel  <eric@webkit.org>
3172
3173         Reviewed by Adam Barth.
3174
3175         Add performance tests for URL parsing
3176         https://bugs.webkit.org/show_bug.cgi?id=53845
3177
3178         The final-url-en URL corpus is from:
3179         http://corpus.leeds.ac.uk/internet.html
3180
3181         There are also other language corpuses which we may want to use in the future.
3182
3183         The usage instructions were as follows:
3184         "URL lists and other resources: you can freely use them in your research
3185         provided that you supply a link to this website: http://corpus.leeds.ac.uk/."
3186         Done.
3187
3188         * Parser/simple-url.html: Added.
3189          On my machine:
3190          Firefox: 255ms
3191          TOT WebKit: 378ms
3192          Chrome: 286ms
3193          Opera: 2830ms (no, that is not a typo)
3194         * Parser/url-parser.html: Added.
3195          Firefox: 381ms
3196          TOT WebKit: 216ms
3197          Chrome: 131ms
3198          Opera: 1383ms (again, not a typo)
3199         * Parser/resources/final-url-en: Added.
3200
3201 2011-02-03  Adam Barth  <abarth@webkit.org>
3202
3203         Reviewed by Daniel Bates.
3204
3205         Add another XSSFilter PerformanceTest
3206         https://bugs.webkit.org/show_bug.cgi?id=53750
3207
3208         This PerformanceTest tests the case that was slow in
3209         https://bugs.webkit.org/show_bug.cgi?id=49845
3210
3211         * XSSFilter/large-post-many-inline-scripts-and-events.html: Added.
3212         * XSSFilter/resources: Added.
3213         * XSSFilter/resources/target-for-large-post-many-inline-scripts-and-events.html: Added.
3214
3215 2011-02-03  Adam Barth  <abarth@webkit.org>
3216
3217         Reviewed by Eric Seidel.
3218
3219         Add PerformanceTest for XSSFilter
3220         https://bugs.webkit.org/show_bug.cgi?id=53741
3221
3222         This performance tests covers the case of a large POST data and many
3223         small event handlers.
3224
3225         * XSSFilter: Added.
3226         * XSSFilter/large-post-many-events.html: Added.
3227
3228 2011-02-02  Adam Barth  <abarth@webkit.org>
3229
3230         Rubber-stamped by Eric Seidel.
3231
3232         Merge PerformanceTests/Parser/ChangeLog and
3233         PerformanceTests/PageLoad/ChangeLog into PerformanceTests/ChangeLog.
3234
3235         It's silly to have ChangeLogs for each of these directories separately.
3236         I've left SunSpider with its own ChangeLog because it's more of an
3237         independent entity.
3238
3239         * ChangeLog: Added.
3240
3241 2011-02-02  Eric Seidel  <eric@webkit.org>
3242
3243         Unreviewed.  Just fixing an exception seen in Firefox.
3244
3245         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
3246         https://bugs.webkit.org/show_bug.cgi?id=48719
3247
3248         Make the benchmarks work in Firefox/Opera.
3249
3250         * resources/runner.js:
3251         (log):
3252
3253 2011-01-27  Eric Seidel  <eric@webkit.org>
3254
3255         Reviewed by Darin Adler.
3256
3257         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
3258         https://bugs.webkit.org/show_bug.cgi?id=48719
3259
3260         It's unclear exactly what the Peacekeeper benchmark is testing,
3261         because I haven't found a way to run it myself.
3262
3263         However, I constructed a benchmark which shows at least one possible slow point.
3264         The HTML5 spec talks about creating a new document for every time we use
3265         the fragment parsing algorithm.  Document() it turns out, it a huge bloated
3266         mess, and the constructor and destructor do a huge amount of work.
3267
3268         * benchmarks/parser/tiny-innerHTML.html: Added.
3269
3270 2011-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
3271
3272         Unreviewed, rolling out r77050.
3273         http://trac.webkit.org/changeset/77050
3274         https://bugs.webkit.org/show_bug.cgi?id=53371
3275
3276         Caused a crash in Chromium's test_shell_tests (Requested by
3277         rniwa on #webkit).
3278
3279         * resources/performance-test.js: Removed.
3280         * tiny-innerHTML.html: Removed.
3281
3282 2011-01-28  Eric Seidel  <eric@webkit.org>
3283
3284         Reviewed by Darin Adler.
3285
3286         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
3287         https://bugs.webkit.org/show_bug.cgi?id=48719
3288
3289         It's unclear exactly what the Peacekeeper benchmark is testing,
3290         because I haven't found a way to run it myself.
3291
3292         However, I constructed a benchmark which shows at least one possible slow point.
3293         The HTML5 spec talks about creating a new document for every time we use
3294         the fragment parsing algorithm.  Document() it turns out, it a huge bloated
3295         mess, and the constructor and destructor do a huge amount of work.
3296         To avoid constructing (or destructing) documents for each innerHTML call,
3297         this patch adds a shared dummy document used by all innerHTML calls.
3298
3299         * benchmarks/parser/tiny-innerHTML.html: Added.
3300
3301 2010-12-31  Adam Barth  <abarth@webkit.org>
3302
3303         Rubber-stamped by Eric Seidel.
3304
3305         Move HTML and XML parser benchmarks into PerformanceTests/Parser
3306         https://bugs.webkit.org/show_bug.cgi?id=51772
3307
3308         Add a ChangeLog for tracking changes to the Parser PerformanceTest.
3309
3310         * ChangeLog: Added.
3311
3312 2010-12-31  Adam Barth  <abarth@webkit.org>
3313
3314         Rubber-stamped by Eric Seidel.
3315
3316         Move PageLoadTests to PerformanceTests/PageLoad
3317         https://bugs.webkit.org/show_bug.cgi?id=51771
3318
3319         Update URLs to point to the new directory name.
3320
3321         * svg/svg.pltsuite:
3322
3323 2006-12-26  Eric Seidel  <eric@webkit.org>
3324
3325         Reviewed by olliej.
3326
3327         * svg/svg.pltsuite: re-enable word-iso.svg after fixing http://bugs.webkit.org/show_bug.cgi?id=11987
3328
3329 2006-12-26  Eric Seidel  <eric@webkit.org>
3330
3331         Reviewed by bradee-oh.
3332         
3333         Add new PageLoadTests directory (this one)
3334         Add LICENSES file to explain where each SVG came from.
3335
3336         * ChangeLog: Added.
3337         * svg/LICENSES: Added.
3338         * svg/files/33041-Samurai.svg: Added.
3339         * svg/files/42470-flower_from_my_garden_v2.svg: Added.
3340         * svg/files/Harvey_Rayner.svg: Added.
3341         * svg/files/az-lizard_benji_park_01.svg: Added.
3342         * svg/files/bamboo_01.svg: Added.
3343         * svg/files/cacuts_01.svg: Added.
3344         * svg/files/cowboy.svg: Added.
3345         * svg/files/crawfish2_ganson.svg: Added.
3346         * svg/files/deb9frac1.svg: Added.
3347         * svg/files/food_leif_lodahl_01.svg: Added.
3348         * svg/files/france.svg: Added.
3349         * svg/files/francobollo_gnome_ezechi_02.svg: Added.
3350         * svg/files/gearflowers.svg: Added.
3351         * svg/files/hereGear4.svg: Added.
3352         * svg/files/mtsthelens.svg: Added.
3353         * svg/files/mtsthelens0.jpg: Added.
3354         * svg/files/world-iso.svg: Added.
3355         * svg/files/worldcup.svg: Added.
3356         * svg/svg.pltsuite: Added.
3357