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