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