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