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