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