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