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