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