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