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