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