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