[perf-test] Add a benchmark for body.scrollTop
[WebKit-https.git] / PerformanceTests / ChangeLog
1 2012-05-17  Kentaro Hara  <haraken@chromium.org>
2
3         [perf-test] Add a benchmark for body.scrollTop
4         https://bugs.webkit.org/show_bug.cgi?id=86806
5
6         Reviewed by Ryosuke Niwa.
7
8         Currently Bindings/dom-attributes.html is just a collection of random
9         DOM attributes and methods. We should remove it and instead add more
10         reasonable micro benchmarks by classifying DOM binding call paths.
11
12         This patch adds a benchmark for body.scrollTop, which covers other
13         DOM attributes that return small integers.
14
15         (Note: Performance optimization for the benchmark will be coming soon.)
16
17         Test results in my Linux desktop:
18
19         RESULT Bindings: scroll-top= 209.410654239 runs/s
20         median= 211.64021164 runs/s, stdev= 4.09958741195 runs/s, min= 201.005025126 runs/s, max= 212.483399734 runs/s
21
22         RESULT Bindings: scroll-top= 195.651111157 runs/s
23         median= 196.319018405 runs/s, stdev= 1.77011627406 runs/s, min= 191.846522782 runs/s, max= 197.28729963 runs/s
24         RESULT Bindings: scroll-top= 200.004907612 runs/s
25         median= 201.511335013 runs/s, stdev= 3.27455403827 runs/s, min= 193.236714976 runs/s, max= 202.53164557 runs/s
26
27         RESULT Bindings: scroll-top= 209.582737512 runs/s
28         median= 210.803689065 runs/s, stdev= 3.16769655464 runs/s, min= 203.045685279 runs/s, max= 211.920529801 runs/s
29
30         RESULT Bindings: scroll-top= 199.924607687 runs/s
31         median= 201.13144338 runs/s, stdev= 3.11080503619 runs/s, min= 193.003618818 runs/s, max= 202.02020202 runs/s
32
33         * Bindings/scroll-top.html: Added.
34
35 2012-05-17  Kentaro Hara  <haraken@chromium.org>
36
37         [perf-test] Add a micro benchmark for div.firstChild getter for an undefined firstChild
38         https://bugs.webkit.org/show_bug.cgi?id=86725
39
40         Reviewed by Ryosuke Niwa.
41
42         We are going to remove Bindings/dom-attributes.html and instead add more
43         reasonable micro benchmarks by classifying DOM binding call paths.
44
45         In this bug, we add a micro benchmark for div.firstChild getter for an
46         undefined firstChild. This benchmark covers other undefined DOM attributes
47         that return a null.
48
49         (Note: In V8, div.firstChild for an undefined firstChild is currently slower
50         than div.firstChild for a defined firstChild.)
51
52         Test results in my Linux desktop:
53
54         RESULT Bindings: undefined-first-child= 541.408311042 runs/s
55         median= 541.205412054 runs/s, stdev= 1.29841219187 runs/s, min= 537.897310513 runs/s, max= 543.209876543 runs/s
56
57         RESULT Bindings: undefined-first-child= 541.00750695 runs/s
58         median= 540.540540541 runs/s, stdev= 0.967521230965 runs/s, min= 539.215686275 runs/s, max= 543.209876543 runs/s
59
60         RESULT Bindings: undefined-first-child= 523.630714897 runs/s
61         median= 523.560209424 runs/s, stdev= 1.01570919645 runs/s, min= 522.193211488 runs/s, max= 525.624178712 runs/s
62
63         RESULT Bindings: undefined-first-child= 553.077663588 runs/s
64         median= 553.459119497 runs/s, stdev= 0.805697397863 runs/s, min= 551.378446115 runs/s, max= 554.156171285 runs/s
65
66         RESULT Bindings: undefined-first-child= 541.5401432 runs/s
67         median= 541.538666618 runs/s, stdev= 0.954301364767 runs/s, min= 539.877300613 runs/s, max= 543.209876543 runs/s
68
69         * Bindings/undefined-first-child.html: Added.
70
71 2012-05-17  Kentaro Hara  <haraken@chromium.org>
72
73         [Performance test] Add a micro benchmark for div.firstChild getter
74         https://bugs.webkit.org/show_bug.cgi?id=86582
75
76         Reviewed by Ryosuke Niwa.
77
78         We are going to remove Bindings/dom-attributes.html and instead add more
79         reasonable micro benchmarks by classifying DOM binding call paths.
80
81         In this bug, we add a micro benchmark for div.firstChild getter.
82         This benchmark covers 'firstChild', 'lastChild', 'nextSibling' and
83         'previousSibling' in Dromaeo/dom-traverse.html, and other DOM attributes
84         that return a Node object.
85
86         Multiple test results in my Linux desktop:
87
88         RESULT Bindings: first-child= 798.157160346 runs/s
89         median= 798.004987531 runs/s, stdev= 1.52006063407 runs/s, min= 796.019900498 runs/s, max= 801.001251564 runs/s
90         RESULT Bindings: first-child= 797.603608554 runs/s
91         median= 797.872340426 runs/s, stdev= 2.2522621261 runs/s, min= 791.556728232 runs/s, max= 801.001251564 runs/s
92         RESULT Bindings: first-child= 798.656295468 runs/s
93         median= 798.004987531 runs/s, stdev= 1.79367478063 runs/s, min= 797.01120797 runs/s, max= 803.011292346 runs/s
94         RESULT Bindings: first-child= 797.812784267 runs/s
95         median= 798.004987531 runs/s, stdev= 2.31766523191 runs/s, min= 791.100123609 runs/s, max= 802.005012531 runs/s
96         RESULT Bindings: first-child= 797.963311597 runs/s
97         median= 798.004987531 runs/s, stdev= 2.53014907337 runs/s, min= 789.14919852 runs/s, max= 801.001251564 runs/s
98
99         * Bindings/first-child.html: Added.
100
101 2012-05-16  Kentaro Hara  <haraken@chromium.org>
102
103         [Performance test] Support "description" for PerfTestRunner.run and PerfTestRunner.runPerSecond
104         https://bugs.webkit.org/show_bug.cgi?id=86696
105
106         Reviewed by Ryosuke Niwa.
107
108         We want to add some description for each PerfTestRunner.run and
109         PerfTestRunner.runPerSecond, so that people can know what each
110         run is testing.
111
112         Output example:
113
114         $ ./Tools/Scripts/run-perf-tests Bindings/first-child.html
115         Running Bindings/first-child.html (1 of 1)
116         DESCRIPTION: Benchmark for DOM attributes that return a Node object.
117         RESULT Bindings: first-child= 788.359076534 runs/s
118         median= 797.508097751 runs/s, stdev= 19.0972905207 runs/s, min= 746.666666667 runs/s, max= 801.001251564 runs/s
119
120         * resources/runner.js:
121         (PerfTestRunner.logStatistics):
122         (PerfTestRunner.printStatistics):
123         (PerfTestRunner.runPerSecond):
124
125 2012-05-16  Yury Semikhatsky  <yurys@chromium.org>
126
127         Unreviewed. Fix heap profiler performance test after r117234.
128
129         * inspector/heap-snapshot.html:
130
131 2012-05-14  Ryosuke Niwa  <rniwa@webkit.org>
132
133         Convert CSS and Parser tests to runs/s tests
134         https://bugs.webkit.org/show_bug.cgi?id=86399
135
136         Reviewed by Ojan Vafai.
137
138         Use runPerSecond instead of run to measure results in function calls per second (run/s) instead of time (ms).
139         This allows us to continue measuring performance reliably even when WebKit's performance improves and results
140         become too small for Date.now()'s precision (around 15 ms).
141
142         It should also reduce perf. bots cycle time for slower tests because we limit the number of function calls by time.
143
144         * CSS/CSSPropertySetterGetter.html:
145         * CSS/CSSPropertyUpdateValue.html:
146         * Parser/css-parser-yui.html:
147         * Parser/simple-url.html:
148         * Parser/tiny-innerHTML.html:
149         * Parser/url-parser.html:
150         * Parser/xml-parser.html:
151
152 2012-05-14  Dan Bernstein  <mitz@apple.com>
153
154         Add a line layout performance test
155         https://bugs.webkit.org/show_bug.cgi?id=86216
156
157         Reviewed by Ryosuke Niwa.
158
159         * Layout/line-layout.html: Added.
160
161 2012-05-14  Tony Chang  <tony@chromium.org>
162
163         Don't append log lines while perf tests are running.
164         https://bugs.webkit.org/show_bug.cgi?id=86028
165
166         Reviewed by Ryosuke Niwa.
167
168         In some tests, the extra DOM nodes can cause the test timing to change.
169         Avoid adding DOM nodes until the test is over. When running in a browser,
170         we append nodes as we run so the user can have some feedback.
171
172         * resources/runner.js:
173         (PerfTestRunner.log): Store the log lines in an array until the test is finished.
174
175 2012-05-14  Ryosuke Niwa  <rniwa@webkit.org>
176
177         Build fix. Don't adjust calls per iteration in the second run.
178
179         * resources/runner.js:
180         (PerfTestRunner._perSecondRunner):
181
182 2012-05-13  Ryosuke Niwa  <rniwa@webkit.org>
183
184         performance tests should be able to measure runs/sec rather than time
185         https://bugs.webkit.org/show_bug.cgi?id=86021
186
187         Reviewed by Ojan Vafai.
188
189         Add PerfTestRunner.runPerSecond. It uses _runLoop but replaces _runner by _perSecondRunner
190         to compute runs/s of runFunction.
191
192         When _perSecondRunner is called for the first time, i.e. _completedRuns is 0 (notice this is -1
193         in regular run/_runner), it slowly increases the number of function calls to runFunction between
194         time measurements in order to discount the time used by new Date() calls themselves until the
195         total time spent reaches 100 milliseconds.
196
197         By default, runPerSecond runs the test for at least 750 milliseconds in each run, and executes
198         21 runs, yielding the total run time of roughly 18 seconds. This is significantly faster than
199         most of existing performance tests. Also see http://ejohn.org/blog/accuracy-of-javascript-time/.
200
201         Finally, refactored the existing methods of PerfTestRunner to allow "runs/s" unit and share code.
202
203         * Layout/flexbox-column-nowrap.html:
204         * Layout/flexbox-column-wrap.html:
205         * Layout/flexbox-row-nowrap.html:
206         * Layout/flexbox-row-wrap.html:
207         * resources/runner.js:
208         (PerfTestRunner.computeStatistics): Takes unit.
209         (PerfTestRunner.logStatistics): Ditto.
210         (PerfTestRunner._runLoop):
211         (PerfTestRunner._runner):
212         (PerfTestRunner.runPerSecond): Added.
213         (PerfTestRunner._perSecondRunner): Added. Called by _runLoop.
214         (PerfTestRunner._perSecondRunnerIterator): Added.
215
216 2012-05-09  Tony Chang  <tony@chromium.org>
217
218         add some basic perf-o-matic tests for flexbox
219         https://bugs.webkit.org/show_bug.cgi?id=86017
220
221         Reviewed by Ryosuke Niwa.
222
223         Each of these tests take < 3s on my machine.
224
225         * Layout/flexbox-column-nowrap.html: Added.
226         * Layout/flexbox-column-wrap.html: Added.
227         * Layout/flexbox-row-nowrap.html: Added.
228         * Layout/flexbox-row-wrap.html: Added.
229
230 2012-05-05  Ilya Tikhonovsky  <loislo@chromium.org>
231
232         Web Inspector: unreviewed followup fix for the performance test after r116218.
233
234         * inspector/heap-snapshot.html:
235
236 2012-05-02  Tom Zakrajsek  <tomz@codeaurora.org>
237
238         Need tests for PerfTestRunner.computeStatistics
239         https://bugs.webkit.org/show_bug.cgi?id=85410
240
241         Reviewed by Ryosuke Niwa.
242
243         * resources/runner.js:
244
245 2012-05-02  Sheriff Bot  <webkit.review.bot@gmail.com>
246
247         Unreviewed, rolling out r115905.
248         http://trac.webkit.org/changeset/115905
249         https://bugs.webkit.org/show_bug.cgi?id=85435
250
251         New computeStatistics test is failing on chromium ports
252         (Requested by tomz on #webkit).
253
254         * resources/runner.js:
255
256 2012-05-02  Tom Zakrajsek  <tomz@codeaurora.org>
257
258         Need tests for PerfTestRunner.computeStatistics
259         https://bugs.webkit.org/show_bug.cgi?id=85410
260
261         Reviewed by Ryosuke Niwa.
262
263         * resources/runner.js:
264
265 2012-04-29  Tom Zakrajsek  <tomz@codeaurora.org>
266
267         PerfTestRunner.computeStatistics incorrectly calculates min, max and median
268         https://bugs.webkit.org/show_bug.cgi?id=85111
269
270         Reviewed by Ryosuke Niwa.
271
272         The sort of the data input was being done alphabetically.
273         So I provided a numeric compare function.
274
275         * resources/runner.js:
276
277 2012-04-17  Ilya Tikhonovsky  <loislo@chromium.org>
278
279         Web Inspector: the fix for test after massive rename in r114271.
280         https://bugs.webkit.org/show_bug.cgi?id=84147
281
282         Drive by fix. The test was renamed to heap-snapshot.html
283
284         Reviewed by Yury Semikhatsky.
285
286         * inspector/heap-snapshot.html: Renamed from PerformanceTests/inspector/detailed-heapshots-smoke-test.html.
287
288 2012-04-16  Yury Semikhatsky  <yurys@chromium.org>
289
290         Web Inspector: rename heap profiler files and classes DetailedHeapshot* ->HeapSnapshot*
291         https://bugs.webkit.org/show_bug.cgi?id=84038
292
293         A bunch of renames "detailed heapshot" -> "heap snapshot".
294
295         Reviewed by Pavel Feldman.
296
297         * inspector/detailed-heapshots-smoke-test.html:
298
299 2012-04-13  Ryosuke Niwa  <rniwa@webkit.org>
300
301         Fix skipped list.
302
303         * Skipped:
304
305 2012-04-12  Ryosuke Niwa  <rniwa@webkit.org>
306
307         Enable SVG page loading performance tests
308         https://bugs.webkit.org/show_bug.cgi?id=83861
309
310         Reviewed by Adam Barth.
311
312         Unskip PageLoad directory and skip tests that load too fast (less than 100ms) and are unstable,
313         and the ones that take too long to load (more than 20s).
314
315         * Skipped:
316
317 2012-04-04  Ilya Tikhonovsky  <loislo@chromium.org>
318
319         Web Inspector: Unreviewed. temporary disable broken inspector tests.
320
321         * inspector/first-open-scripts.html.broken: Renamed from PerformanceTests/inspector/first-open-scripts.html.
322         * inspector/network-append-30-requests.html.broken: Renamed from PerformanceTests/inspector/network-append-30-requests.html.
323         * inspector/show-panel.html.broken: Renamed from PerformanceTests/inspector/show-panel.html.
324
325 2012-04-04  Ilya Tikhonovsky  <loislo@chromium.org>
326
327         Web Inspector: linearise aggregate's retaining size calculation.
328         https://bugs.webkit.org/show_bug.cgi?id=83125
329
330         This version is twice as fast as the original and it is non-recursive.
331
332         Reviewed by Yury Semikhatsky.
333
334         * inspector/detailed-heapshots-smoke-test.html:
335
336 2012-03-30  David Barr  <davidbarr@chromium.org>
337
338         Split up top-level .gitignore and .gitattributes
339         https://bugs.webkit.org/show_bug.cgi?id=82687
340
341         Reviewed by Tor Arne Vestbø.
342
343         * .gitattributes: Added.
344
345 2012-03-28  Yury Semikhatsky  <yurys@chromium.org>
346
347         Web Inspector: switch heap profiler front-end to separate storage of nodes and edges
348         https://bugs.webkit.org/show_bug.cgi?id=82453
349
350         Updated heap profiler performance test after heap profiler front-end
351         changes.
352
353         Reviewed by Pavel Feldman.
354
355         * inspector/detailed-heapshots-smoke-test.html:
356
357 2012-03-27  Alexis Menard  <alexis.menard@openbossa.org>
358
359         Add a perf test which updates the value of an already declared CSS property.
360         https://bugs.webkit.org/show_bug.cgi?id=82321
361
362         Reviewed by Andreas Kling.
363
364         This benchmark update CSS existing properties of the style from JS.
365
366         * CSS/CSSPropertyUpdateValue.html: Added.
367
368 2012-03-15  Kentaro Hara  <haraken@chromium.org>
369
370         [PerformanceTests] run-perf-tests should output correct units
371         https://bugs.webkit.org/show_bug.cgi?id=78303
372
373         Reviewed by Ryosuke Niwa.
374
375         Previously run-perf-tests just supported "ms" for units.
376         Consequently, Dromaeo perf tests had been reporting runs/s as "ms".
377         This patch fixes run-perf-tests so that they can support custom units.
378         The default unit is "ms".
379
380         The test result looks like this:
381
382         $ ./Tools/Scripts/run-perf-tests Dromaeo/dom-attr.html
383         RESULT Dromaeo: dom-attr= 6465.9525483 runs/s
384         median= 0.0 runs/s, stdev= 24.2983433436 runs/s, min= 6435.87649402 runs/s, max= 6515.63693392 runs/s
385
386         * Dromaeo/resources/dromaeorunner.js:
387         (.):
388         * resources/runner.js:
389         (PerfTestRunner.computeStatistics):
390         (PerfTestRunner.printStatistics):
391
392 2012-03-15  Alexis Menard  <alexis.menard@openbossa.org>
393
394         Fix the test failing with run-perf-tests.
395
396         Rubber stamped by Ryosuke Niwa.
397
398         * CSS/CSSPropertySetterGetter.html:
399
400 2012-03-14  Alexis Menard  <alexis.menard@openbossa.org>
401
402         Add a new perf test to benchmark setting and reading CSS properties from JS.
403         https://bugs.webkit.org/show_bug.cgi?id=81155
404
405         Reviewed by Ryosuke Niwa.
406
407         This benchmark read and set CSS properties from JS. It contains a list
408         of common CSS properties.
409
410         * CSS/CSSPropertySetterGetter.html: Added.
411
412 2012-03-14  Alexandru Chiculita  <achicu@adobe.com>
413
414         Layout/floats.html should be runnable by run-perf-tests
415         https://bugs.webkit.org/show_bug.cgi?id=77051
416
417         Reviewed by Ryosuke Niwa.
418
419         I've split Layout/floats.html into multiple tests for each button in the original manual test.
420         Some tests take longer to run and I've changed the number of iterations, so that each tests finishes under 30s per run.
421
422         * DOM/resources/dom-perf.js:
423         * Layout/floats.html: Removed.
424         * Layout/floats_100_100.html: Added.
425         * Layout/floats_100_100_nested.html: Added.
426         * Layout/floats_20_100.html: Added.
427         * Layout/floats_20_100_nested.html: Added.
428         * Layout/floats_2_100.html: Added.
429         * Layout/floats_2_100_nested.html: Added.
430         * Layout/floats_50_100.html: Added.
431         * Layout/floats_50_100_nested.html: Added.
432         * Layout/resources/floats.css: Added.
433         (.container):
434         (.float):
435         (.big):
436         (.float-end):
437         * Layout/resources/floats.js: Added.
438         (.):
439         * Skipped:
440         * resources/runner.js:
441         (PerfTestRunner.resetRandomSeed):
442         (PerfTestRunner.random):
443         (Math.random):
444             Moved the Math.random to runner.js to be used by all tests.
445             Added resetRandomSeed to bring the randomizer back to initial seed.
446             It is useful to get the same results at every run and minimize the
447             differences between runs.
448
449 2012-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
450
451         Unreviewed, rolling out r110559.
452         http://trac.webkit.org/changeset/110559
453         https://bugs.webkit.org/show_bug.cgi?id=81142
454
455         Broke Dromaeo tests (Requested by rniwa on #webkit).
456
457         * Dromaeo/resources/dromaeorunner.js:
458         (.):
459
460 2012-03-13  Kentaro Hara  <haraken@chromium.org>
461
462         Dromaeo perf-tests results are wrong
463         https://bugs.webkit.org/show_bug.cgi?id=80974
464
465         Reviewed by Hajime Morita.
466
467         Dromaeo perf-tests had reported the sum of runs/seconds as "ms".
468         This patch fixes them to report the execution time per run.
469
470         At present, they report "0.0ms" for "stdev". This is because
471         dromaeorunner.js can just know stdev of "runs/seconds"
472         and cannot calculate stdev of "ms" from that. We can fix it later.
473
474         * Dromaeo/resources/dromaeorunner.js:
475         (.):
476
477 2012-03-12  Ilya Tikhonovsky  <loislo@chromium.org>
478
479         Web Inspector: chromium: increase heap snapshot performance coverage.
480         https://bugs.webkit.org/show_bug.cgi?id=80829
481
482         Reviewed by Yury Semikhatsky.
483
484         * inspector/detailed-heapshots-smoke-test.html:
485         * inspector/performance-test.js:
486         (initialize_TimeTracker.InspectorTest.measureFunction):
487
488 2012-03-06  Kentaro Hara  <haraken@chromium.org>
489
490         [Perf tests] Reduce the number of loops in dom-attributes.html
491         https://bugs.webkit.org/show_bug.cgi?id=80077
492
493         Reviewed by Ryosuke Niwa.
494
495         dom-attributes.html takes 100~ seconds in the perf bots. This patch reduces
496         the time by reducing the number of loops.
497
498         This is just a temporary fix. After more detailed investigation, I will reduce
499         the number of tests in dom-attributes.html, and revert back the number of loops
500         to guarantee the reliability of the perf test results.
501
502         * Bindings/dom-attributes.html:
503
504 2012-03-06  Ilya Tikhonovsky  <loislo@chromium.org>
505
506         Web Inspector: Heap Snapshot test: split overal time metric into separate metrics.
507         https://bugs.webkit.org/show_bug.cgi?id=80409
508
509         Reviewed by Yury Semikhatsky.
510
511         * inspector/detailed-heapshots-smoke-test.html:
512
513 2012-03-05  Ilya Tikhonovsky  <loislo@chromium.org>
514
515         Web Inspector: [chromium] introduce HeapSnapshot performance test.
516         https://bugs.webkit.org/show_bug.cgi?id=80280
517
518         Reviewed by Pavel Feldman.
519
520         * inspector/detailed-heapshots-smoke-test.html: Added.
521
522 2012-03-01  Ryosuke Niwa  <rniwa@webkit.org>
523
524         DOM tests take too long to run
525         https://bugs.webkit.org/show_bug.cgi?id=80082
526
527         Reviewed by Eric Seidel.
528
529         Reduce benchmark.timeToRun from 500ms to 100ms. Doesn't seem to affect test results much
530         (except DOM/DOMTable.html) but significantly reduces the runtime of tests.
531
532         * DOM/resources/dom-perf.js:
533         (BenchmarkSuite.prototype.RunSingle):
534
535 2012-02-26  Kentaro Hara  <haraken@chromium.org>
536
537         [Performance Tests] [Chromium] Bindings/dom-attributes.html is timing out
538         https://bugs.webkit.org/show_bug.cgi?id=79593
539
540         Reviewed by Adam Barth.
541
542         This patch halves the execution time of Bindings/dom-attributes.html
543         in order to avoid timeout in Chromium. The reason for the timeout is that
544         V8 DOM bindings are too much slower than JSC bindings.
545         I am a bit afraid that this patch will reduce the accuracy of the
546         perf test results, but it would make sense to reduce the execution time
547         until we fix the performance issue in V8 DOM bindings.
548
549         * Bindings/dom-attributes.html:
550
551 2012-02-24  Ryosuke Niwa  <rniwa@webkit.org>
552
553         Rename dom*_*attributes.html to dom*-*attributes.html to follow the WebKit convention.
554
555         * Bindings/dom-attributes.html: Copied from PerformanceTests/Bindings/dom_attributes.html.
556         * Bindings/dom_attributes.html: Removed.
557
558 2012-02-24  Kentaro Hara  <haraken@chromium.org>
559
560         Unreviewed, rolling out r108477.
561         http://trac.webkit.org/changeset/108477
562         https://bugs.webkit.org/show_bug.cgi?id=79209
563
564         The perf tests committed in r108748 covers the perf tests
565         committed in r108477. So I'll roll out r108477.
566
567         * Bindings/dom_attributes_id_getter.html: Removed.
568         * Bindings/dom_attributes_id_setter.html: Removed.
569         * Bindings/resources/dom_attributes_common.js: Removed.
570
571 2012-02-24  Kentaro Hara  <haraken@chromium.org>
572
573         Add performance tests for DOM attribute getters and setters
574         https://bugs.webkit.org/show_bug.cgi?id=79208
575
576         Reviewed by Ryosuke Niwa.
577
578         This patch adds performance micro-benchmarks for DOM attribute
579         getters and setters. We selected DOM attributes from HTMLElement,
580         Element and Node which will most impact on the DOM performance
581         in the real Web and which have different call-paths from another
582         DOM attribute.
583
584         The perf test result in my local Chromium/Linux environment is as follows:
585         median= 14967.0 ms, stdev= 85.2385476178 ms, min= 14861.0 ms, max= 15155.0 ms
586
587         If we run the test with DumpRenderTree, we can get the following test results:
588         Info: [HTMLElement.id] avg=65.76ms, median=65.00ms, stdev=2.14ms, min=63, max=70
589         Info: [HTMLElement.title] avg=64.05ms, median=63.00ms, stdev=1.50ms, min=63, max=67
590         Info: [HTMLElement.lang] avg=64.19ms, median=63.00ms, stdev=1.82ms, min=62, max=67
591         Info: [HTMLElement.dir] avg=64.10ms, median=63.00ms, stdev=1.72ms, min=62, max=68
592         Info: [HTMLElement.className] avg=63.33ms, median=63.00ms, stdev=0.89ms, min=63, max=67
593         Info: [HTMLElement.classList] avg=1946.00ms, median=1945.00ms, stdev=38.22ms, min=1921, max=2110
594         Info: [HTMLElement.tabIndex] avg=83.52ms, median=80.00ms, stdev=6.00ms, min=79, max=94
595         Info: [HTMLElement.draggable] avg=78.14ms, median=81.00ms, stdev=3.51ms, min=74, max=82
596         Info: [HTMLElement.webkitdropzone] avg=64.33ms, median=63.00ms, stdev=1.98ms, min=63, max=68
597         Info: [HTMLElement.hidden] avg=65.57ms, median=64.00ms, stdev=3.27ms, min=63, max=71
598         Info: [HTMLElement.accessKey] avg=64.43ms, median=63.00ms, stdev=2.11ms, min=62, max=68
599         Info: [HTMLElement.children] avg=130.76ms, median=128.00ms, stdev=9.75ms, min=109, max=143
600         Info: [HTMLElement.isContentEditable] avg=74.29ms, median=75.00ms, stdev=2.00ms, min=71, max=77
601         Info: [HTMLElement.spellcheck] avg=79.52ms, median=80.00ms, stdev=2.52ms, min=76, max=82
602         Info: [HTMLElement.innerHTML] avg=279.05ms, median=279.00ms, stdev=1.96ms, min=276, max=283
603         Info: [HTMLElement.innerText] avg=204.14ms, median=203.00ms, stdev=2.95ms, min=200, max=210
604         Info: [HTMLElement.outerHTML] avg=1544.10ms, median=1546.00ms, stdev=15.56ms, min=1514, max=1568
605         Info: [HTMLElement.outerText] avg=216.05ms, median=207.00ms, stdev=18.19ms, min=201, max=247
606         Info: [HTMLElement.contentEditable] avg=334.24ms, median=323.00ms, stdev=36.06ms, min=318, max=446
607         Info: [HTMLElement.id="foo"] avg=53.19ms, median=53.00ms, stdev=1.76ms, min=52, max=58
608         Info: [HTMLElement.title="foo"] avg=63.14ms, median=63.00ms, stdev=0.35ms, min=63, max=64
609         Info: [HTMLElement.lang="foo"] avg=60.86ms, median=61.00ms, stdev=0.56ms, min=60, max=62
610         Info: [HTMLElement.dir="foo"] avg=53.57ms, median=54.00ms, stdev=0.58ms, min=53, max=55
611         Info: [HTMLElement.className="foo"] avg=64.52ms, median=64.00ms, stdev=0.91ms, min=63, max=66
612         Info: [HTMLElement.tabIndex="foo"] avg=367.86ms, median=369.00ms, stdev=8.06ms, min=352, max=380
613         Info: [HTMLElement.draggable="foo"] avg=79.43ms, median=79.00ms, stdev=0.58ms, min=79, max=81
614         Info: [HTMLElement.webkitdropzone="foo"] avg=62.14ms, median=62.00ms, stdev=0.35ms, min=62, max=63
615         Info: [HTMLElement.hidden="foo"] avg=61.67ms, median=62.00ms, stdev=0.71ms, min=61, max=64
616         Info: [HTMLElement.accessKey="foo"] avg=61.86ms, median=62.00ms, stdev=0.56ms, min=61, max=63
617         Info: [HTMLElement.spellcheck="foo"] avg=79.57ms, median=80.00ms, stdev=0.58ms, min=78, max=80
618         Info: [HTMLElement.innerHTML="foo"] avg=1176.67ms, median=1169.00ms, stdev=26.60ms, min=1146, max=1246
619         Info: [HTMLElement.innerText="foo"] avg=51.62ms, median=52.00ms, stdev=0.72ms, min=50, max=53
620         Info: [Element.tagName] avg=79.52ms, median=80.00ms, stdev=1.05ms, min=78, max=81
621         Info: [Element.style] avg=126.19ms, median=126.00ms, stdev=10.40ms, min=104, max=161
622         Info: [Element.offsetLeft] avg=98.95ms, median=104.00ms, stdev=4.01ms, min=100, max=99
623         Info: [Element.clientLeft] avg=98.33ms, median=102.00ms, stdev=2.59ms, min=100, max=99
624         Info: [Element.scrollLeft] avg=103.29ms, median=96.00ms, stdev=15.63ms, min=100, max=97
625         Info: [Element.dataset] avg=2448.62ms, median=2441.00ms, stdev=20.43ms, min=2426, max=2503
626         Info: [Element.firstElementChild] avg=58.71ms, median=58.00ms, stdev=2.37ms, min=57, max=65
627         Info: [Element.lastElementChild] avg=56.33ms, median=55.00ms, stdev=1.83ms, min=54, max=59
628         Info: [Element.previousElementSibling] avg=52.95ms, median=52.00ms, stdev=1.70ms, min=52, max=57
629         Info: [Element.nextElementSibling] avg=58.48ms, median=58.00ms, stdev=1.79ms, min=57, max=63
630         Info: [Element.childElementCount] avg=64.57ms, median=64.00ms, stdev=1.81ms, min=63, max=71
631         Info: [Element.onload] avg=98.38ms, median=98.00ms, stdev=0.49ms, min=98, max=99
632         Info: [Element.scrollLeft="foo"] avg=95.24ms, median=95.00ms, stdev=0.92ms, min=94, max=98
633         Info: [Element.onload="foo"] avg=67.14ms, median=67.00ms, stdev=0.56ms, min=66, max=68
634         Info: [Node.nodeName] avg=76.29ms, median=76.00ms, stdev=0.63ms, min=75, max=77
635         Info: [Node.nodeType] avg=53.05ms, median=52.00ms, stdev=2.61ms, min=52, max=61
636         Info: [Node.parentNode] avg=53.52ms, median=53.00ms, stdev=1.22ms, min=52, max=56
637         Info: [Node.childNodes] avg=118.33ms, median=123.00ms, stdev=8.85ms, min=107, max=129
638         Info: [Node.firstChild] avg=53.62ms, median=53.00ms, stdev=1.13ms, min=51, max=55
639         Info: [Node.lastChild] avg=53.14ms, median=53.00ms, stdev=1.21ms, min=52, max=55
640         Info: [Node.previousSibling] avg=51.86ms, median=51.00ms, stdev=1.55ms, min=50, max=54
641         Info: [Node.nextSibling] avg=52.86ms, median=54.00ms, stdev=1.81ms, min=50, max=55
642         Info: [Node.attributes] avg=2027.71ms, median=2026.00ms, stdev=10.48ms, min=2010, max=2051
643         Info: [Node.ownerDocument] avg=152.14ms, median=152.00ms, stdev=1.73ms, min=149, max=155
644         Info: [Node.namespaceURI] avg=60.86ms, median=59.00ms, stdev=3.85ms, min=56, max=66
645         Info: [Node.localName] avg=60.00ms, median=59.00ms, stdev=2.71ms, min=57, max=66
646         Info: [Node.baseURI] avg=671.10ms, median=668.00ms, stdev=10.66ms, min=659, max=706
647         Info: [Node.parentElement] avg=55.05ms, median=56.00ms, stdev=2.15ms, min=52, max=58
648         Info: [Node.nodeValue] avg=61.24ms, median=60.00ms, stdev=2.56ms, min=59, max=68
649         Info: [Node.prefix] avg=60.90ms, median=58.00ms, stdev=4.26ms, min=57, max=68
650         Info: [Node.textContent] avg=149.71ms, median=149.00ms, stdev=1.12ms, min=148, max=152
651         Info: [Node.nodeValue="foo"] avg=23.62ms, median=23.00ms, stdev=0.72ms, min=23, max=25
652         Info: [Node.prefix="foo"] avg=49.57ms, median=49.00ms, stdev=0.73ms, min=49, max=51
653         Info: [Node.textContent="foo"] avg=145.81ms, median=140.00ms, stdev=17.43ms, min=138, max=199
654
655         * Bindings/dom_attributes.html: Added.
656         * resources/runner.js:
657         (PerfTestRunner.info):
658
659 2012-02-22  Kentaro Hara  <haraken@chromium.org>
660
661         Add performance tests for the Element.id getter and setter
662         https://bugs.webkit.org/show_bug.cgi?id=79209
663
664         Reviewed by Adam Barth.
665
666         This patch adds performance tests for the Element.id getter and setter.
667
668         The results of 10 runs in my local Chromium/Linux are as follows:
669
670         dom_attributes_id_getter.html:
671         median= 92.0 ms, stdev= 1.65151445649 ms, min= 89.0 ms, max= 96.0 ms
672         median= 87.5 ms, stdev= 1.84390889146 ms, min= 85.0 ms, max= 92.0 ms
673         median= 94.0 ms, stdev= 1.46543508898 ms, min= 90.0 ms, max= 95.0 ms
674         median= 86.0 ms, stdev= 1.66958078571 ms, min= 84.0 ms, max= 91.0 ms
675         median= 94.0 ms, stdev= 2.25610283454 ms, min= 103.0 ms, max= 98.0 ms
676         median= 86.0 ms, stdev= 1.49666295471 ms, min= 84.0 ms, max= 91.0 ms
677         median= 86.0 ms, stdev= 1.5321553446 ms, min= 84.0 ms, max= 90.0 ms
678         median= 86.0 ms, stdev= 2.20227155455 ms, min= 84.0 ms, max= 94.0 ms
679         median= 96.0 ms, stdev= 1.74570902501 ms, min= 101.0 ms, max= 99.0 ms
680         median= 86.0 ms, stdev= 1.63935963108 ms, min= 84.0 ms, max= 90.0 ms
681         median= 94.0 ms, stdev= 1.49248115566 ms, min= 90.0 ms, max= 95.0 ms
682         median= 88.0 ms, stdev= 5.20192272146 ms, min= 84.0 ms, max= 98.0 ms
683         median= 86.0 ms, stdev= 1.41067359797 ms, min= 84.0 ms, max= 89.0 ms
684         median= 86.0 ms, stdev= 1.48660687473 ms, min= 84.0 ms, max= 89.0 ms
685         median= 94.0 ms, stdev= 1.58113883008 ms, min= 93.0 ms, max= 97.0 ms
686         median= 86.0 ms, stdev= 1.95959179423 ms, min= 84.0 ms, max= 93.0 ms
687         median= 86.0 ms, stdev= 1.8547236991 ms, min= 84.0 ms, max= 92.0 ms
688         median= 86.0 ms, stdev= 1.39283882772 ms, min= 84.0 ms, max= 89.0 ms
689         median= 88.0 ms, stdev= 1.48660687473 ms, min= 85.0 ms, max= 90.0 ms
690         median= 86.5 ms, stdev= 2.3 ms, min= 84.0 ms, max= 93.0 ms
691
692         dom_attributes_id_setter.html:
693         median= 123.0 ms, stdev= 2.06397674406 ms, min= 119.0 ms, max= 128.0 ms
694         median= 119.0 ms, stdev= 1.92028643697 ms, min= 117.0 ms, max= 123.0 ms
695         median= 121.0 ms, stdev= 1.8781639971 ms, min= 118.0 ms, max= 123.0 ms
696         median= 123.0 ms, stdev= 2.21585198062 ms, min= 119.0 ms, max= 130.0 ms
697         median= 124.5 ms, stdev= 2.36378933071 ms, min= 119.0 ms, max= 129.0 ms
698         median= 122.0 ms, stdev= 2.4474476501 ms, min= 118.0 ms, max= 128.0 ms
699         median= 123.0 ms, stdev= 1.76351920885 ms, min= 118.0 ms, max= 125.0 ms
700         median= 119.0 ms, stdev= 1.79652442232 ms, min= 117.0 ms, max= 125.0 ms
701         median= 121.0 ms, stdev= 1.49916643506 ms, min= 119.0 ms, max= 123.0 ms
702         median= 119.5 ms, stdev= 1.85135085816 ms, min= 117.0 ms, max= 125.0 ms
703         median= 124.0 ms, stdev= 1.43090880213 ms, min= 120.0 ms, max= 124.0 ms
704         median= 122.0 ms, stdev= 1.45859521458 ms, min= 118.0 ms, max= 123.0 ms
705         median= 123.0 ms, stdev= 1.50332963784 ms, min= 120.0 ms, max= 124.0 ms
706         median= 123.0 ms, stdev= 1.3638181697 ms, min= 120.0 ms, max= 125.0 ms
707         median= 119.0 ms, stdev= 1.43527000944 ms, min= 117.0 ms, max= 121.0 ms
708         median= 122.5 ms, stdev= 1.71682847134 ms, min= 118.0 ms, max= 124.0 ms
709         median= 121.0 ms, stdev= 1.44481832768 ms, min= 118.0 ms, max= 123.0 ms
710         median= 120.0 ms, stdev= 1.40978721799 ms, min= 117.0 ms, max= 122.0 ms
711         median= 122.0 ms, stdev= 1.68522995464 ms, min= 119.0 ms, max= 125.0 ms
712         median= 122.0 ms, stdev= 1.55804364509 ms, min= 118.0 ms, max= 123.0 ms
713
714
715         * Bindings/dom_attributes_id_getter.html: Added.
716         * Bindings/dom_attributes_id_setter.html: Added.
717         * Bindings/resources/dom_attributes_common.js: Added.
718
719 2012-02-16  Alexis Menard  <alexis.menard@openbossa.org>
720
721         Add a perf test for the CSS parser.
722         https://bugs.webkit.org/show_bug.cgi?id=78114
723
724         Reviewed by Ryosuke Niwa.
725
726         Add a perf test for the CSS parser. It load a big CSS chunk
727         which contains some snippets of the YUI library from Yahoo!.
728
729         * Parser/css-parser-yui.html: Added.
730
731 2012-02-08  Hajime Morrita  <morrita@chromium.org>
732
733         [PerformanceTests] sunspider-crypto-md5.html and sunspider-crypto-sha1.html are timing out on cr-mac perf bot
734         https://bugs.webkit.org/show_bug.cgi?id=78174
735
736         Reviewed by Ryosuke Niwa.
737
738         Pulled back removed files.
739
740         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-md5.html: Added.
741         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-sha1.html: Added.
742
743 2012-02-02  Hajime Morrita  <morrita@chromium.org>
744
745         [PerformanceTests] Each Dromaeo test needs its landing html.
746         https://bugs.webkit.org/show_bug.cgi?id=77504
747
748         Reviewed by Ryosuke Niwa.
749
750         - Added landing pages for each test which are listed in MANIFEST.json
751         - Removed some tests which depends on the library whose license is incompatible to WebKit.
752         - Added local copy of corresponding library. And replace the references to the remote sources
753           to the local copies.
754         - Removed old library files under Dromaeo/resources/dromaeo/web/lib/.
755         - Skipped Sunsupier and v8 test. Such JS centric test should have its own test instead of
756           running as a part of Dromaeo.
757
758         * Dromaeo/cssquery-dojo.html: Added.
759         * Dromaeo/cssquery-jquery.html: Added.
760         * Dromaeo/cssquery-prototype.html: Added.
761         * Dromaeo/dom-attr.html: Added.
762         * Dromaeo/dom-modify.html: Added.
763         * Dromaeo/dom-traverse.html: Added.
764         * Dromaeo/dromaeo-3d-cube.html: Added.
765         * Dromaeo/dromaeo-core-eval.html: Added.
766         * Dromaeo/dromaeo-object-array.html: Added.
767         * Dromaeo/dromaeo-object-regexp.html: Added.
768         * Dromaeo/dromaeo-object-string.html: Added.
769         * Dromaeo/dromaeo-string-base64.html: Added.
770         * Dromaeo/jslib-attr-jquery.html: Added.
771         * Dromaeo/jslib-attr-prototype.html: Added.
772         * Dromaeo/jslib-event-jquery.html: Added.
773         * Dromaeo/jslib-event-prototype.html: Added.
774         * Dromaeo/jslib-modify-jquery.html: Added.
775         * Dromaeo/jslib-modify-prototype.html: Added.
776         * Dromaeo/jslib-style-jquery.html: Added.
777         * Dromaeo/jslib-style-prototype.html: Added.
778         * Dromaeo/jslib-traverse-jquery.html: Added.
779         * Dromaeo/jslib-traverse-prototype.html: Added.
780         * Dromaeo/resources/dromaeo/web/lib/dojo.js: Removed.
781         * Dromaeo/resources/dromaeo/web/lib/dojo-1.6.1.js: Added.
782         * Dromaeo/resources/dromaeo/web/lib/jquery.js: Removed.
783         * Dromaeo/resources/dromaeo/web/lib/jquery-1.6.4.js: Added.
784         * Dromaeo/resources/dromaeo/web/lib/mootools.js: Removed.
785         * Dromaeo/resources/dromaeo/web/lib/prototype.js: Removed.
786         * Dromaeo/resources/dromaeo/web/lib/prototype-1.7.js: Added.
787         * Dromaeo/resources/dromaeo/web/tests/cssquery-dojo.html:
788         * Dromaeo/resources/dromaeo/web/tests/cssquery-jquery.html:
789         * Dromaeo/resources/dromaeo/web/tests/cssquery-mootools.html: Removed.
790         * Dromaeo/resources/dromaeo/web/tests/cssquery-prototype.html:
791         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-jquery.html:
792         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-prototype.html:
793         * Dromaeo/resources/dromaeo/web/tests/jslib-event-jquery.html:
794         * Dromaeo/resources/dromaeo/web/tests/jslib-event-prototype.html:
795         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-jquery.html:
796         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-prototype.html:
797         * Dromaeo/resources/dromaeo/web/tests/jslib-style-jquery.html:
798         * Dromaeo/resources/dromaeo/web/tests/jslib-style-prototype.html:
799         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-jquery.html:
800         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-prototype.html:
801         * Dromaeo/sunspider-3d-morph.html: Added.
802         * Dromaeo/sunspider-3d-raytrace.html: Added.
803         * Dromaeo/sunspider-access-binary-trees.html: Added.
804         * Dromaeo/sunspider-access-fannkuch.html: Added.
805         * Dromaeo/sunspider-access-nbody.html: Added.
806         * Dromaeo/sunspider-access-nsieve.html: Added.
807         * Dromaeo/sunspider-bitops-3bit-bits-in-byte.html: Added.
808         * Dromaeo/sunspider-bitops-bits-in-byte.html: Added.
809         * Dromaeo/sunspider-bitops-bitwise-and.html: Added.
810         * Dromaeo/sunspider-bitops-nsieve-bits.html: Added.
811         * Dromaeo/sunspider-controlflow-recursive.html: Added.
812         * Dromaeo/sunspider-crypto-aes.html: Added.
813         * Dromaeo/sunspider-crypto-md5.html: Added.
814         * Dromaeo/sunspider-crypto-sha1.html: Added.
815         * Dromaeo/sunspider-date-format-tofte.html: Added.
816         * Dromaeo/sunspider-date-format-xparb.html: Added.
817         * Dromaeo/sunspider-math-cordic.html: Added.
818         * Dromaeo/sunspider-math-partial-sums.html: Added.
819         * Dromaeo/sunspider-math-spectral-norm.html: Added.
820         * Dromaeo/sunspider-regexp-dna.html: Added.
821         * Dromaeo/sunspider-string-fasta.html: Added.
822         * Dromaeo/sunspider-string-tagcloud.html: Added.
823         * Dromaeo/sunspider-string-unpack-code.html: Added.
824         * Dromaeo/sunspider-string-validate-input.html: Added.
825         * Dromaeo/v8-crypto.html: Added.
826         * Dromaeo/v8-deltablue.html: Added.
827         * Dromaeo/v8-earley-boyer.html: Added.
828         * Dromaeo/v8-raytrace.html: Added.
829         * Dromaeo/v8-richards.html: Added.
830         * Skipped:
831
832 2012-02-02  Sheriff Bot  <webkit.review.bot@gmail.com>
833
834         Unreviewed, rolling out r106543.
835         http://trac.webkit.org/changeset/106543
836         https://bugs.webkit.org/show_bug.cgi?id=77671
837
838         Made tests less stable (Requested by rniwa on #webkit).
839
840         * resources/init.html: Removed.
841
842 2012-02-02  Ryosuke Niwa  <rniwa@webkit.org>
843
844         [PerformanceTests] tests have dependencies
845         https://bugs.webkit.org/show_bug.cgi?id=77506
846
847         Reviewed by Hajime Morita.
848
849         * resources/init.html: Added.
850
851 2012-02-01  Ryosuke Niwa  <rniwa@webkit.org>
852
853         Fix after r106386. The empty anchor element was generating an erroneous whitespace.
854
855         * Bindings/event-target-wrapper.html:
856
857 2012-02-01  Ryosuke Niwa  <rniwa@webkit.org>
858
859         Another fix after r106379.
860
861         * Parser/html5-full-render.html:
862
863 2012-01-31  Hajime Morrita  <morrita@chromium.org>
864
865         Import Dromaeo to WebKit repository.
866         https://bugs.webkit.org/show_bug.cgi?id=77328
867
868         Reviewed by Ryosuke Niwa.
869
870         Imported a modified version of Dromaeo which is able to
871         run on the DRT.
872
873         The imported version originally came from:
874         https://github.com/omo/dromaeo/commit/c942a1452109cdd5f759b3c4aee8d68d490d44a2
875
876         * Dromaeo/resources/dromaeo/web/application.css: Added.
877         * Dromaeo/resources/dromaeo/web/favicon.ico: Added.
878         * Dromaeo/resources/dromaeo/web/favicon.png: Added.
879         * Dromaeo/resources/dromaeo/web/htmlrunner.js: Added.
880         * Dromaeo/resources/dromaeo/web/ie.css: Added.
881         * Dromaeo/resources/dromaeo/web/images/bg.png: Added.
882         * Dromaeo/resources/dromaeo/web/images/clouds.png: Added.
883         * Dromaeo/resources/dromaeo/web/images/clouds2.png: Added.
884         * Dromaeo/resources/dromaeo/web/images/comets.png: Added.
885         * Dromaeo/resources/dromaeo/web/images/dino1.png: Added.
886         * Dromaeo/resources/dromaeo/web/images/dino2.png: Added.
887         * Dromaeo/resources/dromaeo/web/images/dino3.png: Added.
888         * Dromaeo/resources/dromaeo/web/images/dino4.png: Added.
889         * Dromaeo/resources/dromaeo/web/images/dino5.png: Added.
890         * Dromaeo/resources/dromaeo/web/images/dino6.png: Added.
891         * Dromaeo/resources/dromaeo/web/images/dino7.png: Added.
892         * Dromaeo/resources/dromaeo/web/images/dino8.png: Added.
893         * Dromaeo/resources/dromaeo/web/images/left.png: Added.
894         * Dromaeo/resources/dromaeo/web/images/logo.png: Added.
895         * Dromaeo/resources/dromaeo/web/images/logo2.png: Added.
896         * Dromaeo/resources/dromaeo/web/images/logo3.png: Added.
897         * Dromaeo/resources/dromaeo/web/images/right.png: Added.
898         * Dromaeo/resources/dromaeo/web/images/top.png: Added.
899         * Dromaeo/resources/dromaeo/web/images/water.png: Added.
900         * Dromaeo/resources/dromaeo/web/index.html: Added.
901         * Dromaeo/resources/dromaeo/web/jquery.js: Added.
902         * Dromaeo/resources/dromaeo/web/lib/dojo.js: Added.
903         * Dromaeo/resources/dromaeo/web/lib/jquery.js: Added.
904         * Dromaeo/resources/dromaeo/web/lib/mootools.js: Added.
905         * Dromaeo/resources/dromaeo/web/lib/prototype.js: Added.
906         * Dromaeo/resources/dromaeo/web/pngfix.js: Added.
907         * Dromaeo/resources/dromaeo/web/reset.css: Added.
908         * Dromaeo/resources/dromaeo/web/test-head.html: Added.
909         * Dromaeo/resources/dromaeo/web/test-head.js: Added.
910         * Dromaeo/resources/dromaeo/web/test-tail.html: Added.
911         * Dromaeo/resources/dromaeo/web/test-tail.js: Added.
912         * Dromaeo/resources/dromaeo/web/tests/MANIFEST.json: Added.
913         * Dromaeo/resources/dromaeo/web/tests/cssquery-dojo.html: Added.
914         * Dromaeo/resources/dromaeo/web/tests/cssquery-jquery.html: Added.
915         * Dromaeo/resources/dromaeo/web/tests/cssquery-mootools.html: Added.
916         * Dromaeo/resources/dromaeo/web/tests/cssquery-prototype.html: Added.
917         * Dromaeo/resources/dromaeo/web/tests/cssquery-yui.html: Added.
918         * Dromaeo/resources/dromaeo/web/tests/dom-attr.html: Added.
919         * Dromaeo/resources/dromaeo/web/tests/dom-modify.html: Added.
920         * Dromaeo/resources/dromaeo/web/tests/dom-query.html: Added.
921         * Dromaeo/resources/dromaeo/web/tests/dom-traverse.html: Added.
922         * Dromaeo/resources/dromaeo/web/tests/dromaeo-3d-cube.html: Added.
923         * Dromaeo/resources/dromaeo/web/tests/dromaeo-core-eval.html: Added.
924         * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-array.html: Added.
925         * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-regexp.html: Added.
926         * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-string.html: Added.
927         * Dromaeo/resources/dromaeo/web/tests/dromaeo-string-base64.html: Added.
928         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-jquery.html: Added.
929         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-prototype.html: Added.
930         * Dromaeo/resources/dromaeo/web/tests/jslib-event-jquery.html: Added.
931         * Dromaeo/resources/dromaeo/web/tests/jslib-event-prototype.html: Added.
932         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-jquery.html: Added.
933         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-prototype.html: Added.
934         * Dromaeo/resources/dromaeo/web/tests/jslib-style-jquery.html: Added.
935         * Dromaeo/resources/dromaeo/web/tests/jslib-style-prototype.html: Added.
936         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-jquery.html: Added.
937         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-prototype.html: Added.
938         * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-morph.html: Added.
939         * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-raytrace.html: Added.
940         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-binary-trees.html: Added.
941         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-fannkuch.html: Added.
942         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-nbody.html: Added.
943         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-nsieve.html: Added.
944         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-3bit-bits-in-byte.html: Added.
945         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bits-in-byte.html: Added.
946         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bitwise-and.html: Added.
947         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-nsieve-bits.html: Added.
948         * Dromaeo/resources/dromaeo/web/tests/sunspider-controlflow-recursive.html: Added.
949         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-aes.html: Added.
950         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-md5.html: Added.
951         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-sha1.html: Added.
952         * Dromaeo/resources/dromaeo/web/tests/sunspider-date-format-tofte.html: Added.
953         * Dromaeo/resources/dromaeo/web/tests/sunspider-date-format-xparb.html: Added.
954         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-cordic.html: Added.
955         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-partial-sums.html: Added.
956         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-spectral-norm.html: Added.
957         * Dromaeo/resources/dromaeo/web/tests/sunspider-regexp-dna.html: Added.
958         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-fasta.html: Added.
959         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-tagcloud.html: Added.
960         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-unpack-code.html: Added.
961         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-validate-input.html: Added.
962         * Dromaeo/resources/dromaeo/web/tests/v8-crypto.html: Added.
963         * Dromaeo/resources/dromaeo/web/tests/v8-deltablue.html: Added.
964         * Dromaeo/resources/dromaeo/web/tests/v8-earley-boyer.html: Added.
965         * Dromaeo/resources/dromaeo/web/tests/v8-raytrace.html: Added.
966         * Dromaeo/resources/dromaeo/web/tests/v8-richards.html: Added.
967         * Dromaeo/resources/dromaeo/web/tests/72px.png: Added.
968         * Dromaeo/resources/dromaeo/web/web-style.css: Added.
969         * Dromaeo/resources/dromaeo/web/webrunner.js: Added.
970         * Skipped: Unskip the dromaeo driver.
971
972 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
973
974         Fix Parser/html5-full-render.html after r106379.
975
976         * Parser/html5-full-render.html:
977
978 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
979
980         PerfTestRunner should automatically create pre#log
981         https://bugs.webkit.org/show_bug.cgi?id=77469
982
983         Reviewed by Tony Chang.
984
985         Automatically generate <pre id="log"></pre> if there isn't one.
986
987         * Bindings/event-target-wrapper.html:
988         * DOM/Accessors.html:
989         * DOM/CloneNodes.html:
990         * DOM/CreateNodes.html:
991         * DOM/DOMDivWalk.html:
992         * DOM/DOMTable.html:
993         * DOM/DOMWalk.html:
994         * DOM/Events.html:
995         * DOM/GetElement.html:
996         * DOM/GridSort.html:
997         * DOM/Template.html:
998         * Dromaeo/dom-query.html:
999         * Dromaeo/resources/dromaeorunner.js:
1000         * Parser/html-parser.html:
1001         * Parser/html5-full-render.html:
1002         * Parser/simple-url.html:
1003         * Parser/tiny-innerHTML.html:
1004         * Parser/url-parser.html:
1005         * Parser/xml-parser.html:
1006         * resources/runner.js:
1007         (PerfTestRunner.log):
1008         (PerfTestRunner.printStatistics):
1009
1010 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
1011
1012         runner.js in performance tests should define a class
1013         https://bugs.webkit.org/show_bug.cgi?id=77074
1014
1015         Reviewed by Eric Seidel.
1016
1017         Wrap all functions in runner.js by PerfTestRunner and update tests that runner.js accordingly.
1018         Also replace compute* functions in runner.js by more robust code from dom-perf.js.
1019
1020         * Bindings/event-target-wrapper.html:
1021         * DOM/DOMTable.html:
1022         * DOM/resources/dom-perf.js:
1023         (BenchmarkSuite.prototype.RunSingle):
1024         (runBenchmarkSuite):
1025         * Mutation/append-child-deep.html:
1026         * Mutation/append-child.html:
1027         * Mutation/inner-html.html:
1028         * Mutation/remove-child-deep.html:
1029         * Mutation/remove-child.html:
1030         * Parser/html-parser.html:
1031         * Parser/html5-full-render.html:
1032         * Parser/simple-url.html:
1033         * Parser/tiny-innerHTML.html:
1034         * Parser/url-parser.html:
1035         * Parser/xml-parser.html:
1036         * resources/runner.js:
1037         (PerfTestRunner.log):
1038         (PerfTestRunner.logInfo):
1039         (PerfTestRunner.loadFile):
1040         (PerfTestRunner.computeStatistics):
1041         (PerfTestRunner.logStatistics):
1042         (PerfTestRunner._runLoop.else):
1043         (PerfTestRunner._runLoop):
1044         (PerfTestRunner._runner):
1045
1046 2012-01-31  Hajime Morrita  <morrita@chromium.org>
1047
1048         [PerformanceTests] Add landing html for Dromaeo dom-query test
1049         https://bugs.webkit.org/show_bug.cgi?id=77329
1050
1051         Reviewed by Ryosuke Niwa.
1052
1053         Added a "landing html" which includes actual dromaemo page and
1054         send messages to interact with it. The landing html also dumps the
1055         score in run-perf-tests friendly format.
1056
1057         This test isn't enabled until Dromaemo itself is available for run-perf-tests.
1058         It will happen in a separate change.
1059
1060         * Dromaeo/dom-query.html: Added.
1061         * Dromaeo/resources/dromaeorunner.js: Added.
1062         * Skipped: Skipping this for now.
1063
1064 2012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
1065
1066         Skip inspector tests since they have been timing out.
1067
1068         * Skipped:
1069
1070 2012-01-29  Ryosuke Niwa  <rniwa@webkit.org>
1071
1072         DOM/DOMDivWalk.html result is unreliable
1073         https://bugs.webkit.org/show_bug.cgi?id=77313
1074
1075         Reviewed by Adam Barth.
1076
1077         Trigger garbage collection manually between test runs to avoid GC
1078         to occur in the middle of runs.
1079
1080         * DOM/resources/dom-perf.js:
1081         (BenchmarkSuite.prototype.RunSingle):
1082         * resources/runner.js:
1083         (gc.else.gcRec):
1084         (gc):
1085         (runLoop):
1086
1087 2012-01-26  Ryosuke Niwa  <rniwa@webkit.org>
1088
1089         Import Chromium's dom_perf test
1090         https://bugs.webkit.org/show_bug.cgi?id=77175
1091
1092         Reviewed by Adam Barth.
1093
1094         Import dom_perf.
1095
1096         Note resources/dom/suites.js isn't used by any html file yet but it will be used by Chromium port
1097         once its perf bots start pulling test files from WebKit repository instead of Google's internal repository.
1098
1099         * DOM: Added.
1100         * DOM/Accessors.html: Added.
1101         * DOM/CloneNodes.html: Added.
1102         * DOM/CreateNodes.html: Added.
1103         * DOM/DOMDivWalk.html: Added.
1104         * DOM/DOMTable.html: Added.
1105         * DOM/DOMWalk.html: Added.
1106         * DOM/Events.html: Added.
1107         * DOM/GetElement.html: Added.
1108         * DOM/GridSort.html: Added.
1109         * DOM/Template.html: Added.
1110         * DOM/resources: Added.
1111         * DOM/resources/dom-perf.js: Added.
1112         * DOM/resources/dom-perf: Added.
1113         * DOM/resources/dom-perf/accessors.js: Added.
1114         * DOM/resources/dom-perf/clonenodes.js: Added.
1115         * DOM/resources/dom-perf/createnodes.js: Added.
1116         * DOM/resources/dom-perf/domdivwalk.js: Added.
1117         * DOM/resources/dom-perf/domtable.js: Added.
1118         * DOM/resources/dom-perf/domwalk.js: Added.
1119         * DOM/resources/dom-perf/events.js: Added.
1120         * DOM/resources/dom-perf/getelement.js: Added.
1121         * DOM/resources/dom-perf/gridsort.js: Added.
1122         * DOM/resources/dom-perf/suites.js: Added.
1123         * DOM/resources/dom-perf/template.js: Added.
1124         * resources/runner.js:
1125
1126 2012-01-25  Ryosuke Niwa  <rniwa@webkit.org>
1127
1128         html5-full-render.html fails due to a log
1129         https://bugs.webkit.org/show_bug.cgi?id=77046
1130
1131         Reviewed by Adam Barth.
1132
1133         Replace the call to log() in html5-full-render.html by a call to newly added logInfo(),
1134         which doesn't print anything inside DRT.
1135
1136         * Parser/html5-full-render.html:
1137         * resources/runner.js:
1138         (logInfo):
1139
1140 2012-01-19  Adam Barth  <abarth@webkit.org>
1141
1142         PerformanceTests's runner.js shouldn't be Parser-specific
1143         https://bugs.webkit.org/show_bug.cgi?id=76670
1144
1145         Reviewed by Ryosuke Niwa.
1146
1147         This runner script is used by a bunch of difference performance tests.
1148         It shouldn't be in the Parser directory anymore.
1149
1150         * Bindings/event-target-wrapper.html:
1151         * Mutation/append-child-deep.html:
1152         * Mutation/append-child.html:
1153         * Mutation/inner-html.html:
1154         * Mutation/remove-child-deep.html:
1155         * Mutation/remove-child.html:
1156         * Parser/html-parser.html:
1157         * Parser/html5-full-render.html:
1158         * Parser/resources/runner.js: Removed.
1159         * Parser/simple-url.html:
1160         * Parser/tiny-innerHTML.html:
1161         * Parser/url-parser.html:
1162         * Parser/xml-parser.html:
1163         * resources: Added.
1164         * resources/runner.js: Copied from PerformanceTests/Parser/resources/runner.js.
1165
1166 2012-01-19  Ryosuke Niwa  <rniwa@webkit.org>
1167
1168         Some perf tests time out when ran by run-perf-tests
1169         https://bugs.webkit.org/show_bug.cgi?id=76612
1170
1171         Reviewed by Dirk Pranke and Eric Seidel.
1172
1173         Replace all images in html5.html by geenbox.png to avoid accessing whatwg.org when
1174         running the parser tests. Also call dumpAsText, waitUntilDone, and notifyDone automatically
1175         inside runner.js to avoid having to call them in individual tests.
1176
1177         * Bindings/event-target-wrapper.html: Removed calls to layoutTestController methods since
1178         they are now called by runner.js automatically.
1179         * Parser/resources/greenbox.png: Copied from LayoutTests/fast/css/resources/greenbox.png.
1180         * Parser/resources/html5.html:
1181         * Parser/resources/runner.js:
1182         (runLoop):
1183
1184 2012-01-18  Ryosuke Niwa  <rniwa@webkit.org>
1185
1186         run-perf-tests should support Skipped list
1187         https://bugs.webkit.org/show_bug.cgi?id=76594
1188
1189         Reviewed by Adam Barth.
1190
1191         Add Skipped list to be used by run-perf-tests as it can only runs tests in
1192         Bindings, Parser, and inspector at the moment.
1193
1194         * Skipped: Added.
1195
1196 2012-01-12  Ilya Tikhonovsky  <loislo@chromium.org>
1197
1198         Web Inspector: performance: restore 'log 300 messages into console' test.
1199         https://bugs.webkit.org/show_bug.cgi?id=76170
1200
1201         It was removed in order of transition from layout tests to perf tests.
1202
1203         Reviewed by Yury Semikhatsky.
1204
1205         * inspector/console-300-lines.html: Added.
1206
1207 2012-01-12  Ilya Tikhonovsky  <loislo@chromium.org>
1208
1209         Web Inspector: performance tests: fix memory leak in first-open-resources test.
1210         https://bugs.webkit.org/show_bug.cgi?id=76049
1211
1212         first-open-resources doesn't reset resource panel properly after test run.
1213
1214         Reviewed by Yury Semikhatsky.
1215
1216         * inspector/first-open-resources.html:
1217
1218 2012-01-10  Ilya Tikhonovsky  <loislo@chromium.org>
1219
1220         Unreviewed. WebInspector: Remove unnecessary logging from the test.
1221
1222         * inspector/first-open-resources.html:
1223
1224 2012-01-10  Ilya Tikhonovsky  <loislo@chromium.org>
1225
1226         Unreviewed. Restore test that was removed during migration from LayoutTests folder.
1227
1228         * inspector/first-open-resources.html: Added.
1229
1230 2012-01-09  Ilya Tikhonovsky  <loislo@chromium.org>
1231
1232         Unreviewed test fix after r103683.
1233
1234         * inspector/first-open-scripts.html:
1235         * inspector/show-panel.html:
1236
1237 2012-01-03  Adam Barth  <abarth@webkit.org>
1238
1239         html-parser.html takes too long to run
1240         https://bugs.webkit.org/show_bug.cgi?id=75515
1241
1242         Reviewed by Eric Seidel.
1243
1244         In working on runner.js, we introduced a factor of 10 increase to the
1245         running time of this benchmark.  This patch dials down the number of
1246         iterations to something more user-friendly.
1247
1248         * Parser/html-parser.html:
1249
1250 2011-12-18  Ilya Tikhonovsky  <loislo@chromium.org>
1251
1252         Web Inspector: move heap data stats to separate tab.
1253         https://bugs.webkit.org/show_bug.cgi?id=74704
1254
1255         Reviewed by Pavel Feldman.
1256
1257         * inspector/performance-test.js:
1258         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._dump):
1259         (initialize_TimeTracker.InspectorTest.runPerformanceTest):
1260
1261 2011-12-01  Ilya Tikhonovsky  <loislo@chromium.org>
1262
1263         Web Inspector: chromium: move and adapt Inspector's performance tests for running with run-inspector-perf-tests.py.
1264         https://bugs.webkit.org/show_bug.cgi?id=72260
1265
1266         Reviewed by Pavel Feldman.
1267
1268         * inspector/first-open-elements.html: Renamed from LayoutTests/inspector/performance/resources/first-open-elements.html.
1269         * inspector/first-open-scripts.html: Renamed from LayoutTests/inspector/performance/resources/first-open-scripts.html.
1270         * inspector/inspector-startup-time.html: Renamed from LayoutTests/inspector/performance/resources/inspector-startup-time.html.
1271         * inspector/network-append-30-requests.html: Renamed from LayoutTests/inspector/performance/resources/network-append-30-requests.html.
1272         * inspector/performance-test.js: Renamed from LayoutTests/inspector/performance/resources/performance-test.js.
1273         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer):
1274         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.start):
1275         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.finish):
1276         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._getJSHeapSize):
1277         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.done):
1278         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._runTest):
1279         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._dump):
1280         (initialize_TimeTracker.InspectorTest.runPerformanceTest):
1281         (initialize_TimeTracker.InspectorTest.mark):
1282         * inspector/show-panel.html: Renamed from LayoutTests/inspector/performance/resources/show-panel.html.
1283
1284 2011-11-09  Adam Klein  <adamk@chromium.org>
1285
1286         [MutationObservers] Microbenchmarks for appendChild, removeChild, and innerHTML
1287         https://bugs.webkit.org/show_bug.cgi?id=71939
1288
1289         Reviewed by Ojan Vafai.
1290
1291         These benchmarks time both the DOM mutations themselves and the time taken
1292         to call the MutationCallback. This measurement is achieved by
1293         executing the code entirely within the MutationCallback itself.
1294
1295         * Mutation/append-child-deep.html: Added. Covers appendChild in a 200-node-deep tree with subtree observation.
1296         * Mutation/append-child.html: Added. Covers appendChild in a flat tree.
1297         * Mutation/inner-html.html: Added. Covers innerHTML adding and removing many nodes at a time.
1298         * Mutation/remove-child-deep.html: Added. Covers removeChild in a 200-node-deep tree with subtree observation.
1299         * Mutation/remove-child.html: Added. Covers removeChild in a flat tree.
1300
1301 2011-10-25  Adam Barth  <abarth@webkit.org>
1302
1303         EventTargetFactory.in is not sorted
1304         https://bugs.webkit.org/show_bug.cgi?id=70855
1305
1306         Reviewed by Eric Seidel.
1307
1308         Add a microbenchmark for wrapping event target.
1309
1310         * Bindings: Added.
1311         * Bindings/event-target-wrapper.html: Added.
1312         * Parser/resources/runner.js:
1313         (runLoop):
1314             - Let the user of the harness get a callback when the test is done.
1315
1316 2011-10-04  Eric Seidel  <eric@webkit.org>
1317
1318         Update html5-full-render.html to load the HTML5 spec incrementally, closer to how the browser would
1319         https://bugs.webkit.org/show_bug.cgi?id=69374
1320
1321         Unreviewed.
1322
1323         Per https://bugs.webkit.org/show_bug.cgi?id=69374#c7
1324         updating the chunksize to be a bit smaller now that the total
1325         size of the html5 spec is smaller than when I wrote the test.
1326
1327         This should increase the prevalence of style resolution in the
1328         sample time, which more closely matches instrument samples
1329         taken when loading the full page in Safari.
1330
1331         * Parser/html5-full-render.html:
1332
1333 2011-10-04  Eric Seidel  <eric@webkit.org>
1334
1335         Update html5-full-render.html to load the HTML5 spec incrementally, closer to how the browser would
1336         https://bugs.webkit.org/show_bug.cgi?id=69374
1337
1338         Reviewed by James Robinson.
1339
1340         This should finally be able to provide us with a repeatable metric
1341         for how fast we're currently able to load the HTML5 spec.
1342         There are a variety of interesting functions which show up in this
1343         sample, including of course style resolution.
1344
1345         * Parser/html5-full-render.html:
1346
1347 2011-10-04  Eric Seidel  <eric@webkit.org>
1348
1349         Update our copy of the HTML5 spec used for performance testing to match the latest version
1350         https://bugs.webkit.org/show_bug.cgi?id=69364
1351
1352         Unreviewed.  The patch is too large to post, so landing this unreviewed. :(
1353
1354         The copy of the html5 spec we were using for testing was over a year old
1355         and didn't have any of the subresources with it (we were only using it
1356         as an HTML parsing benchmark).  I'm about to use it for testing
1357         the full load/render time of the benchmark, so I've updated to the latest
1358         version of the spec (now 8mb instead of 5mb) and inlined two of the
1359         CSS files.  (Inlining the CSS was necessary to make my testing consistent
1360         as there seems to be a race with some timer fired after CSS load.)
1361
1362         Increasing from 5mb to 8mb showed a similar 30% slowdown in our parser
1363         benchmarks as expected.
1364
1365         * Parser/resources/html5.html:
1366
1367 2011-10-04  Eric Seidel  <eric@webkit.org>
1368
1369         Add loopsPerRun option to Parser performance test runner
1370         https://bugs.webkit.org/show_bug.cgi?id=69363
1371
1372         Reviewed by Antti Koivisto.
1373
1374         Add loopsPerRun option and abstract out runLoop function (to make the UI more responsive).
1375         No change in behavior in any of the tests.
1376
1377         * Parser/resources/runner.js:
1378         (runLoop):
1379         (run):
1380         (start):
1381
1382 2011-10-03  Eric Seidel  <eric@webkit.org>
1383
1384         Add a microbenchmark for a full-page render of the HTML5 spec
1385         https://bugs.webkit.org/show_bug.cgi?id=69285
1386
1387         Reviewed by Adam Barth.
1388
1389         This was designed to be a test for https://bugs.webkit.org/show_bug.cgi?id=68944
1390         But it seems that by far our dominating cost for the HTML5 benchmark is
1391         time spent laying out lines (which isn't actually that surprising).
1392
1393         I'm adding the performance test for posterity.
1394
1395         * Parser/html-parser.html:
1396          - Removed use of "about:blank" which abarth says is a no-op.  Made comment more accurate.
1397         * Parser/html5-full-render.html: Copied from PerformanceTests/Parser/html-parser.html.
1398
1399 2011-10-03  Eric Seidel  <eric@webkit.org>
1400
1401         PerformanceTests/Parser/html-parser is only testing parsing of the head element
1402         https://bugs.webkit.org/show_bug.cgi?id=69283
1403
1404         Reviewed by Adam Barth.
1405
1406         While investigating https://bugs.webkit.org/show_bug.cgi?id=68944
1407         I found that the html-parser benchmark was only parsing up to the
1408         first script tag per loop!  We've fixed this by adding the sandbox
1409         tag which will deny all external loads and allow the parser to
1410         synchronously continue parsing the entire document to completion
1411         (as we had expected it was doing).
1412
1413         This changes the profile somewhat.  Line number counting is much
1414         hotter, since we're actually accounting for the parse of the entire
1415         document in our sample.
1416
1417         Total sample time only about doubles, from 1800ms to 3800ms on my machine
1418         which is less than I would have expected.
1419
1420         * Parser/html-parser.html:
1421
1422 2011-08-09  Alexandru Chiculita  <achicu@adobe.com>
1423
1424         Fixing 65868 REGRESSION(r92610) caused by 65668 - Optimize floating elements lookup
1425         https://bugs.webkit.org/show_bug.cgi?id=65871
1426
1427         Reviewed by Dave Hyatt.
1428
1429         * Layout/floats.html: Added the nested divs, so that we can test the propagation impact of the floats tree.
1430
1431 2011-08-08  Sheriff Bot  <webkit.review.bot@gmail.com>
1432
1433         Unreviewed, rolling out r92610.
1434         http://trac.webkit.org/changeset/92610
1435         https://bugs.webkit.org/show_bug.cgi?id=65868
1436
1437         Caused assertion failures when running fast/multicol tests
1438         (Requested by andersca on #webkit).
1439
1440         * Layout/floats.html:
1441
1442 2011-08-08  Alexandru Chiculita  <achicu@adobe.com>
1443
1444         Optimize floating elements lookup
1445         https://bugs.webkit.org/show_bug.cgi?id=65668
1446
1447         Reviewed by David Hyatt.
1448
1449         * Layout/floats.html: Added the nested divs, so that we can test the propagation impact of the floats tree.
1450
1451 2011-08-04  Alexandru Chiculita  <achicu@adobe.com>
1452
1453         Add a performance test for floating elements layout algorithm
1454         https://bugs.webkit.org/show_bug.cgi?id=65741
1455
1456         The test creating lots of small floats and randomly changes
1457         the width of one element at a time. It measures how often it can do that.
1458
1459         Reviewed by Adam Barth.
1460
1461         * Layout/floats.html: Added.
1462
1463 2011-05-30  Daniel Bates  <dbates@webkit.org>
1464
1465         Reviewed by Adam Barth.
1466
1467         Rename XSSFilter to XSSAuditor
1468         https://bugs.webkit.org/show_bug.cgi?id=61718
1469
1470         Currently we use the names XSSFilter and XSSAuditor throughout the project.
1471         Instead, we should choose one name for consistency.
1472
1473         No functionality was changed. So, no new tests.
1474
1475         * XSSAuditor: Copied from PerformanceTests/XSSFilter.
1476         * XSSFilter: Removed.
1477         * XSSFilter/large-post-many-events.html: Removed.
1478         * XSSFilter/large-post-many-inline-scripts-and-events.html: Removed.
1479         * XSSFilter/resources: Removed.
1480         * XSSFilter/resources/target-for-large-post-many-inline-scripts-and-events.html: Removed.
1481
1482 2011-03-25  Leo Yang  <leo.yang@torchmobile.com.cn>
1483
1484         Reviewed by Dirk Schulze.
1485
1486         SVG <use> element performance improvement
1487         https://bugs.webkit.org/show_bug.cgi?id=57077
1488
1489         Add a manual test case which is from
1490         http://upload.wikimedia.org/wikipedia/commons/4/4e/Sierpinski_carpet_6.svg
1491         for svg <use> element performance test.
1492
1493         * PageLoad/svg/files/Sierpinski_carpet_6.svg: Added.
1494         * PageLoad/svg/svg.pltsuite:
1495
1496 2011-02-05  Eric Seidel  <eric@webkit.org>
1497
1498         Reviewed by Adam Barth.
1499
1500         Add performance tests for URL parsing
1501         https://bugs.webkit.org/show_bug.cgi?id=53845
1502
1503         The final-url-en URL corpus is from:
1504         http://corpus.leeds.ac.uk/internet.html
1505
1506         There are also other language corpuses which we may want to use in the future.
1507
1508         The usage instructions were as follows:
1509         "URL lists and other resources: you can freely use them in your research
1510         provided that you supply a link to this website: http://corpus.leeds.ac.uk/."
1511         Done.
1512
1513         * Parser/simple-url.html: Added.
1514          On my machine:
1515          Firefox: 255ms
1516          TOT WebKit: 378ms
1517          Chrome: 286ms
1518          Opera: 2830ms (no, that is not a typo)
1519         * Parser/url-parser.html: Added.
1520          Firefox: 381ms
1521          TOT WebKit: 216ms
1522          Chrome: 131ms
1523          Opera: 1383ms (again, not a typo)
1524         * Parser/resources/final-url-en: Added.
1525
1526 2011-02-03  Adam Barth  <abarth@webkit.org>
1527
1528         Reviewed by Daniel Bates.
1529
1530         Add another XSSFilter PerformanceTest
1531         https://bugs.webkit.org/show_bug.cgi?id=53750
1532
1533         This PerformanceTest tests the case that was slow in
1534         https://bugs.webkit.org/show_bug.cgi?id=49845
1535
1536         * XSSFilter/large-post-many-inline-scripts-and-events.html: Added.
1537         * XSSFilter/resources: Added.
1538         * XSSFilter/resources/target-for-large-post-many-inline-scripts-and-events.html: Added.
1539
1540 2011-02-03  Adam Barth  <abarth@webkit.org>
1541
1542         Reviewed by Eric Seidel.
1543
1544         Add PerformanceTest for XSSFilter
1545         https://bugs.webkit.org/show_bug.cgi?id=53741
1546
1547         This performance tests covers the case of a large POST data and many
1548         small event handlers.
1549
1550         * XSSFilter: Added.
1551         * XSSFilter/large-post-many-events.html: Added.
1552
1553 2011-02-02  Adam Barth  <abarth@webkit.org>
1554
1555         Rubber-stamped by Eric Seidel.
1556
1557         Merge PerformanceTests/Parser/ChangeLog and
1558         PerformanceTests/PageLoad/ChangeLog into PerformanceTests/ChangeLog.
1559
1560         It's silly to have ChangeLogs for each of these directories separately.
1561         I've left SunSpider with its own ChangeLog because it's more of an
1562         independent entity.
1563
1564         * ChangeLog: Added.
1565
1566 2011-02-02  Eric Seidel  <eric@webkit.org>
1567
1568         Unreviewed.  Just fixing an exception seen in Firefox.
1569
1570         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
1571         https://bugs.webkit.org/show_bug.cgi?id=48719
1572
1573         Make the benchmarks work in Firefox/Opera.
1574
1575         * resources/runner.js:
1576         (log):
1577
1578 2011-01-27  Eric Seidel  <eric@webkit.org>
1579
1580         Reviewed by Darin Adler.
1581
1582         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
1583         https://bugs.webkit.org/show_bug.cgi?id=48719
1584
1585         It's unclear exactly what the Peacekeeper benchmark is testing,
1586         because I haven't found a way to run it myself.
1587
1588         However, I constructed a benchmark which shows at least one possible slow point.
1589         The HTML5 spec talks about creating a new document for every time we use
1590         the fragment parsing algorithm.  Document() it turns out, it a huge bloated
1591         mess, and the constructor and destructor do a huge amount of work.
1592
1593         * benchmarks/parser/tiny-innerHTML.html: Added.
1594
1595 2011-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1596
1597         Unreviewed, rolling out r77050.
1598         http://trac.webkit.org/changeset/77050
1599         https://bugs.webkit.org/show_bug.cgi?id=53371
1600
1601         Caused a crash in Chromium's test_shell_tests (Requested by
1602         rniwa on #webkit).
1603
1604         * resources/performance-test.js: Removed.
1605         * tiny-innerHTML.html: Removed.
1606
1607 2011-01-28  Eric Seidel  <eric@webkit.org>
1608
1609         Reviewed by Darin Adler.
1610
1611         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
1612         https://bugs.webkit.org/show_bug.cgi?id=48719
1613
1614         It's unclear exactly what the Peacekeeper benchmark is testing,
1615         because I haven't found a way to run it myself.
1616
1617         However, I constructed a benchmark which shows at least one possible slow point.
1618         The HTML5 spec talks about creating a new document for every time we use
1619         the fragment parsing algorithm.  Document() it turns out, it a huge bloated
1620         mess, and the constructor and destructor do a huge amount of work.
1621         To avoid constructing (or destructing) documents for each innerHTML call,
1622         this patch adds a shared dummy document used by all innerHTML calls.
1623
1624         * benchmarks/parser/tiny-innerHTML.html: Added.
1625
1626 2010-12-31  Adam Barth  <abarth@webkit.org>
1627
1628         Rubber-stamped by Eric Seidel.
1629
1630         Move HTML and XML parser benchmarks into PerformanceTests/Parser
1631         https://bugs.webkit.org/show_bug.cgi?id=51772
1632
1633         Add a ChangeLog for tracking changes to the Parser PerformanceTest.
1634
1635         * ChangeLog: Added.
1636
1637 2010-12-31  Adam Barth  <abarth@webkit.org>
1638
1639         Rubber-stamped by Eric Seidel.
1640
1641         Move PageLoadTests to PerformanceTests/PageLoad
1642         https://bugs.webkit.org/show_bug.cgi?id=51771
1643
1644         Update URLs to point to the new directory name.
1645
1646         * svg/svg.pltsuite:
1647
1648 2006-12-26  Eric Seidel  <eric@webkit.org>
1649
1650         Reviewed by olliej.
1651
1652         * svg/svg.pltsuite: re-enable word-iso.svg after fixing http://bugs.webkit.org/show_bug.cgi?id=11987
1653
1654 2006-12-26  Eric Seidel  <eric@webkit.org>
1655
1656         Reviewed by bradee-oh.
1657         
1658         Add new PageLoadTests directory (this one)
1659         Add LICENSES file to explain where each SVG came from.
1660
1661         * ChangeLog: Added.
1662         * svg/LICENSES: Added.
1663         * svg/files/33041-Samurai.svg: Added.
1664         * svg/files/42470-flower_from_my_garden_v2.svg: Added.
1665         * svg/files/Harvey_Rayner.svg: Added.
1666         * svg/files/az-lizard_benji_park_01.svg: Added.
1667         * svg/files/bamboo_01.svg: Added.
1668         * svg/files/cacuts_01.svg: Added.
1669         * svg/files/cowboy.svg: Added.
1670         * svg/files/crawfish2_ganson.svg: Added.
1671         * svg/files/deb9frac1.svg: Added.
1672         * svg/files/food_leif_lodahl_01.svg: Added.
1673         * svg/files/france.svg: Added.
1674         * svg/files/francobollo_gnome_ezechi_02.svg: Added.
1675         * svg/files/gearflowers.svg: Added.
1676         * svg/files/hereGear4.svg: Added.
1677         * svg/files/mtsthelens.svg: Added.
1678         * svg/files/mtsthelens0.jpg: Added.
1679         * svg/files/world-iso.svg: Added.
1680         * svg/files/worldcup.svg: Added.
1681         * svg/svg.pltsuite: Added.
1682