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