Add performance tests for DOM attribute getters and setters
[WebKit-https.git] / PerformanceTests / ChangeLog
1 2012-02-24  Kentaro Hara  <haraken@chromium.org>
2
3         Add performance tests for DOM attribute getters and setters
4         https://bugs.webkit.org/show_bug.cgi?id=79208
5
6         Reviewed by Ryosuke Niwa.
7
8         This patch adds performance micro-benchmarks for DOM attribute
9         getters and setters. We selected DOM attributes from HTMLElement,
10         Element and Node which will most impact on the DOM performance
11         in the real Web and which have different call-paths from another
12         DOM attribute.
13
14         The perf test result in my local Chromium/Linux environment is as follows:
15         median= 14967.0 ms, stdev= 85.2385476178 ms, min= 14861.0 ms, max= 15155.0 ms
16
17         If we run the test with DumpRenderTree, we can get the following test results:
18         Info: [HTMLElement.id] avg=65.76ms, median=65.00ms, stdev=2.14ms, min=63, max=70
19         Info: [HTMLElement.title] avg=64.05ms, median=63.00ms, stdev=1.50ms, min=63, max=67
20         Info: [HTMLElement.lang] avg=64.19ms, median=63.00ms, stdev=1.82ms, min=62, max=67
21         Info: [HTMLElement.dir] avg=64.10ms, median=63.00ms, stdev=1.72ms, min=62, max=68
22         Info: [HTMLElement.className] avg=63.33ms, median=63.00ms, stdev=0.89ms, min=63, max=67
23         Info: [HTMLElement.classList] avg=1946.00ms, median=1945.00ms, stdev=38.22ms, min=1921, max=2110
24         Info: [HTMLElement.tabIndex] avg=83.52ms, median=80.00ms, stdev=6.00ms, min=79, max=94
25         Info: [HTMLElement.draggable] avg=78.14ms, median=81.00ms, stdev=3.51ms, min=74, max=82
26         Info: [HTMLElement.webkitdropzone] avg=64.33ms, median=63.00ms, stdev=1.98ms, min=63, max=68
27         Info: [HTMLElement.hidden] avg=65.57ms, median=64.00ms, stdev=3.27ms, min=63, max=71
28         Info: [HTMLElement.accessKey] avg=64.43ms, median=63.00ms, stdev=2.11ms, min=62, max=68
29         Info: [HTMLElement.children] avg=130.76ms, median=128.00ms, stdev=9.75ms, min=109, max=143
30         Info: [HTMLElement.isContentEditable] avg=74.29ms, median=75.00ms, stdev=2.00ms, min=71, max=77
31         Info: [HTMLElement.spellcheck] avg=79.52ms, median=80.00ms, stdev=2.52ms, min=76, max=82
32         Info: [HTMLElement.innerHTML] avg=279.05ms, median=279.00ms, stdev=1.96ms, min=276, max=283
33         Info: [HTMLElement.innerText] avg=204.14ms, median=203.00ms, stdev=2.95ms, min=200, max=210
34         Info: [HTMLElement.outerHTML] avg=1544.10ms, median=1546.00ms, stdev=15.56ms, min=1514, max=1568
35         Info: [HTMLElement.outerText] avg=216.05ms, median=207.00ms, stdev=18.19ms, min=201, max=247
36         Info: [HTMLElement.contentEditable] avg=334.24ms, median=323.00ms, stdev=36.06ms, min=318, max=446
37         Info: [HTMLElement.id="foo"] avg=53.19ms, median=53.00ms, stdev=1.76ms, min=52, max=58
38         Info: [HTMLElement.title="foo"] avg=63.14ms, median=63.00ms, stdev=0.35ms, min=63, max=64
39         Info: [HTMLElement.lang="foo"] avg=60.86ms, median=61.00ms, stdev=0.56ms, min=60, max=62
40         Info: [HTMLElement.dir="foo"] avg=53.57ms, median=54.00ms, stdev=0.58ms, min=53, max=55
41         Info: [HTMLElement.className="foo"] avg=64.52ms, median=64.00ms, stdev=0.91ms, min=63, max=66
42         Info: [HTMLElement.tabIndex="foo"] avg=367.86ms, median=369.00ms, stdev=8.06ms, min=352, max=380
43         Info: [HTMLElement.draggable="foo"] avg=79.43ms, median=79.00ms, stdev=0.58ms, min=79, max=81
44         Info: [HTMLElement.webkitdropzone="foo"] avg=62.14ms, median=62.00ms, stdev=0.35ms, min=62, max=63
45         Info: [HTMLElement.hidden="foo"] avg=61.67ms, median=62.00ms, stdev=0.71ms, min=61, max=64
46         Info: [HTMLElement.accessKey="foo"] avg=61.86ms, median=62.00ms, stdev=0.56ms, min=61, max=63
47         Info: [HTMLElement.spellcheck="foo"] avg=79.57ms, median=80.00ms, stdev=0.58ms, min=78, max=80
48         Info: [HTMLElement.innerHTML="foo"] avg=1176.67ms, median=1169.00ms, stdev=26.60ms, min=1146, max=1246
49         Info: [HTMLElement.innerText="foo"] avg=51.62ms, median=52.00ms, stdev=0.72ms, min=50, max=53
50         Info: [Element.tagName] avg=79.52ms, median=80.00ms, stdev=1.05ms, min=78, max=81
51         Info: [Element.style] avg=126.19ms, median=126.00ms, stdev=10.40ms, min=104, max=161
52         Info: [Element.offsetLeft] avg=98.95ms, median=104.00ms, stdev=4.01ms, min=100, max=99
53         Info: [Element.clientLeft] avg=98.33ms, median=102.00ms, stdev=2.59ms, min=100, max=99
54         Info: [Element.scrollLeft] avg=103.29ms, median=96.00ms, stdev=15.63ms, min=100, max=97
55         Info: [Element.dataset] avg=2448.62ms, median=2441.00ms, stdev=20.43ms, min=2426, max=2503
56         Info: [Element.firstElementChild] avg=58.71ms, median=58.00ms, stdev=2.37ms, min=57, max=65
57         Info: [Element.lastElementChild] avg=56.33ms, median=55.00ms, stdev=1.83ms, min=54, max=59
58         Info: [Element.previousElementSibling] avg=52.95ms, median=52.00ms, stdev=1.70ms, min=52, max=57
59         Info: [Element.nextElementSibling] avg=58.48ms, median=58.00ms, stdev=1.79ms, min=57, max=63
60         Info: [Element.childElementCount] avg=64.57ms, median=64.00ms, stdev=1.81ms, min=63, max=71
61         Info: [Element.onload] avg=98.38ms, median=98.00ms, stdev=0.49ms, min=98, max=99
62         Info: [Element.scrollLeft="foo"] avg=95.24ms, median=95.00ms, stdev=0.92ms, min=94, max=98
63         Info: [Element.onload="foo"] avg=67.14ms, median=67.00ms, stdev=0.56ms, min=66, max=68
64         Info: [Node.nodeName] avg=76.29ms, median=76.00ms, stdev=0.63ms, min=75, max=77
65         Info: [Node.nodeType] avg=53.05ms, median=52.00ms, stdev=2.61ms, min=52, max=61
66         Info: [Node.parentNode] avg=53.52ms, median=53.00ms, stdev=1.22ms, min=52, max=56
67         Info: [Node.childNodes] avg=118.33ms, median=123.00ms, stdev=8.85ms, min=107, max=129
68         Info: [Node.firstChild] avg=53.62ms, median=53.00ms, stdev=1.13ms, min=51, max=55
69         Info: [Node.lastChild] avg=53.14ms, median=53.00ms, stdev=1.21ms, min=52, max=55
70         Info: [Node.previousSibling] avg=51.86ms, median=51.00ms, stdev=1.55ms, min=50, max=54
71         Info: [Node.nextSibling] avg=52.86ms, median=54.00ms, stdev=1.81ms, min=50, max=55
72         Info: [Node.attributes] avg=2027.71ms, median=2026.00ms, stdev=10.48ms, min=2010, max=2051
73         Info: [Node.ownerDocument] avg=152.14ms, median=152.00ms, stdev=1.73ms, min=149, max=155
74         Info: [Node.namespaceURI] avg=60.86ms, median=59.00ms, stdev=3.85ms, min=56, max=66
75         Info: [Node.localName] avg=60.00ms, median=59.00ms, stdev=2.71ms, min=57, max=66
76         Info: [Node.baseURI] avg=671.10ms, median=668.00ms, stdev=10.66ms, min=659, max=706
77         Info: [Node.parentElement] avg=55.05ms, median=56.00ms, stdev=2.15ms, min=52, max=58
78         Info: [Node.nodeValue] avg=61.24ms, median=60.00ms, stdev=2.56ms, min=59, max=68
79         Info: [Node.prefix] avg=60.90ms, median=58.00ms, stdev=4.26ms, min=57, max=68
80         Info: [Node.textContent] avg=149.71ms, median=149.00ms, stdev=1.12ms, min=148, max=152
81         Info: [Node.nodeValue="foo"] avg=23.62ms, median=23.00ms, stdev=0.72ms, min=23, max=25
82         Info: [Node.prefix="foo"] avg=49.57ms, median=49.00ms, stdev=0.73ms, min=49, max=51
83         Info: [Node.textContent="foo"] avg=145.81ms, median=140.00ms, stdev=17.43ms, min=138, max=199
84
85         * Bindings/dom_attributes.html: Added.
86         * resources/runner.js:
87         (PerfTestRunner.info):
88
89 2012-02-22  Kentaro Hara  <haraken@chromium.org>
90
91         Add performance tests for the Element.id getter and setter
92         https://bugs.webkit.org/show_bug.cgi?id=79209
93
94         Reviewed by Adam Barth.
95
96         This patch adds performance tests for the Element.id getter and setter.
97
98         The results of 10 runs in my local Chromium/Linux are as follows:
99
100         dom_attributes_id_getter.html:
101         median= 92.0 ms, stdev= 1.65151445649 ms, min= 89.0 ms, max= 96.0 ms
102         median= 87.5 ms, stdev= 1.84390889146 ms, min= 85.0 ms, max= 92.0 ms
103         median= 94.0 ms, stdev= 1.46543508898 ms, min= 90.0 ms, max= 95.0 ms
104         median= 86.0 ms, stdev= 1.66958078571 ms, min= 84.0 ms, max= 91.0 ms
105         median= 94.0 ms, stdev= 2.25610283454 ms, min= 103.0 ms, max= 98.0 ms
106         median= 86.0 ms, stdev= 1.49666295471 ms, min= 84.0 ms, max= 91.0 ms
107         median= 86.0 ms, stdev= 1.5321553446 ms, min= 84.0 ms, max= 90.0 ms
108         median= 86.0 ms, stdev= 2.20227155455 ms, min= 84.0 ms, max= 94.0 ms
109         median= 96.0 ms, stdev= 1.74570902501 ms, min= 101.0 ms, max= 99.0 ms
110         median= 86.0 ms, stdev= 1.63935963108 ms, min= 84.0 ms, max= 90.0 ms
111         median= 94.0 ms, stdev= 1.49248115566 ms, min= 90.0 ms, max= 95.0 ms
112         median= 88.0 ms, stdev= 5.20192272146 ms, min= 84.0 ms, max= 98.0 ms
113         median= 86.0 ms, stdev= 1.41067359797 ms, min= 84.0 ms, max= 89.0 ms
114         median= 86.0 ms, stdev= 1.48660687473 ms, min= 84.0 ms, max= 89.0 ms
115         median= 94.0 ms, stdev= 1.58113883008 ms, min= 93.0 ms, max= 97.0 ms
116         median= 86.0 ms, stdev= 1.95959179423 ms, min= 84.0 ms, max= 93.0 ms
117         median= 86.0 ms, stdev= 1.8547236991 ms, min= 84.0 ms, max= 92.0 ms
118         median= 86.0 ms, stdev= 1.39283882772 ms, min= 84.0 ms, max= 89.0 ms
119         median= 88.0 ms, stdev= 1.48660687473 ms, min= 85.0 ms, max= 90.0 ms
120         median= 86.5 ms, stdev= 2.3 ms, min= 84.0 ms, max= 93.0 ms
121
122         dom_attributes_id_setter.html:
123         median= 123.0 ms, stdev= 2.06397674406 ms, min= 119.0 ms, max= 128.0 ms
124         median= 119.0 ms, stdev= 1.92028643697 ms, min= 117.0 ms, max= 123.0 ms
125         median= 121.0 ms, stdev= 1.8781639971 ms, min= 118.0 ms, max= 123.0 ms
126         median= 123.0 ms, stdev= 2.21585198062 ms, min= 119.0 ms, max= 130.0 ms
127         median= 124.5 ms, stdev= 2.36378933071 ms, min= 119.0 ms, max= 129.0 ms
128         median= 122.0 ms, stdev= 2.4474476501 ms, min= 118.0 ms, max= 128.0 ms
129         median= 123.0 ms, stdev= 1.76351920885 ms, min= 118.0 ms, max= 125.0 ms
130         median= 119.0 ms, stdev= 1.79652442232 ms, min= 117.0 ms, max= 125.0 ms
131         median= 121.0 ms, stdev= 1.49916643506 ms, min= 119.0 ms, max= 123.0 ms
132         median= 119.5 ms, stdev= 1.85135085816 ms, min= 117.0 ms, max= 125.0 ms
133         median= 124.0 ms, stdev= 1.43090880213 ms, min= 120.0 ms, max= 124.0 ms
134         median= 122.0 ms, stdev= 1.45859521458 ms, min= 118.0 ms, max= 123.0 ms
135         median= 123.0 ms, stdev= 1.50332963784 ms, min= 120.0 ms, max= 124.0 ms
136         median= 123.0 ms, stdev= 1.3638181697 ms, min= 120.0 ms, max= 125.0 ms
137         median= 119.0 ms, stdev= 1.43527000944 ms, min= 117.0 ms, max= 121.0 ms
138         median= 122.5 ms, stdev= 1.71682847134 ms, min= 118.0 ms, max= 124.0 ms
139         median= 121.0 ms, stdev= 1.44481832768 ms, min= 118.0 ms, max= 123.0 ms
140         median= 120.0 ms, stdev= 1.40978721799 ms, min= 117.0 ms, max= 122.0 ms
141         median= 122.0 ms, stdev= 1.68522995464 ms, min= 119.0 ms, max= 125.0 ms
142         median= 122.0 ms, stdev= 1.55804364509 ms, min= 118.0 ms, max= 123.0 ms
143
144
145         * Bindings/dom_attributes_id_getter.html: Added.
146         * Bindings/dom_attributes_id_setter.html: Added.
147         * Bindings/resources/dom_attributes_common.js: Added.
148
149 2012-02-16  Alexis Menard  <alexis.menard@openbossa.org>
150
151         Add a perf test for the CSS parser.
152         https://bugs.webkit.org/show_bug.cgi?id=78114
153
154         Reviewed by Ryosuke Niwa.
155
156         Add a perf test for the CSS parser. It load a big CSS chunk
157         which contains some snippets of the YUI library from Yahoo!.
158
159         * Parser/css-parser-yui.html: Added.
160
161 2012-02-08  Hajime Morrita  <morrita@chromium.org>
162
163         [PerformanceTests] sunspider-crypto-md5.html and sunspider-crypto-sha1.html are timing out on cr-mac perf bot
164         https://bugs.webkit.org/show_bug.cgi?id=78174
165
166         Reviewed by Ryosuke Niwa.
167
168         Pulled back removed files.
169
170         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-md5.html: Added.
171         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-sha1.html: Added.
172
173 2012-02-02  Hajime Morrita  <morrita@chromium.org>
174
175         [PerformanceTests] Each Dromaeo test needs its landing html.
176         https://bugs.webkit.org/show_bug.cgi?id=77504
177
178         Reviewed by Ryosuke Niwa.
179
180         - Added landing pages for each test which are listed in MANIFEST.json
181         - Removed some tests which depends on the library whose license is incompatible to WebKit.
182         - Added local copy of corresponding library. And replace the references to the remote sources
183           to the local copies.
184         - Removed old library files under Dromaeo/resources/dromaeo/web/lib/.
185         - Skipped Sunsupier and v8 test. Such JS centric test should have its own test instead of
186           running as a part of Dromaeo.
187
188         * Dromaeo/cssquery-dojo.html: Added.
189         * Dromaeo/cssquery-jquery.html: Added.
190         * Dromaeo/cssquery-prototype.html: Added.
191         * Dromaeo/dom-attr.html: Added.
192         * Dromaeo/dom-modify.html: Added.
193         * Dromaeo/dom-traverse.html: Added.
194         * Dromaeo/dromaeo-3d-cube.html: Added.
195         * Dromaeo/dromaeo-core-eval.html: Added.
196         * Dromaeo/dromaeo-object-array.html: Added.
197         * Dromaeo/dromaeo-object-regexp.html: Added.
198         * Dromaeo/dromaeo-object-string.html: Added.
199         * Dromaeo/dromaeo-string-base64.html: Added.
200         * Dromaeo/jslib-attr-jquery.html: Added.
201         * Dromaeo/jslib-attr-prototype.html: Added.
202         * Dromaeo/jslib-event-jquery.html: Added.
203         * Dromaeo/jslib-event-prototype.html: Added.
204         * Dromaeo/jslib-modify-jquery.html: Added.
205         * Dromaeo/jslib-modify-prototype.html: Added.
206         * Dromaeo/jslib-style-jquery.html: Added.
207         * Dromaeo/jslib-style-prototype.html: Added.
208         * Dromaeo/jslib-traverse-jquery.html: Added.
209         * Dromaeo/jslib-traverse-prototype.html: Added.
210         * Dromaeo/resources/dromaeo/web/lib/dojo.js: Removed.
211         * Dromaeo/resources/dromaeo/web/lib/dojo-1.6.1.js: Added.
212         * Dromaeo/resources/dromaeo/web/lib/jquery.js: Removed.
213         * Dromaeo/resources/dromaeo/web/lib/jquery-1.6.4.js: Added.
214         * Dromaeo/resources/dromaeo/web/lib/mootools.js: Removed.
215         * Dromaeo/resources/dromaeo/web/lib/prototype.js: Removed.
216         * Dromaeo/resources/dromaeo/web/lib/prototype-1.7.js: Added.
217         * Dromaeo/resources/dromaeo/web/tests/cssquery-dojo.html:
218         * Dromaeo/resources/dromaeo/web/tests/cssquery-jquery.html:
219         * Dromaeo/resources/dromaeo/web/tests/cssquery-mootools.html: Removed.
220         * Dromaeo/resources/dromaeo/web/tests/cssquery-prototype.html:
221         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-jquery.html:
222         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-prototype.html:
223         * Dromaeo/resources/dromaeo/web/tests/jslib-event-jquery.html:
224         * Dromaeo/resources/dromaeo/web/tests/jslib-event-prototype.html:
225         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-jquery.html:
226         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-prototype.html:
227         * Dromaeo/resources/dromaeo/web/tests/jslib-style-jquery.html:
228         * Dromaeo/resources/dromaeo/web/tests/jslib-style-prototype.html:
229         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-jquery.html:
230         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-prototype.html:
231         * Dromaeo/sunspider-3d-morph.html: Added.
232         * Dromaeo/sunspider-3d-raytrace.html: Added.
233         * Dromaeo/sunspider-access-binary-trees.html: Added.
234         * Dromaeo/sunspider-access-fannkuch.html: Added.
235         * Dromaeo/sunspider-access-nbody.html: Added.
236         * Dromaeo/sunspider-access-nsieve.html: Added.
237         * Dromaeo/sunspider-bitops-3bit-bits-in-byte.html: Added.
238         * Dromaeo/sunspider-bitops-bits-in-byte.html: Added.
239         * Dromaeo/sunspider-bitops-bitwise-and.html: Added.
240         * Dromaeo/sunspider-bitops-nsieve-bits.html: Added.
241         * Dromaeo/sunspider-controlflow-recursive.html: Added.
242         * Dromaeo/sunspider-crypto-aes.html: Added.
243         * Dromaeo/sunspider-crypto-md5.html: Added.
244         * Dromaeo/sunspider-crypto-sha1.html: Added.
245         * Dromaeo/sunspider-date-format-tofte.html: Added.
246         * Dromaeo/sunspider-date-format-xparb.html: Added.
247         * Dromaeo/sunspider-math-cordic.html: Added.
248         * Dromaeo/sunspider-math-partial-sums.html: Added.
249         * Dromaeo/sunspider-math-spectral-norm.html: Added.
250         * Dromaeo/sunspider-regexp-dna.html: Added.
251         * Dromaeo/sunspider-string-fasta.html: Added.
252         * Dromaeo/sunspider-string-tagcloud.html: Added.
253         * Dromaeo/sunspider-string-unpack-code.html: Added.
254         * Dromaeo/sunspider-string-validate-input.html: Added.
255         * Dromaeo/v8-crypto.html: Added.
256         * Dromaeo/v8-deltablue.html: Added.
257         * Dromaeo/v8-earley-boyer.html: Added.
258         * Dromaeo/v8-raytrace.html: Added.
259         * Dromaeo/v8-richards.html: Added.
260         * Skipped:
261
262 2012-02-02  Sheriff Bot  <webkit.review.bot@gmail.com>
263
264         Unreviewed, rolling out r106543.
265         http://trac.webkit.org/changeset/106543
266         https://bugs.webkit.org/show_bug.cgi?id=77671
267
268         Made tests less stable (Requested by rniwa on #webkit).
269
270         * resources/init.html: Removed.
271
272 2012-02-02  Ryosuke Niwa  <rniwa@webkit.org>
273
274         [PerformanceTests] tests have dependencies
275         https://bugs.webkit.org/show_bug.cgi?id=77506
276
277         Reviewed by Hajime Morita.
278
279         * resources/init.html: Added.
280
281 2012-02-01  Ryosuke Niwa  <rniwa@webkit.org>
282
283         Fix after r106386. The empty anchor element was generating an erroneous whitespace.
284
285         * Bindings/event-target-wrapper.html:
286
287 2012-02-01  Ryosuke Niwa  <rniwa@webkit.org>
288
289         Another fix after r106379.
290
291         * Parser/html5-full-render.html:
292
293 2012-01-31  Hajime Morrita  <morrita@chromium.org>
294
295         Import Dromaeo to WebKit repository.
296         https://bugs.webkit.org/show_bug.cgi?id=77328
297
298         Reviewed by Ryosuke Niwa.
299
300         Imported a modified version of Dromaeo which is able to
301         run on the DRT.
302
303         The imported version originally came from:
304         https://github.com/omo/dromaeo/commit/c942a1452109cdd5f759b3c4aee8d68d490d44a2
305
306         * Dromaeo/resources/dromaeo/web/application.css: Added.
307         * Dromaeo/resources/dromaeo/web/favicon.ico: Added.
308         * Dromaeo/resources/dromaeo/web/favicon.png: Added.
309         * Dromaeo/resources/dromaeo/web/htmlrunner.js: Added.
310         * Dromaeo/resources/dromaeo/web/ie.css: Added.
311         * Dromaeo/resources/dromaeo/web/images/bg.png: Added.
312         * Dromaeo/resources/dromaeo/web/images/clouds.png: Added.
313         * Dromaeo/resources/dromaeo/web/images/clouds2.png: Added.
314         * Dromaeo/resources/dromaeo/web/images/comets.png: Added.
315         * Dromaeo/resources/dromaeo/web/images/dino1.png: Added.
316         * Dromaeo/resources/dromaeo/web/images/dino2.png: Added.
317         * Dromaeo/resources/dromaeo/web/images/dino3.png: Added.
318         * Dromaeo/resources/dromaeo/web/images/dino4.png: Added.
319         * Dromaeo/resources/dromaeo/web/images/dino5.png: Added.
320         * Dromaeo/resources/dromaeo/web/images/dino6.png: Added.
321         * Dromaeo/resources/dromaeo/web/images/dino7.png: Added.
322         * Dromaeo/resources/dromaeo/web/images/dino8.png: Added.
323         * Dromaeo/resources/dromaeo/web/images/left.png: Added.
324         * Dromaeo/resources/dromaeo/web/images/logo.png: Added.
325         * Dromaeo/resources/dromaeo/web/images/logo2.png: Added.
326         * Dromaeo/resources/dromaeo/web/images/logo3.png: Added.
327         * Dromaeo/resources/dromaeo/web/images/right.png: Added.
328         * Dromaeo/resources/dromaeo/web/images/top.png: Added.
329         * Dromaeo/resources/dromaeo/web/images/water.png: Added.
330         * Dromaeo/resources/dromaeo/web/index.html: Added.
331         * Dromaeo/resources/dromaeo/web/jquery.js: Added.
332         * Dromaeo/resources/dromaeo/web/lib/dojo.js: Added.
333         * Dromaeo/resources/dromaeo/web/lib/jquery.js: Added.
334         * Dromaeo/resources/dromaeo/web/lib/mootools.js: Added.
335         * Dromaeo/resources/dromaeo/web/lib/prototype.js: Added.
336         * Dromaeo/resources/dromaeo/web/pngfix.js: Added.
337         * Dromaeo/resources/dromaeo/web/reset.css: Added.
338         * Dromaeo/resources/dromaeo/web/test-head.html: Added.
339         * Dromaeo/resources/dromaeo/web/test-head.js: Added.
340         * Dromaeo/resources/dromaeo/web/test-tail.html: Added.
341         * Dromaeo/resources/dromaeo/web/test-tail.js: Added.
342         * Dromaeo/resources/dromaeo/web/tests/MANIFEST.json: Added.
343         * Dromaeo/resources/dromaeo/web/tests/cssquery-dojo.html: Added.
344         * Dromaeo/resources/dromaeo/web/tests/cssquery-jquery.html: Added.
345         * Dromaeo/resources/dromaeo/web/tests/cssquery-mootools.html: Added.
346         * Dromaeo/resources/dromaeo/web/tests/cssquery-prototype.html: Added.
347         * Dromaeo/resources/dromaeo/web/tests/cssquery-yui.html: Added.
348         * Dromaeo/resources/dromaeo/web/tests/dom-attr.html: Added.
349         * Dromaeo/resources/dromaeo/web/tests/dom-modify.html: Added.
350         * Dromaeo/resources/dromaeo/web/tests/dom-query.html: Added.
351         * Dromaeo/resources/dromaeo/web/tests/dom-traverse.html: Added.
352         * Dromaeo/resources/dromaeo/web/tests/dromaeo-3d-cube.html: Added.
353         * Dromaeo/resources/dromaeo/web/tests/dromaeo-core-eval.html: Added.
354         * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-array.html: Added.
355         * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-regexp.html: Added.
356         * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-string.html: Added.
357         * Dromaeo/resources/dromaeo/web/tests/dromaeo-string-base64.html: Added.
358         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-jquery.html: Added.
359         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-prototype.html: Added.
360         * Dromaeo/resources/dromaeo/web/tests/jslib-event-jquery.html: Added.
361         * Dromaeo/resources/dromaeo/web/tests/jslib-event-prototype.html: Added.
362         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-jquery.html: Added.
363         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-prototype.html: Added.
364         * Dromaeo/resources/dromaeo/web/tests/jslib-style-jquery.html: Added.
365         * Dromaeo/resources/dromaeo/web/tests/jslib-style-prototype.html: Added.
366         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-jquery.html: Added.
367         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-prototype.html: Added.
368         * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-morph.html: Added.
369         * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-raytrace.html: Added.
370         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-binary-trees.html: Added.
371         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-fannkuch.html: Added.
372         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-nbody.html: Added.
373         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-nsieve.html: Added.
374         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-3bit-bits-in-byte.html: Added.
375         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bits-in-byte.html: Added.
376         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bitwise-and.html: Added.
377         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-nsieve-bits.html: Added.
378         * Dromaeo/resources/dromaeo/web/tests/sunspider-controlflow-recursive.html: Added.
379         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-aes.html: Added.
380         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-md5.html: Added.
381         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-sha1.html: Added.
382         * Dromaeo/resources/dromaeo/web/tests/sunspider-date-format-tofte.html: Added.
383         * Dromaeo/resources/dromaeo/web/tests/sunspider-date-format-xparb.html: Added.
384         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-cordic.html: Added.
385         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-partial-sums.html: Added.
386         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-spectral-norm.html: Added.
387         * Dromaeo/resources/dromaeo/web/tests/sunspider-regexp-dna.html: Added.
388         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-fasta.html: Added.
389         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-tagcloud.html: Added.
390         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-unpack-code.html: Added.
391         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-validate-input.html: Added.
392         * Dromaeo/resources/dromaeo/web/tests/v8-crypto.html: Added.
393         * Dromaeo/resources/dromaeo/web/tests/v8-deltablue.html: Added.
394         * Dromaeo/resources/dromaeo/web/tests/v8-earley-boyer.html: Added.
395         * Dromaeo/resources/dromaeo/web/tests/v8-raytrace.html: Added.
396         * Dromaeo/resources/dromaeo/web/tests/v8-richards.html: Added.
397         * Dromaeo/resources/dromaeo/web/tests/72px.png: Added.
398         * Dromaeo/resources/dromaeo/web/web-style.css: Added.
399         * Dromaeo/resources/dromaeo/web/webrunner.js: Added.
400         * Skipped: Unskip the dromaeo driver.
401
402 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
403
404         Fix Parser/html5-full-render.html after r106379.
405
406         * Parser/html5-full-render.html:
407
408 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
409
410         PerfTestRunner should automatically create pre#log
411         https://bugs.webkit.org/show_bug.cgi?id=77469
412
413         Reviewed by Tony Chang.
414
415         Automatically generate <pre id="log"></pre> if there isn't one.
416
417         * Bindings/event-target-wrapper.html:
418         * DOM/Accessors.html:
419         * DOM/CloneNodes.html:
420         * DOM/CreateNodes.html:
421         * DOM/DOMDivWalk.html:
422         * DOM/DOMTable.html:
423         * DOM/DOMWalk.html:
424         * DOM/Events.html:
425         * DOM/GetElement.html:
426         * DOM/GridSort.html:
427         * DOM/Template.html:
428         * Dromaeo/dom-query.html:
429         * Dromaeo/resources/dromaeorunner.js:
430         * Parser/html-parser.html:
431         * Parser/html5-full-render.html:
432         * Parser/simple-url.html:
433         * Parser/tiny-innerHTML.html:
434         * Parser/url-parser.html:
435         * Parser/xml-parser.html:
436         * resources/runner.js:
437         (PerfTestRunner.log):
438         (PerfTestRunner.printStatistics):
439
440 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
441
442         runner.js in performance tests should define a class
443         https://bugs.webkit.org/show_bug.cgi?id=77074
444
445         Reviewed by Eric Seidel.
446
447         Wrap all functions in runner.js by PerfTestRunner and update tests that runner.js accordingly.
448         Also replace compute* functions in runner.js by more robust code from dom-perf.js.
449
450         * Bindings/event-target-wrapper.html:
451         * DOM/DOMTable.html:
452         * DOM/resources/dom-perf.js:
453         (BenchmarkSuite.prototype.RunSingle):
454         (runBenchmarkSuite):
455         * Mutation/append-child-deep.html:
456         * Mutation/append-child.html:
457         * Mutation/inner-html.html:
458         * Mutation/remove-child-deep.html:
459         * Mutation/remove-child.html:
460         * Parser/html-parser.html:
461         * Parser/html5-full-render.html:
462         * Parser/simple-url.html:
463         * Parser/tiny-innerHTML.html:
464         * Parser/url-parser.html:
465         * Parser/xml-parser.html:
466         * resources/runner.js:
467         (PerfTestRunner.log):
468         (PerfTestRunner.logInfo):
469         (PerfTestRunner.loadFile):
470         (PerfTestRunner.computeStatistics):
471         (PerfTestRunner.logStatistics):
472         (PerfTestRunner._runLoop.else):
473         (PerfTestRunner._runLoop):
474         (PerfTestRunner._runner):
475
476 2012-01-31  Hajime Morrita  <morrita@chromium.org>
477
478         [PerformanceTests] Add landing html for Dromaeo dom-query test
479         https://bugs.webkit.org/show_bug.cgi?id=77329
480
481         Reviewed by Ryosuke Niwa.
482
483         Added a "landing html" which includes actual dromaemo page and
484         send messages to interact with it. The landing html also dumps the
485         score in run-perf-tests friendly format.
486
487         This test isn't enabled until Dromaemo itself is available for run-perf-tests.
488         It will happen in a separate change.
489
490         * Dromaeo/dom-query.html: Added.
491         * Dromaeo/resources/dromaeorunner.js: Added.
492         * Skipped: Skipping this for now.
493
494 2012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
495
496         Skip inspector tests since they have been timing out.
497
498         * Skipped:
499
500 2012-01-29  Ryosuke Niwa  <rniwa@webkit.org>
501
502         DOM/DOMDivWalk.html result is unreliable
503         https://bugs.webkit.org/show_bug.cgi?id=77313
504
505         Reviewed by Adam Barth.
506
507         Trigger garbage collection manually between test runs to avoid GC
508         to occur in the middle of runs.
509
510         * DOM/resources/dom-perf.js:
511         (BenchmarkSuite.prototype.RunSingle):
512         * resources/runner.js:
513         (gc.else.gcRec):
514         (gc):
515         (runLoop):
516
517 2012-01-26  Ryosuke Niwa  <rniwa@webkit.org>
518
519         Import Chromium's dom_perf test
520         https://bugs.webkit.org/show_bug.cgi?id=77175
521
522         Reviewed by Adam Barth.
523
524         Import dom_perf.
525
526         Note resources/dom/suites.js isn't used by any html file yet but it will be used by Chromium port
527         once its perf bots start pulling test files from WebKit repository instead of Google's internal repository.
528
529         * DOM: Added.
530         * DOM/Accessors.html: Added.
531         * DOM/CloneNodes.html: Added.
532         * DOM/CreateNodes.html: Added.
533         * DOM/DOMDivWalk.html: Added.
534         * DOM/DOMTable.html: Added.
535         * DOM/DOMWalk.html: Added.
536         * DOM/Events.html: Added.
537         * DOM/GetElement.html: Added.
538         * DOM/GridSort.html: Added.
539         * DOM/Template.html: Added.
540         * DOM/resources: Added.
541         * DOM/resources/dom-perf.js: Added.
542         * DOM/resources/dom-perf: Added.
543         * DOM/resources/dom-perf/accessors.js: Added.
544         * DOM/resources/dom-perf/clonenodes.js: Added.
545         * DOM/resources/dom-perf/createnodes.js: Added.
546         * DOM/resources/dom-perf/domdivwalk.js: Added.
547         * DOM/resources/dom-perf/domtable.js: Added.
548         * DOM/resources/dom-perf/domwalk.js: Added.
549         * DOM/resources/dom-perf/events.js: Added.
550         * DOM/resources/dom-perf/getelement.js: Added.
551         * DOM/resources/dom-perf/gridsort.js: Added.
552         * DOM/resources/dom-perf/suites.js: Added.
553         * DOM/resources/dom-perf/template.js: Added.
554         * resources/runner.js:
555
556 2012-01-25  Ryosuke Niwa  <rniwa@webkit.org>
557
558         html5-full-render.html fails due to a log
559         https://bugs.webkit.org/show_bug.cgi?id=77046
560
561         Reviewed by Adam Barth.
562
563         Replace the call to log() in html5-full-render.html by a call to newly added logInfo(),
564         which doesn't print anything inside DRT.
565
566         * Parser/html5-full-render.html:
567         * resources/runner.js:
568         (logInfo):
569
570 2012-01-19  Adam Barth  <abarth@webkit.org>
571
572         PerformanceTests's runner.js shouldn't be Parser-specific
573         https://bugs.webkit.org/show_bug.cgi?id=76670
574
575         Reviewed by Ryosuke Niwa.
576
577         This runner script is used by a bunch of difference performance tests.
578         It shouldn't be in the Parser directory anymore.
579
580         * Bindings/event-target-wrapper.html:
581         * Mutation/append-child-deep.html:
582         * Mutation/append-child.html:
583         * Mutation/inner-html.html:
584         * Mutation/remove-child-deep.html:
585         * Mutation/remove-child.html:
586         * Parser/html-parser.html:
587         * Parser/html5-full-render.html:
588         * Parser/resources/runner.js: Removed.
589         * Parser/simple-url.html:
590         * Parser/tiny-innerHTML.html:
591         * Parser/url-parser.html:
592         * Parser/xml-parser.html:
593         * resources: Added.
594         * resources/runner.js: Copied from PerformanceTests/Parser/resources/runner.js.
595
596 2012-01-19  Ryosuke Niwa  <rniwa@webkit.org>
597
598         Some perf tests time out when ran by run-perf-tests
599         https://bugs.webkit.org/show_bug.cgi?id=76612
600
601         Reviewed by Dirk Pranke and Eric Seidel.
602
603         Replace all images in html5.html by geenbox.png to avoid accessing whatwg.org when
604         running the parser tests. Also call dumpAsText, waitUntilDone, and notifyDone automatically
605         inside runner.js to avoid having to call them in individual tests.
606
607         * Bindings/event-target-wrapper.html: Removed calls to layoutTestController methods since
608         they are now called by runner.js automatically.
609         * Parser/resources/greenbox.png: Copied from LayoutTests/fast/css/resources/greenbox.png.
610         * Parser/resources/html5.html:
611         * Parser/resources/runner.js:
612         (runLoop):
613
614 2012-01-18  Ryosuke Niwa  <rniwa@webkit.org>
615
616         run-perf-tests should support Skipped list
617         https://bugs.webkit.org/show_bug.cgi?id=76594
618
619         Reviewed by Adam Barth.
620
621         Add Skipped list to be used by run-perf-tests as it can only runs tests in
622         Bindings, Parser, and inspector at the moment.
623
624         * Skipped: Added.
625
626 2012-01-12  Ilya Tikhonovsky  <loislo@chromium.org>
627
628         Web Inspector: performance: restore 'log 300 messages into console' test.
629         https://bugs.webkit.org/show_bug.cgi?id=76170
630
631         It was removed in order of transition from layout tests to perf tests.
632
633         Reviewed by Yury Semikhatsky.
634
635         * inspector/console-300-lines.html: Added.
636
637 2012-01-12  Ilya Tikhonovsky  <loislo@chromium.org>
638
639         Web Inspector: performance tests: fix memory leak in first-open-resources test.
640         https://bugs.webkit.org/show_bug.cgi?id=76049
641
642         first-open-resources doesn't reset resource panel properly after test run.
643
644         Reviewed by Yury Semikhatsky.
645
646         * inspector/first-open-resources.html:
647
648 2012-01-10  Ilya Tikhonovsky  <loislo@chromium.org>
649
650         Unreviewed. WebInspector: Remove unnecessary logging from the test.
651
652         * inspector/first-open-resources.html:
653
654 2012-01-10  Ilya Tikhonovsky  <loislo@chromium.org>
655
656         Unreviewed. Restore test that was removed during migration from LayoutTests folder.
657
658         * inspector/first-open-resources.html: Added.
659
660 2012-01-09  Ilya Tikhonovsky  <loislo@chromium.org>
661
662         Unreviewed test fix after r103683.
663
664         * inspector/first-open-scripts.html:
665         * inspector/show-panel.html:
666
667 2012-01-03  Adam Barth  <abarth@webkit.org>
668
669         html-parser.html takes too long to run
670         https://bugs.webkit.org/show_bug.cgi?id=75515
671
672         Reviewed by Eric Seidel.
673
674         In working on runner.js, we introduced a factor of 10 increase to the
675         running time of this benchmark.  This patch dials down the number of
676         iterations to something more user-friendly.
677
678         * Parser/html-parser.html:
679
680 2011-12-18  Ilya Tikhonovsky  <loislo@chromium.org>
681
682         Web Inspector: move heap data stats to separate tab.
683         https://bugs.webkit.org/show_bug.cgi?id=74704
684
685         Reviewed by Pavel Feldman.
686
687         * inspector/performance-test.js:
688         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._dump):
689         (initialize_TimeTracker.InspectorTest.runPerformanceTest):
690
691 2011-12-01  Ilya Tikhonovsky  <loislo@chromium.org>
692
693         Web Inspector: chromium: move and adapt Inspector's performance tests for running with run-inspector-perf-tests.py.
694         https://bugs.webkit.org/show_bug.cgi?id=72260
695
696         Reviewed by Pavel Feldman.
697
698         * inspector/first-open-elements.html: Renamed from LayoutTests/inspector/performance/resources/first-open-elements.html.
699         * inspector/first-open-scripts.html: Renamed from LayoutTests/inspector/performance/resources/first-open-scripts.html.
700         * inspector/inspector-startup-time.html: Renamed from LayoutTests/inspector/performance/resources/inspector-startup-time.html.
701         * inspector/network-append-30-requests.html: Renamed from LayoutTests/inspector/performance/resources/network-append-30-requests.html.
702         * inspector/performance-test.js: Renamed from LayoutTests/inspector/performance/resources/performance-test.js.
703         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer):
704         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.start):
705         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.finish):
706         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._getJSHeapSize):
707         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.done):
708         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._runTest):
709         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._dump):
710         (initialize_TimeTracker.InspectorTest.runPerformanceTest):
711         (initialize_TimeTracker.InspectorTest.mark):
712         * inspector/show-panel.html: Renamed from LayoutTests/inspector/performance/resources/show-panel.html.
713
714 2011-11-09  Adam Klein  <adamk@chromium.org>
715
716         [MutationObservers] Microbenchmarks for appendChild, removeChild, and innerHTML
717         https://bugs.webkit.org/show_bug.cgi?id=71939
718
719         Reviewed by Ojan Vafai.
720
721         These benchmarks time both the DOM mutations themselves and the time taken
722         to call the MutationCallback. This measurement is achieved by
723         executing the code entirely within the MutationCallback itself.
724
725         * Mutation/append-child-deep.html: Added. Covers appendChild in a 200-node-deep tree with subtree observation.
726         * Mutation/append-child.html: Added. Covers appendChild in a flat tree.
727         * Mutation/inner-html.html: Added. Covers innerHTML adding and removing many nodes at a time.
728         * Mutation/remove-child-deep.html: Added. Covers removeChild in a 200-node-deep tree with subtree observation.
729         * Mutation/remove-child.html: Added. Covers removeChild in a flat tree.
730
731 2011-10-25  Adam Barth  <abarth@webkit.org>
732
733         EventTargetFactory.in is not sorted
734         https://bugs.webkit.org/show_bug.cgi?id=70855
735
736         Reviewed by Eric Seidel.
737
738         Add a microbenchmark for wrapping event target.
739
740         * Bindings: Added.
741         * Bindings/event-target-wrapper.html: Added.
742         * Parser/resources/runner.js:
743         (runLoop):
744             - Let the user of the harness get a callback when the test is done.
745
746 2011-10-04  Eric Seidel  <eric@webkit.org>
747
748         Update html5-full-render.html to load the HTML5 spec incrementally, closer to how the browser would
749         https://bugs.webkit.org/show_bug.cgi?id=69374
750
751         Unreviewed.
752
753         Per https://bugs.webkit.org/show_bug.cgi?id=69374#c7
754         updating the chunksize to be a bit smaller now that the total
755         size of the html5 spec is smaller than when I wrote the test.
756
757         This should increase the prevalence of style resolution in the
758         sample time, which more closely matches instrument samples
759         taken when loading the full page in Safari.
760
761         * Parser/html5-full-render.html:
762
763 2011-10-04  Eric Seidel  <eric@webkit.org>
764
765         Update html5-full-render.html to load the HTML5 spec incrementally, closer to how the browser would
766         https://bugs.webkit.org/show_bug.cgi?id=69374
767
768         Reviewed by James Robinson.
769
770         This should finally be able to provide us with a repeatable metric
771         for how fast we're currently able to load the HTML5 spec.
772         There are a variety of interesting functions which show up in this
773         sample, including of course style resolution.
774
775         * Parser/html5-full-render.html:
776
777 2011-10-04  Eric Seidel  <eric@webkit.org>
778
779         Update our copy of the HTML5 spec used for performance testing to match the latest version
780         https://bugs.webkit.org/show_bug.cgi?id=69364
781
782         Unreviewed.  The patch is too large to post, so landing this unreviewed. :(
783
784         The copy of the html5 spec we were using for testing was over a year old
785         and didn't have any of the subresources with it (we were only using it
786         as an HTML parsing benchmark).  I'm about to use it for testing
787         the full load/render time of the benchmark, so I've updated to the latest
788         version of the spec (now 8mb instead of 5mb) and inlined two of the
789         CSS files.  (Inlining the CSS was necessary to make my testing consistent
790         as there seems to be a race with some timer fired after CSS load.)
791
792         Increasing from 5mb to 8mb showed a similar 30% slowdown in our parser
793         benchmarks as expected.
794
795         * Parser/resources/html5.html:
796
797 2011-10-04  Eric Seidel  <eric@webkit.org>
798
799         Add loopsPerRun option to Parser performance test runner
800         https://bugs.webkit.org/show_bug.cgi?id=69363
801
802         Reviewed by Antti Koivisto.
803
804         Add loopsPerRun option and abstract out runLoop function (to make the UI more responsive).
805         No change in behavior in any of the tests.
806
807         * Parser/resources/runner.js:
808         (runLoop):
809         (run):
810         (start):
811
812 2011-10-03  Eric Seidel  <eric@webkit.org>
813
814         Add a microbenchmark for a full-page render of the HTML5 spec
815         https://bugs.webkit.org/show_bug.cgi?id=69285
816
817         Reviewed by Adam Barth.
818
819         This was designed to be a test for https://bugs.webkit.org/show_bug.cgi?id=68944
820         But it seems that by far our dominating cost for the HTML5 benchmark is
821         time spent laying out lines (which isn't actually that surprising).
822
823         I'm adding the performance test for posterity.
824
825         * Parser/html-parser.html:
826          - Removed use of "about:blank" which abarth says is a no-op.  Made comment more accurate.
827         * Parser/html5-full-render.html: Copied from PerformanceTests/Parser/html-parser.html.
828
829 2011-10-03  Eric Seidel  <eric@webkit.org>
830
831         PerformanceTests/Parser/html-parser is only testing parsing of the head element
832         https://bugs.webkit.org/show_bug.cgi?id=69283
833
834         Reviewed by Adam Barth.
835
836         While investigating https://bugs.webkit.org/show_bug.cgi?id=68944
837         I found that the html-parser benchmark was only parsing up to the
838         first script tag per loop!  We've fixed this by adding the sandbox
839         tag which will deny all external loads and allow the parser to
840         synchronously continue parsing the entire document to completion
841         (as we had expected it was doing).
842
843         This changes the profile somewhat.  Line number counting is much
844         hotter, since we're actually accounting for the parse of the entire
845         document in our sample.
846
847         Total sample time only about doubles, from 1800ms to 3800ms on my machine
848         which is less than I would have expected.
849
850         * Parser/html-parser.html:
851
852 2011-08-09  Alexandru Chiculita  <achicu@adobe.com>
853
854         Fixing 65868 REGRESSION(r92610) caused by 65668 - Optimize floating elements lookup
855         https://bugs.webkit.org/show_bug.cgi?id=65871
856
857         Reviewed by Dave Hyatt.
858
859         * Layout/floats.html: Added the nested divs, so that we can test the propagation impact of the floats tree.
860
861 2011-08-08  Sheriff Bot  <webkit.review.bot@gmail.com>
862
863         Unreviewed, rolling out r92610.
864         http://trac.webkit.org/changeset/92610
865         https://bugs.webkit.org/show_bug.cgi?id=65868
866
867         Caused assertion failures when running fast/multicol tests
868         (Requested by andersca on #webkit).
869
870         * Layout/floats.html:
871
872 2011-08-08  Alexandru Chiculita  <achicu@adobe.com>
873
874         Optimize floating elements lookup
875         https://bugs.webkit.org/show_bug.cgi?id=65668
876
877         Reviewed by David Hyatt.
878
879         * Layout/floats.html: Added the nested divs, so that we can test the propagation impact of the floats tree.
880
881 2011-08-04  Alexandru Chiculita  <achicu@adobe.com>
882
883         Add a performance test for floating elements layout algorithm
884         https://bugs.webkit.org/show_bug.cgi?id=65741
885
886         The test creating lots of small floats and randomly changes
887         the width of one element at a time. It measures how often it can do that.
888
889         Reviewed by Adam Barth.
890
891         * Layout/floats.html: Added.
892
893 2011-05-30  Daniel Bates  <dbates@webkit.org>
894
895         Reviewed by Adam Barth.
896
897         Rename XSSFilter to XSSAuditor
898         https://bugs.webkit.org/show_bug.cgi?id=61718
899
900         Currently we use the names XSSFilter and XSSAuditor throughout the project.
901         Instead, we should choose one name for consistency.
902
903         No functionality was changed. So, no new tests.
904
905         * XSSAuditor: Copied from PerformanceTests/XSSFilter.
906         * XSSFilter: Removed.
907         * XSSFilter/large-post-many-events.html: Removed.
908         * XSSFilter/large-post-many-inline-scripts-and-events.html: Removed.
909         * XSSFilter/resources: Removed.
910         * XSSFilter/resources/target-for-large-post-many-inline-scripts-and-events.html: Removed.
911
912 2011-03-25  Leo Yang  <leo.yang@torchmobile.com.cn>
913
914         Reviewed by Dirk Schulze.
915
916         SVG <use> element performance improvement
917         https://bugs.webkit.org/show_bug.cgi?id=57077
918
919         Add a manual test case which is from
920         http://upload.wikimedia.org/wikipedia/commons/4/4e/Sierpinski_carpet_6.svg
921         for svg <use> element performance test.
922
923         * PageLoad/svg/files/Sierpinski_carpet_6.svg: Added.
924         * PageLoad/svg/svg.pltsuite:
925
926 2011-02-05  Eric Seidel  <eric@webkit.org>
927
928         Reviewed by Adam Barth.
929
930         Add performance tests for URL parsing
931         https://bugs.webkit.org/show_bug.cgi?id=53845
932
933         The final-url-en URL corpus is from:
934         http://corpus.leeds.ac.uk/internet.html
935
936         There are also other language corpuses which we may want to use in the future.
937
938         The usage instructions were as follows:
939         "URL lists and other resources: you can freely use them in your research
940         provided that you supply a link to this website: http://corpus.leeds.ac.uk/."
941         Done.
942
943         * Parser/simple-url.html: Added.
944          On my machine:
945          Firefox: 255ms
946          TOT WebKit: 378ms
947          Chrome: 286ms
948          Opera: 2830ms (no, that is not a typo)
949         * Parser/url-parser.html: Added.
950          Firefox: 381ms
951          TOT WebKit: 216ms
952          Chrome: 131ms
953          Opera: 1383ms (again, not a typo)
954         * Parser/resources/final-url-en: Added.
955
956 2011-02-03  Adam Barth  <abarth@webkit.org>
957
958         Reviewed by Daniel Bates.
959
960         Add another XSSFilter PerformanceTest
961         https://bugs.webkit.org/show_bug.cgi?id=53750
962
963         This PerformanceTest tests the case that was slow in
964         https://bugs.webkit.org/show_bug.cgi?id=49845
965
966         * XSSFilter/large-post-many-inline-scripts-and-events.html: Added.
967         * XSSFilter/resources: Added.
968         * XSSFilter/resources/target-for-large-post-many-inline-scripts-and-events.html: Added.
969
970 2011-02-03  Adam Barth  <abarth@webkit.org>
971
972         Reviewed by Eric Seidel.
973
974         Add PerformanceTest for XSSFilter
975         https://bugs.webkit.org/show_bug.cgi?id=53741
976
977         This performance tests covers the case of a large POST data and many
978         small event handlers.
979
980         * XSSFilter: Added.
981         * XSSFilter/large-post-many-events.html: Added.
982
983 2011-02-02  Adam Barth  <abarth@webkit.org>
984
985         Rubber-stamped by Eric Seidel.
986
987         Merge PerformanceTests/Parser/ChangeLog and
988         PerformanceTests/PageLoad/ChangeLog into PerformanceTests/ChangeLog.
989
990         It's silly to have ChangeLogs for each of these directories separately.
991         I've left SunSpider with its own ChangeLog because it's more of an
992         independent entity.
993
994         * ChangeLog: Added.
995
996 2011-02-02  Eric Seidel  <eric@webkit.org>
997
998         Unreviewed.  Just fixing an exception seen in Firefox.
999
1000         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
1001         https://bugs.webkit.org/show_bug.cgi?id=48719
1002
1003         Make the benchmarks work in Firefox/Opera.
1004
1005         * resources/runner.js:
1006         (log):
1007
1008 2011-01-27  Eric Seidel  <eric@webkit.org>
1009
1010         Reviewed by Darin Adler.
1011
1012         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
1013         https://bugs.webkit.org/show_bug.cgi?id=48719
1014
1015         It's unclear exactly what the Peacekeeper benchmark is testing,
1016         because I haven't found a way to run it myself.
1017
1018         However, I constructed a benchmark which shows at least one possible slow point.
1019         The HTML5 spec talks about creating a new document for every time we use
1020         the fragment parsing algorithm.  Document() it turns out, it a huge bloated
1021         mess, and the constructor and destructor do a huge amount of work.
1022
1023         * benchmarks/parser/tiny-innerHTML.html: Added.
1024
1025 2011-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1026
1027         Unreviewed, rolling out r77050.
1028         http://trac.webkit.org/changeset/77050
1029         https://bugs.webkit.org/show_bug.cgi?id=53371
1030
1031         Caused a crash in Chromium's test_shell_tests (Requested by
1032         rniwa on #webkit).
1033
1034         * resources/performance-test.js: Removed.
1035         * tiny-innerHTML.html: Removed.
1036
1037 2011-01-28  Eric Seidel  <eric@webkit.org>
1038
1039         Reviewed by Darin Adler.
1040
1041         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
1042         https://bugs.webkit.org/show_bug.cgi?id=48719
1043
1044         It's unclear exactly what the Peacekeeper benchmark is testing,
1045         because I haven't found a way to run it myself.
1046
1047         However, I constructed a benchmark which shows at least one possible slow point.
1048         The HTML5 spec talks about creating a new document for every time we use
1049         the fragment parsing algorithm.  Document() it turns out, it a huge bloated
1050         mess, and the constructor and destructor do a huge amount of work.
1051         To avoid constructing (or destructing) documents for each innerHTML call,
1052         this patch adds a shared dummy document used by all innerHTML calls.
1053
1054         * benchmarks/parser/tiny-innerHTML.html: Added.
1055
1056 2010-12-31  Adam Barth  <abarth@webkit.org>
1057
1058         Rubber-stamped by Eric Seidel.
1059
1060         Move HTML and XML parser benchmarks into PerformanceTests/Parser
1061         https://bugs.webkit.org/show_bug.cgi?id=51772
1062
1063         Add a ChangeLog for tracking changes to the Parser PerformanceTest.
1064
1065         * ChangeLog: Added.
1066
1067 2010-12-31  Adam Barth  <abarth@webkit.org>
1068
1069         Rubber-stamped by Eric Seidel.
1070
1071         Move PageLoadTests to PerformanceTests/PageLoad
1072         https://bugs.webkit.org/show_bug.cgi?id=51771
1073
1074         Update URLs to point to the new directory name.
1075
1076         * svg/svg.pltsuite:
1077
1078 2006-12-26  Eric Seidel  <eric@webkit.org>
1079
1080         Reviewed by olliej.
1081
1082         * svg/svg.pltsuite: re-enable word-iso.svg after fixing http://bugs.webkit.org/show_bug.cgi?id=11987
1083
1084 2006-12-26  Eric Seidel  <eric@webkit.org>
1085
1086         Reviewed by bradee-oh.
1087         
1088         Add new PageLoadTests directory (this one)
1089         Add LICENSES file to explain where each SVG came from.
1090
1091         * ChangeLog: Added.
1092         * svg/LICENSES: Added.
1093         * svg/files/33041-Samurai.svg: Added.
1094         * svg/files/42470-flower_from_my_garden_v2.svg: Added.
1095         * svg/files/Harvey_Rayner.svg: Added.
1096         * svg/files/az-lizard_benji_park_01.svg: Added.
1097         * svg/files/bamboo_01.svg: Added.
1098         * svg/files/cacuts_01.svg: Added.
1099         * svg/files/cowboy.svg: Added.
1100         * svg/files/crawfish2_ganson.svg: Added.
1101         * svg/files/deb9frac1.svg: Added.
1102         * svg/files/food_leif_lodahl_01.svg: Added.
1103         * svg/files/france.svg: Added.
1104         * svg/files/francobollo_gnome_ezechi_02.svg: Added.
1105         * svg/files/gearflowers.svg: Added.
1106         * svg/files/hereGear4.svg: Added.
1107         * svg/files/mtsthelens.svg: Added.
1108         * svg/files/mtsthelens0.jpg: Added.
1109         * svg/files/world-iso.svg: Added.
1110         * svg/files/worldcup.svg: Added.
1111         * svg/svg.pltsuite: Added.
1112