[perf-test] Add a benchmark of querySelector() for an element that appears in the...
[WebKit-https.git] / PerformanceTests / ChangeLog
1 2012-06-03  Kentaro Hara  <haraken@chromium.org>
2
3         [perf-test] Add a benchmark of querySelector() for an element that appears in the depths in the document
4         https://bugs.webkit.org/show_bug.cgi?id=88202
5
6         Reviewed by Ryosuke Niwa.
7
8         query-selector-first.html tests querySelector() for an element
9         that appears at the head of the document. query-selector-last.html
10         tests querySelector() for an element that appears at the tail of
11         the document. In addition, we want a benchmark of querySelector()
12         for an element that appears in the depths in the document.
13
14         Test results in my Linux desktop:
15
16         RESULT Parser: query-selector-deep= 460.776980611 runs/s
17         median= 460.947503201 runs/s, stdev= 1.72274941942 runs/s, min= 455.696202532 runs/s, max= 463.32046332 runs/s
18
19         RESULT Parser: query-selector-deep= 458.925050915 runs/s
20         median= 459.183673469 runs/s, stdev= 1.47930124139 runs/s, min= 454.545454545 runs/s, max= 460.947503201 runs/s
21
22         RESULT Parser: query-selector-deep= 461.866981491 runs/s
23         median= 461.538461538 runs/s, stdev= 1.14613123359 runs/s, min= 459.183673469 runs/s, max= 463.917525773 runs/s
24
25         RESULT Parser: query-selector-deep= 453.922010788 runs/s
26         median= 454.258855898 runs/s, stdev= 1.77279123317 runs/s, min= 447.204968944 runs/s, max= 455.696202532 runs/s
27
28         RESULT Parser: query-selector-deep= 454.666321221 runs/s
29         median= 454.545454545 runs/s, stdev= 1.65775667417 runs/s, min= 451.127819549 runs/s, max= 456.852791878 runs/s
30
31         * Parser/query-selector-deep.html: Added.
32
33 2012-06-03  Kentaro Hara  <haraken@chromium.org>
34
35         [perf-test] Make query-selector-last.html more realistic
36         https://bugs.webkit.org/show_bug.cgi?id=88203
37
38         Reviewed by Ryosuke Niwa.
39
40         query-selector-last.html tests querySelector() for an element
41         that appears after 1000 div elements, all of which have the same
42         id and class. To test the performance of querySelector() under
43         a lot of ids and classes, we should make the ids and classes of
44         the 1000 elements different.
45
46         This patch degrades the performance of query-selector-last.html
47         by 3.6%.
48
49         [Before]
50         RESULT Parser: query-selector-last= 476.382274152 runs/s
51         median= 476.821192053 runs/s, stdev= 1.14578875814 runs/s, min= 474.308300395 runs/s, max= 478.087649402 runs/s
52
53         RESULT Parser: query-selector-last= 478.423061861 runs/s
54         median= 478.723404255 runs/s, stdev= 1.54876867255 runs/s, min= 473.684210526 runs/s, max= 481.347773767 runs/s
55
56         RESULT Parser: query-selector-last= 479.849287174 runs/s
57         median= 480.0 runs/s, stdev= 1.69849752498 runs/s, min= 475.561426684 runs/s, max= 481.927710843 runs/s
58
59         RESULT Parser: query-selector-last= 476.765438846 runs/s
60         median= 477.453580902 runs/s, stdev= 1.8724488664 runs/s, min= 471.821756225 runs/s, max= 478.723404255 runs/s
61
62         RESULT Parser: query-selector-last= 481.715340644 runs/s
63         median= 481.637742305 runs/s, stdev= 1.81446361145 runs/s, min= 475.561426684 runs/s, max= 483.675937122 runs/s
64
65         [After]
66         RESULT Parser: query-selector-last= 458.866623582 runs/s
67         median= 459.183673469 runs/s, stdev= 1.48881464737 runs/s, min= 453.972257251 runs/s, max= 460.947503201 runs/s
68
69         RESULT Parser: query-selector-last= 460.363532897 runs/s
70         median= 460.358056266 runs/s, stdev= 1.58512056995 runs/s, min= 456.273764259 runs/s, max= 462.130937099 runs/s
71
72         RESULT Parser: query-selector-last= 457.727448451 runs/s
73         median= 458.015267176 runs/s, stdev= 1.23681915516 runs/s, min= 453.972257251 runs/s, max= 459.183673469 runs/s
74
75         RESULT Parser: query-selector-last= 465.57336853 runs/s
76         median= 465.717981889 runs/s, stdev= 1.6616925374 runs/s, min= 460.947503201 runs/s, max= 467.532467532 runs/s
77
78         RESULT Parser: query-selector-last= 459.836252019 runs/s
79         median= 459.770114943 runs/s, stdev= 1.84485630505 runs/s, min= 455.696202532 runs/s, max= 462.724935733 runs/s
80
81         * Parser/query-selector-last.html:
82
83 2012-06-01  Ryosuke Niwa  <rniwa@webkit.org>
84
85         Add public page loading performance tests using web-page-replay
86         https://bugs.webkit.org/show_bug.cgi?id=84008
87
88         Reviewed by Dirk Pranke.
89
90         Add replay tests for google.com and youtube.com as examples.
91
92         * Replay: Added.
93         * Replay/www.google.com.replay: Added.
94         * Replay/www.youtube.com.replay: Added.
95
96 2012-05-30  Kentaro Hara  <haraken@chromium.org>
97
98         [perf-test] Add a benchmark for querySelector()
99         https://bugs.webkit.org/show_bug.cgi?id=87742
100
101         Reviewed by Ryosuke Niwa.
102
103         Now I am optimizing querySelector() (bug 87625).
104         This patch adds a performance test for querySelector().
105         query-selector-first.html queries an element that appears
106         at the head of the document. On the other hand,
107         query-selector-last.html queries an element that appears
108         at the tail of the document.
109
110         Test results in my desktop:
111
112         [query-selector-first.html]
113         RESULT Parser: query-selector-first= 252.339803014 runs/s
114         median= 253.646265594 runs/s, stdev= 2.32610873209 runs/s, min= 248.138957816 runs/s, max= 254.777070064 runs/s
115
116         RESULT Parser: query-selector-first= 252.688468897 runs/s
117         median= 252.684876579 runs/s, stdev= 3.60008778708 runs/s, min= 246.002460025 runs/s, max= 258.397932817 runs/s
118
119         RESULT Parser: query-selector-first= 253.466019656 runs/s
120         median= 254.129606099 runs/s, stdev= 1.78002675664 runs/s, min= 247.831474597 runs/s, max= 254.777070064 runs/s
121
122         RESULT Parser: query-selector-first= 256.245078189 runs/s
123         median= 257.06940874 runs/s, stdev= 2.84722072201 runs/s, min= 249.687890137 runs/s, max= 259.74025974 runs/s
124
125         RESULT Parser: query-selector-first= 252.203100497 runs/s
126         median= 252.047989175 runs/s, stdev= 1.75233446036 runs/s, min= 248.138957816 runs/s, max= 255.427841635 runs/s
127
128         [query-selector-last.html]
129         RESULT Parser: query-selector-last= 356.009616076 runs/s
130         median= 355.781448539 runs/s, stdev= 0.841519086864 runs/s, min= 354.430379747 runs/s, max= 358.056265985 runs/s
131
132         RESULT Parser: query-selector-last= 360.735271001 runs/s
133         median= 361.057532424 runs/s, stdev= 1.12253219867 runs/s, min= 358.514724712 runs/s, max= 362.225097025 runs/s
134
135         RESULT Parser: query-selector-last= 359.598592463 runs/s
136         median= 359.435173299 runs/s, stdev= 0.816538258728 runs/s, min= 358.056265985 runs/s, max= 360.824742268 runs/s
137
138         RESULT Parser: query-selector-last= 357.260651715 runs/s
139         median= 357.598978289 runs/s, stdev= 1.17393159885 runs/s, min= 353.982300885 runs/s, max= 358.974358974 runs/s
140
141         RESULT Parser: query-selector-last= 351.696240713 runs/s
142         median= 351.980025916 runs/s, stdev= 1.14200564038 runs/s, min= 348.692403487 runs/s, max= 353.535353535 runs/s
143
144         * Parser/query-selector-first.html: Added.
145         * Parser/query-selector-last.html: Added.
146
147 2012-05-25  Ilya Tikhonovsky  <loislo@chromium.org>
148
149         Web Inspector: HeapSnapshot: introduce performance counter for HeapSnapshotConstructorsDataGrid._aggregatesReceived method.
150         https://bugs.webkit.org/show_bug.cgi?id=87393
151
152         Reviewed by Yury Semikhatsky.
153
154         * inspector/heap-snapshot.html:
155
156 2012-05-25  Ilya Tikhonovsky  <loislo@chromium.org>
157
158         Web Inspector: HeapProfiler's perf test: each N-th run pushes the run results N-th times.
159         https://bugs.webkit.org/show_bug.cgi?id=87476
160
161         The time tracking wrappers were attaching on each run.
162
163         Reviewed by Yury Semikhatsky.
164
165         * inspector/heap-snapshot.html:
166
167 2012-05-22  Ilya Tikhonovsky  <loislo@chromium.org>
168
169         Web Inspector: HeapProfiler: upstream retainedSize calculation.
170         https://bugs.webkit.org/show_bug.cgi?id=87107
171
172         This patch upstreams V8::HeapSnapshotGenerator::CalculateRetainedSizes function to front-end.
173         After that we will be able to drop retainedSize field from the snapshot serialized data.
174         See meta-bug https://bugs.webkit.org/show_bug.cgi?id=87089
175
176         Reviewed by Yury Semikhatsky.
177
178         * inspector/heap-snapshot.html: add counter for the _calculateRetainedSize method.
179
180 2012-05-21  Kent Tamura  <tkent@chromium.org>
181
182         Add performance tests for <textarea>
183         https://bugs.webkit.org/show_bug.cgi?id=86994
184
185         Reviewed by Ryosuke Niwa.
186
187         * DOM/textarea-dom.html: Added.
188         * DOM/textarea-edit.html: Added.
189         * Parser/textarea-parsing.html: Added.
190
191 2012-05-18  Ilya Tikhonovsky  <loislo@chromium.org>
192
193         Web Inspector: upstream build dominators tree procedure from v8.
194         https://bugs.webkit.org/show_bug.cgi?id=86640
195
196         The idea is to reduce transfer size and move all the post-processing steps to the front-end.
197         The JS implementation is ~1.5 times slower.
198
199         Reviewed by Yury Semikhatsky.
200
201         Covered by existing tests and performance tests.
202
203         * inspector/heap-snapshot.html:
204
205 2012-05-18  Kentaro Hara  <haraken@chromium.org>
206
207         [perf-test] Remove Bindings/dom-attributes.html
208         https://bugs.webkit.org/show_bug.cgi?id=86820
209
210         Reviewed by Ryosuke Niwa.
211
212         Bindings/dom-attributes.html is just a collection of random
213         DOM attributes and methods. Now we've added more reasonable
214         micro benchmarks by classifying DOM binding call paths, we
215         can remove Bindings/dom-attributes.html.
216
217         * Bindings/dom-attributes.html: Removed.
218
219 2012-05-18  Kentaro Hara  <haraken@chromium.org>
220
221         [perf-test] Add a binding benchmark for getElementById() for an undefined id
222         https://bugs.webkit.org/show_bug.cgi?id=86812
223
224         Reviewed by Ryosuke Niwa.
225
226         We should remove Bindings/dom-attributes.html and instead add more
227         reasonable micro benchmarks by classifying DOM binding call paths.
228
229         This patch adds a benchmark for document.getElementById() for an undefined id.
230         This benchmark covers 'getElementById (not in document)' in Dromaeo/dom-query.html,
231         and other Node-query methods that return a null.'
232
233         (Note: This benchmark is slower than document.getElementById() for a defined id.
234         We will fix the performance issue soon.)
235
236         Test results in my Linux desktop:
237
238         RESULT Bindings: undefined-get-element-by-id= 271.945751345 runs/s
239         median= 273.122389532 runs/s, stdev= 6.78219237299 runs/s, min= 257.4002574 runs/s, max= 281.690140845 runs/s
240
241         RESULT Bindings: undefined-get-element-by-id= 269.105872408 runs/s
242         median= 268.948655257 runs/s, stdev= 5.73707323755 runs/s, min= 257.4002574 runs/s, max= 278.128950695 runs/s
243
244         RESULT Bindings: undefined-get-element-by-id= 269.987513372 runs/s
245         median= 272.952853598 runs/s, stdev= 5.30252336078 runs/s, min= 255.754475703 runs/s, max= 273.97260274 runs/s
246
247         RESULT Bindings: undefined-get-element-by-id= 270.169625901 runs/s
248         median= 271.604938272 runs/s, stdev= 5.29502391906 runs/s, min= 258.064516129 runs/s, max= 278.481012658 runs/s
249
250         RESULT Bindings: undefined-get-element-by-id= 269.054631422 runs/s
251         median= 267.966292802 runs/s, stdev= 6.27197240579 runs/s, min= 258.064516129 runs/s, max= 278.481012658 runs/s
252
253         * Bindings/undefined-get-element-by-id.html: Added.
254
255 2012-05-18  Kentaro Hara  <haraken@chromium.org>
256
257         [perf-test] Add a binding benchmark for getElementsByTagName()
258         https://bugs.webkit.org/show_bug.cgi?id=86810
259
260         Reviewed by Ryosuke Niwa.
261
262         We should remove Bindings/dom-attributes.html and instead add more
263         reasonable micro benchmarks by classifying DOM binding call paths.
264
265         This patch adds a benchmark for document.getElementsByTagName().
266         This benchmark covers 'getElementsByTagName (not in document)',
267         'getElementsByTagName', 'getElementsByName (not in document)'
268         and 'getElementsByName' in Dromaeo/dom-query.html, and other DOM
269         methods that return a NodeList.
270
271         Test results in my Linux desktop:
272
273         RESULT Bindings: get-elements-by-tag-name= 364.542328875 runs/s
274         median= 366.972477064 runs/s, stdev= 5.25387955333 runs/s, min= 351.317440402 runs/s, max= 368.421052632 runs/s
275
276         RESULT Bindings: get-elements-by-tag-name= 364.341569369 runs/s
277         median= 366.492146597 runs/s, stdev= 4.867374197 runs/s, min= 352.644836272 runs/s, max= 367.936925099 runs/s
278
279         RESULT Bindings: get-elements-by-tag-name= 363.924242967 runs/s
280         median= 366.013071895 runs/s, stdev= 5.16768212289 runs/s, min= 351.317440402 runs/s, max= 367.936925099 runs/s
281
282         RESULT Bindings: get-elements-by-tag-name= 365.332594438 runs/s
283         median= 367.454068241 runs/s, stdev= 6.17046918572 runs/s, min= 350.0 runs/s, max= 370.37037037 runs/s
284
285         RESULT Bindings: get-elements-by-tag-name= 363.999514324 runs/s
286         median= 366.492146597 runs/s, stdev= 5.31235674905 runs/s, min= 350.877192982 runs/s, max= 368.421052632 runs/s
287
288         * Bindings/get-elements-by-tag-name.html: Added.
289
290 2012-05-18  Kentaro Hara  <haraken@chromium.org>
291
292         [perf-test] Add 7 micro benchmarks for DOM bindings
293         https://bugs.webkit.org/show_bug.cgi?id=86816
294
295         Reviewed by Ryosuke Niwa.
296
297         We should remove Bindings/dom-attributes.html and instead add more
298         reasonable micro benchmarks by classifying DOM binding call paths.
299         This patch adds seven micro benchmarks for DOM bindings.
300
301         id-getter.html covers 'element.property' in Dromaeo/dom-attr.html,
302         'innerHTML' in Dromaeo/dom-modify.html, and other DOM attributes that
303         return a String.
304
305         id-setter.html covers 'element.property = value' in Dromaeo/dom-attr.html,
306         and other DOM attributes that sets a String.
307
308         undefined-id-getter.html covers undefined DOM attributes that return an empty String.
309
310         append-child.html covers 'appendChild' and 'removeChild' in Dromaeo/dom-modify.html.
311
312         insert-before.html covers 'insertBefore' in Dromaeo/dom-modify.html and replaceChild().
313
314         create-element.html covers 'createElement', 'createTextNode' and 'cloneNode'
315         in Dromaeo/dom-modify.html, and other DOM methods that return a new Node object.
316
317         node-list-access.html covers 'childNodes' in Dromaeo/dom-traverse.html,
318         and other DOM attributes that access NodeList.
319
320         Test results in my Linux desktop:
321
322         [id-getter]
323         RESULT Bindings: id-getter= 550.517821097 runs/s
324         median= 550.688360451 runs/s, stdev= 0.970723739106 runs/s, min= 548.628428928 runs/s, max= 552.070263488 runs/s
325
326         RESULT Bindings: id-getter= 550.655839847 runs/s
327         median= 550.688360451 runs/s, stdev= 1.03312821884 runs/s, min= 549.313358302 runs/s, max= 552.070263488 runs/s
328
329         RESULT Bindings: id-getter= 550.277753355 runs/s
330         median= 550.344180225 runs/s, stdev= 1.19960683464 runs/s, min= 547.945205479 runs/s, max= 552.070263488 runs/s
331
332         RESULT Bindings: id-getter= 550.072271009 runs/s
333         median= 550.344180225 runs/s, stdev= 1.38925152131 runs/s, min= 547.263681592 runs/s, max= 552.070263488 runs/s
334
335         RESULT Bindings: id-getter= 548.802050235 runs/s
336         median= 548.628428928 runs/s, stdev= 1.18244513683 runs/s, min= 545.905707196 runs/s, max= 550.688360451 runs/s
337
338         [id-setter]
339         RESULT Bindings: id-setter= 211.370591663 runs/s
340         median= 210.803689065 runs/s, stdev= 1.4555795889 runs/s, min= 209.973753281 runs/s, max= 214.285714286 runs/s
341
342         RESULT Bindings: id-setter= 215.439081352 runs/s
343         median= 214.797136038 runs/s, stdev= 1.50920388121 runs/s, min= 213.049267643 runs/s, max= 218.446601942 runs/s
344
345         RESULT Bindings: id-setter= 216.721698466 runs/s
346         median= 215.956886352 runs/s, stdev= 1.54090749644 runs/s, min= 214.285714286 runs/s, max= 219.78021978 runs/s
347
348         RESULT Bindings: id-setter= 216.343019087 runs/s
349         median= 215.827338129 runs/s, stdev= 1.46619894553 runs/s, min= 215.053763441 runs/s, max= 218.97810219 runs/s
350
351         RESULT Bindings: id-setter= 216.799288017 runs/s
352         median= 215.956886352 runs/s, stdev= 1.49100776978 runs/s, min= 215.311004785 runs/s, max= 219.78021978 runs/s
353
354         [undefined-id-getter]
355         RESULT Bindings: undefined-id-getter= 494.104255241 runs/s
356         median= 494.132368875 runs/s, stdev= 1.13092821109 runs/s, min= 490.797546012 runs/s, max= 495.662949195 runs/s
357
358         RESULT Bindings: undefined-id-getter= 493.921802916 runs/s
359         median= 493.827160494 runs/s, stdev= 1.25097443119 runs/s, min= 490.196078431 runs/s, max= 495.662949195 runs/s
360
361         RESULT Bindings: undefined-id-getter= 491.976485667 runs/s
362         median= 492.004920049 runs/s, stdev= 0.947090576896 runs/s, min= 490.196078431 runs/s, max= 493.827160494 runs/s
363
364         RESULT Bindings: undefined-id-getter= 491.987710185 runs/s
365         median= 494.132368875 runs/s, stdev= 8.66602543327 runs/s, min= 454.545454545 runs/s, max= 495.662949195 runs/s
366
367         RESULT Bindings: undefined-id-getter= 494.195515847 runs/s
368         median= 494.437577256 runs/s, stdev= 1.06135681702 runs/s, min= 490.797546012 runs/s, max= 495.662949195 runs/s
369
370         [append-child]
371         RESULT Bindings: append-child= 260.628237026 runs/s
372         median= 260.926399352 runs/s, stdev= 2.55231060598 runs/s, min= 256.739409499 runs/s, max= 265.604249668 runs/s
373
374         RESULT Bindings: append-child= 280.796193436 runs/s
375         median= 280.791435348 runs/s, stdev= 2.53961321867 runs/s, min= 277.427490542 runs/s, max= 286.085825748 runs/s
376
377         RESULT Bindings: append-child= 279.856209714 runs/s
378         median= 280.25477707 runs/s, stdev= 2.85447647301 runs/s, min= 275.344180225 runs/s, max= 284.237726098 runs/s
379
380         RESULT Bindings: append-child= 280.834502714 runs/s
381         median= 280.25477707 runs/s, stdev= 2.67738046429 runs/s, min= 277.427490542 runs/s, max= 287.206266319 runs/s
382
383         RESULT Bindings: append-child= 274.723872106 runs/s
384         median= 273.291925466 runs/s, stdev= 3.03671746706 runs/s, min= 272.614622057 runs/s, max= 282.413350449 runs/s
385
386         [insert-before]
387         RESULT Bindings: insert-before= 180.986913006 runs/s
388         median= 180.878552972 runs/s, stdev= 0.758038687299 runs/s, min= 180.18018018 runs/s, max= 183.968462549 runs/s
389
390         RESULT Bindings: insert-before= 186.339916144 runs/s
391         median= 186.170212766 runs/s, stdev= 0.869022097127 runs/s, min= 185.676392573 runs/s, max= 189.798339265 runs/s
392
393         RESULT Bindings: insert-before= 189.45344838 runs/s
394         median= 189.349112426 runs/s, stdev= 0.811854866567 runs/s, min= 187.79342723 runs/s, max= 192.539109507 runs/s
395
396         RESULT Bindings: insert-before= 189.363295991 runs/s
397         median= 189.349112426 runs/s, stdev= 0.75387713097 runs/s, min= 188.014101058 runs/s, max= 192.076830732 runs/s
398
399         RESULT Bindings: insert-before= 189.252041642 runs/s
400         median= 189.349112426 runs/s, stdev= 0.840447225363 runs/s, min= 187.573270809 runs/s, max= 192.076830732 runs/s
401
402         [create-element]
403         RESULT Bindings: create-element= 280.675830077 runs/s
404         median= 280.701824914 runs/s, stdev= 0.788606343054 runs/s, min= 279.441117764 runs/s, max= 282.542885974 runs/s
405
406         RESULT Bindings: create-element= 276.427631436 runs/s
407         median= 277.227722772 runs/s, stdev= 3.39874667549 runs/s, min= 262.417994377 runs/s, max= 279.162512463 runs/s
408
409         RESULT Bindings: create-element= 277.156894411 runs/s
410         median= 277.227722772 runs/s, stdev= 1.13255119226 runs/s, min= 274.914089347 runs/s, max= 278.884462151 runs/s
411
412         RESULT Bindings: create-element= 278.066825356 runs/s
413         median= 278.191822254 runs/s, stdev= 0.686497782792 runs/s, min= 276.953511375 runs/s, max= 279.162512463 runs/s
414
415         RESULT Bindings: create-element= 276.431538109 runs/s
416         median= 276.406712734 runs/s, stdev= 0.759593662298 runs/s, min= 275.229357798 runs/s, max= 278.053624628 runs/s
417
418         [node-list-access]
419         RESULT Bindings: node-list-access= 222.747504073 runs/s
420         median= 222.772277228 runs/s, stdev= 0.789027527555 runs/s, min= 221.674876847 runs/s, max= 224.159402242 runs/s
421
422         RESULT Bindings: node-list-access= 220.722448287 runs/s
423         median= 221.266217576 runs/s, stdev= 1.65463497875 runs/s, min= 217.391304348 runs/s, max= 222.222222222 runs/s
424
425         RESULT Bindings: node-list-access= 222.195870443 runs/s
426         median= 222.222222222 runs/s, stdev= 0.489709262091 runs/s, min= 221.13022113 runs/s, max= 223.048327138 runs/s
427
428         RESULT Bindings: node-list-access= 221.431121677 runs/s
429         median= 221.538545435 runs/s, stdev= 0.608292116087 runs/s, min= 220.048899756 runs/s, max= 222.772277228 runs/s
430
431         RESULT Bindings: node-list-access= 219.001367135 runs/s
432         median= 221.538545435 runs/s, stdev= 4.65773933007 runs/s, min= 209.973753281 runs/s, max= 222.496909765 runs/s
433
434         * Bindings/append-child.html: Added.
435         * Bindings/create-element.html: Added.
436         * Bindings/id-getter.html: Added.
437         * Bindings/id-setter.html: Added.
438         * Bindings/insert-before.html: Added.
439         * Bindings/node-list-access.html: Added.
440         * Bindings/undefined-id-getter.html: Added.
441
442 2012-05-18  Kentaro Hara  <haraken@chromium.org>
443
444         [perf-test] Add a binding benchmark for div.setAttribute()
445         https://bugs.webkit.org/show_bug.cgi?id=86815
446
447         Reviewed by Ryosuke Niwa.
448
449         We should remove Bindings/dom-attributes.html and instead add more
450         reasonable micro benchmarks by classifying DOM binding call paths.
451
452         This patch adds a benchmark for div.setAttribute(). This benchmark
453         covers 'setAttribute' in Dromaeo/dom-attr.html and other DOM methods
454         that return an undefined.
455
456         Test results in my Linux desktop:
457
458         RESULT Bindings: set-attribute= 793.745073252 runs/s
459         median= 791.589665765 runs/s, stdev= 6.00467159709 runs/s, min= 785.27607362 runs/s, max= 808.080808081 runs/s
460
461         RESULT Bindings: set-attribute= 790.858444164 runs/s
462         median= 787.918921436 runs/s, stdev= 7.86264953655 runs/s, min= 780.234070221 runs/s, max= 806.04534005 runs/s
463
464         RESULT Bindings: set-attribute= 787.277571417 runs/s
465         median= 784.31372549 runs/s, stdev= 7.45363346657 runs/s, min= 778.588807786 runs/s, max= 804.020100503 runs/s
466
467         RESULT Bindings: set-attribute= 782.401393791 runs/s
468         median= 779.062978802 runs/s, stdev= 6.48250081621 runs/s, min= 777.642770352 runs/s, max= 796.019900498 runs/s
469
470         RESULT Bindings: set-attribute= 791.792516608 runs/s
471         median= 791.556728232 runs/s, stdev= 6.49182980397 runs/s, min= 779.220779221 runs/s, max= 808.080808081 runs/s
472
473         * Bindings/set-attribute.html: Added.
474
475 2012-05-17  Kentaro Hara  <haraken@chromium.org>
476
477         [perf-test] Add a binding benchmark for div.getAttribute()
478         https://bugs.webkit.org/show_bug.cgi?id=86814
479
480         Reviewed by Ryosuke Niwa.
481
482         We should remove Bindings/dom-attributes.html and instead add more
483         reasonable micro benchmarks by classifying DOM binding call paths.
484
485         This patch adds a benchmark for div.getAttribute(). This benchmark
486         covers 'getAttribute' in Dromaeo/dom-attr.html, and other DOM methods
487         that return a String.
488
489         Test results in my Linux desktop:
490
491         RESULT Bindings: get-attribute= 250.088158538 runs/s
492         median= 250.469728765 runs/s, stdev= 4.66551901315 runs/s, min= 240.673886883 runs/s, max= 256.739409499 runs/s
493
494         RESULT Bindings: get-attribute= 250.209764698 runs/s
495         median= 250.626959986 runs/s, stdev= 4.12030002477 runs/s, min= 241.254523522 runs/s, max= 255.102040816 runs/s
496
497         RESULT Bindings: get-attribute= 248.907532887 runs/s
498         median= 250.312891114 runs/s, stdev= 3.23173125874 runs/s, min= 240.673886883 runs/s, max= 251.572327044 runs/s
499
500         RESULT Bindings: get-attribute= 250.243680844 runs/s
501         median= 250.783797637 runs/s, stdev= 4.19327170024 runs/s, min= 240.963855422 runs/s, max= 255.102040816 runs/s
502
503         RESULT Bindings: get-attribute= 245.329046608 runs/s
504         median= 244.948040416 runs/s, stdev= 2.24314248534 runs/s, min= 240.384615385 runs/s, max= 248.756218905 runs/s
505
506         * Bindings/get-attribute.html: Added.
507
508 2012-05-17  Kentaro Hara  <haraken@chromium.org>
509
510         [perf-test] Add a binding benchmark for getElementById()
511         https://bugs.webkit.org/show_bug.cgi?id=86808
512
513         Reviewed by Ryosuke Niwa.
514
515         Currently Bindings/dom-attributes.html is just a collection
516         of random DOM attributes and methods. We should remove it and
517         instead add more reasonable micro benchmarks by classifying
518         DOM binding call paths.
519
520         This patch adds a benchmark for document.getElementById(),
521         which covers other DOM methods that return a Node Object.
522
523         The reason why we want to add a benchmark for document.getElementById()
524         in spite of the fact that Dromaeo/dom-query.html is already testing
525         document.getElementById(), is that Dromaeo/dom-query.html outputs one
526         result for several benchmarks (i.e. getElementById().nodeType,
527         getElementsByTagName()[0].nodeType etc), and thus we cannot observe
528         regression of getElementById() itself. (Catching regression of
529         getElementById() would be critical.)
530
531         Test results in my Linux desktop:
532
533         RESULT Bindings: get-element-by-id= 300.933707795 runs/s
534         median= 302.267002519 runs/s, stdev= 3.04954648504 runs/s, min= 295.930949445 runs/s, max= 305.34351145 runs/s
535
536         RESULT Bindings: get-element-by-id= 302.030324483 runs/s
537         median= 302.267481977 runs/s, stdev= 1.78518068367 runs/s, min= 298.507462687 runs/s, max= 304.568527919 runs/s
538
539         RESULT Bindings: get-element-by-id= 301.993483538 runs/s
540         median= 302.648171501 runs/s, stdev= 1.87604126626 runs/s, min= 296.662546354 runs/s, max= 304.568527919 runs/s
541
542         RESULT Bindings: get-element-by-id= 301.936607982 runs/s
543         median= 302.45758701 runs/s, stdev= 1.88991087072 runs/s, min= 298.879202989 runs/s, max= 304.955527319 runs/s
544
545         RESULT Bindings: get-element-by-id= 301.952234563 runs/s
546         median= 302.648171501 runs/s, stdev= 1.59929752614 runs/s, min= 299.625468165 runs/s, max= 304.568527919 runs/s
547
548         * Bindings/get-element-by-id.html: Added.
549
550 2012-05-17  Kentaro Hara  <haraken@chromium.org>
551
552         [perf-test] Add a benchmark for body.scrollTop
553         https://bugs.webkit.org/show_bug.cgi?id=86806
554
555         Reviewed by Ryosuke Niwa.
556
557         Currently Bindings/dom-attributes.html is just a collection of random
558         DOM attributes and methods. We should remove it and instead add more
559         reasonable micro benchmarks by classifying DOM binding call paths.
560
561         This patch adds a benchmark for body.scrollTop, which covers other
562         DOM attributes that return small integers.
563
564         (Note: Performance optimization for the benchmark will be coming soon.)
565
566         Test results in my Linux desktop:
567
568         RESULT Bindings: scroll-top= 209.410654239 runs/s
569         median= 211.64021164 runs/s, stdev= 4.09958741195 runs/s, min= 201.005025126 runs/s, max= 212.483399734 runs/s
570
571         RESULT Bindings: scroll-top= 195.651111157 runs/s
572         median= 196.319018405 runs/s, stdev= 1.77011627406 runs/s, min= 191.846522782 runs/s, max= 197.28729963 runs/s
573         RESULT Bindings: scroll-top= 200.004907612 runs/s
574         median= 201.511335013 runs/s, stdev= 3.27455403827 runs/s, min= 193.236714976 runs/s, max= 202.53164557 runs/s
575
576         RESULT Bindings: scroll-top= 209.582737512 runs/s
577         median= 210.803689065 runs/s, stdev= 3.16769655464 runs/s, min= 203.045685279 runs/s, max= 211.920529801 runs/s
578
579         RESULT Bindings: scroll-top= 199.924607687 runs/s
580         median= 201.13144338 runs/s, stdev= 3.11080503619 runs/s, min= 193.003618818 runs/s, max= 202.02020202 runs/s
581
582         * Bindings/scroll-top.html: Added.
583
584 2012-05-17  Kentaro Hara  <haraken@chromium.org>
585
586         [perf-test] Add a micro benchmark for div.firstChild getter for an undefined firstChild
587         https://bugs.webkit.org/show_bug.cgi?id=86725
588
589         Reviewed by Ryosuke Niwa.
590
591         We are going to remove Bindings/dom-attributes.html and instead add more
592         reasonable micro benchmarks by classifying DOM binding call paths.
593
594         In this bug, we add a micro benchmark for div.firstChild getter for an
595         undefined firstChild. This benchmark covers other undefined DOM attributes
596         that return a null.
597
598         (Note: In V8, div.firstChild for an undefined firstChild is currently slower
599         than div.firstChild for a defined firstChild.)
600
601         Test results in my Linux desktop:
602
603         RESULT Bindings: undefined-first-child= 541.408311042 runs/s
604         median= 541.205412054 runs/s, stdev= 1.29841219187 runs/s, min= 537.897310513 runs/s, max= 543.209876543 runs/s
605
606         RESULT Bindings: undefined-first-child= 541.00750695 runs/s
607         median= 540.540540541 runs/s, stdev= 0.967521230965 runs/s, min= 539.215686275 runs/s, max= 543.209876543 runs/s
608
609         RESULT Bindings: undefined-first-child= 523.630714897 runs/s
610         median= 523.560209424 runs/s, stdev= 1.01570919645 runs/s, min= 522.193211488 runs/s, max= 525.624178712 runs/s
611
612         RESULT Bindings: undefined-first-child= 553.077663588 runs/s
613         median= 553.459119497 runs/s, stdev= 0.805697397863 runs/s, min= 551.378446115 runs/s, max= 554.156171285 runs/s
614
615         RESULT Bindings: undefined-first-child= 541.5401432 runs/s
616         median= 541.538666618 runs/s, stdev= 0.954301364767 runs/s, min= 539.877300613 runs/s, max= 543.209876543 runs/s
617
618         * Bindings/undefined-first-child.html: Added.
619
620 2012-05-17  Kentaro Hara  <haraken@chromium.org>
621
622         [Performance test] Add a micro benchmark for div.firstChild getter
623         https://bugs.webkit.org/show_bug.cgi?id=86582
624
625         Reviewed by Ryosuke Niwa.
626
627         We are going to remove Bindings/dom-attributes.html and instead add more
628         reasonable micro benchmarks by classifying DOM binding call paths.
629
630         In this bug, we add a micro benchmark for div.firstChild getter.
631         This benchmark covers 'firstChild', 'lastChild', 'nextSibling' and
632         'previousSibling' in Dromaeo/dom-traverse.html, and other DOM attributes
633         that return a Node object.
634
635         Multiple test results in my Linux desktop:
636
637         RESULT Bindings: first-child= 798.157160346 runs/s
638         median= 798.004987531 runs/s, stdev= 1.52006063407 runs/s, min= 796.019900498 runs/s, max= 801.001251564 runs/s
639         RESULT Bindings: first-child= 797.603608554 runs/s
640         median= 797.872340426 runs/s, stdev= 2.2522621261 runs/s, min= 791.556728232 runs/s, max= 801.001251564 runs/s
641         RESULT Bindings: first-child= 798.656295468 runs/s
642         median= 798.004987531 runs/s, stdev= 1.79367478063 runs/s, min= 797.01120797 runs/s, max= 803.011292346 runs/s
643         RESULT Bindings: first-child= 797.812784267 runs/s
644         median= 798.004987531 runs/s, stdev= 2.31766523191 runs/s, min= 791.100123609 runs/s, max= 802.005012531 runs/s
645         RESULT Bindings: first-child= 797.963311597 runs/s
646         median= 798.004987531 runs/s, stdev= 2.53014907337 runs/s, min= 789.14919852 runs/s, max= 801.001251564 runs/s
647
648         * Bindings/first-child.html: Added.
649
650 2012-05-16  Kentaro Hara  <haraken@chromium.org>
651
652         [Performance test] Support "description" for PerfTestRunner.run and PerfTestRunner.runPerSecond
653         https://bugs.webkit.org/show_bug.cgi?id=86696
654
655         Reviewed by Ryosuke Niwa.
656
657         We want to add some description for each PerfTestRunner.run and
658         PerfTestRunner.runPerSecond, so that people can know what each
659         run is testing.
660
661         Output example:
662
663         $ ./Tools/Scripts/run-perf-tests Bindings/first-child.html
664         Running Bindings/first-child.html (1 of 1)
665         DESCRIPTION: Benchmark for DOM attributes that return a Node object.
666         RESULT Bindings: first-child= 788.359076534 runs/s
667         median= 797.508097751 runs/s, stdev= 19.0972905207 runs/s, min= 746.666666667 runs/s, max= 801.001251564 runs/s
668
669         * resources/runner.js:
670         (PerfTestRunner.logStatistics):
671         (PerfTestRunner.printStatistics):
672         (PerfTestRunner.runPerSecond):
673
674 2012-05-16  Yury Semikhatsky  <yurys@chromium.org>
675
676         Unreviewed. Fix heap profiler performance test after r117234.
677
678         * inspector/heap-snapshot.html:
679
680 2012-05-14  Ryosuke Niwa  <rniwa@webkit.org>
681
682         Convert CSS and Parser tests to runs/s tests
683         https://bugs.webkit.org/show_bug.cgi?id=86399
684
685         Reviewed by Ojan Vafai.
686
687         Use runPerSecond instead of run to measure results in function calls per second (run/s) instead of time (ms).
688         This allows us to continue measuring performance reliably even when WebKit's performance improves and results
689         become too small for Date.now()'s precision (around 15 ms).
690
691         It should also reduce perf. bots cycle time for slower tests because we limit the number of function calls by time.
692
693         * CSS/CSSPropertySetterGetter.html:
694         * CSS/CSSPropertyUpdateValue.html:
695         * Parser/css-parser-yui.html:
696         * Parser/simple-url.html:
697         * Parser/tiny-innerHTML.html:
698         * Parser/url-parser.html:
699         * Parser/xml-parser.html:
700
701 2012-05-14  Dan Bernstein  <mitz@apple.com>
702
703         Add a line layout performance test
704         https://bugs.webkit.org/show_bug.cgi?id=86216
705
706         Reviewed by Ryosuke Niwa.
707
708         * Layout/line-layout.html: Added.
709
710 2012-05-14  Tony Chang  <tony@chromium.org>
711
712         Don't append log lines while perf tests are running.
713         https://bugs.webkit.org/show_bug.cgi?id=86028
714
715         Reviewed by Ryosuke Niwa.
716
717         In some tests, the extra DOM nodes can cause the test timing to change.
718         Avoid adding DOM nodes until the test is over. When running in a browser,
719         we append nodes as we run so the user can have some feedback.
720
721         * resources/runner.js:
722         (PerfTestRunner.log): Store the log lines in an array until the test is finished.
723
724 2012-05-14  Ryosuke Niwa  <rniwa@webkit.org>
725
726         Build fix. Don't adjust calls per iteration in the second run.
727
728         * resources/runner.js:
729         (PerfTestRunner._perSecondRunner):
730
731 2012-05-13  Ryosuke Niwa  <rniwa@webkit.org>
732
733         performance tests should be able to measure runs/sec rather than time
734         https://bugs.webkit.org/show_bug.cgi?id=86021
735
736         Reviewed by Ojan Vafai.
737
738         Add PerfTestRunner.runPerSecond. It uses _runLoop but replaces _runner by _perSecondRunner
739         to compute runs/s of runFunction.
740
741         When _perSecondRunner is called for the first time, i.e. _completedRuns is 0 (notice this is -1
742         in regular run/_runner), it slowly increases the number of function calls to runFunction between
743         time measurements in order to discount the time used by new Date() calls themselves until the
744         total time spent reaches 100 milliseconds.
745
746         By default, runPerSecond runs the test for at least 750 milliseconds in each run, and executes
747         21 runs, yielding the total run time of roughly 18 seconds. This is significantly faster than
748         most of existing performance tests. Also see http://ejohn.org/blog/accuracy-of-javascript-time/.
749
750         Finally, refactored the existing methods of PerfTestRunner to allow "runs/s" unit and share code.
751
752         * Layout/flexbox-column-nowrap.html:
753         * Layout/flexbox-column-wrap.html:
754         * Layout/flexbox-row-nowrap.html:
755         * Layout/flexbox-row-wrap.html:
756         * resources/runner.js:
757         (PerfTestRunner.computeStatistics): Takes unit.
758         (PerfTestRunner.logStatistics): Ditto.
759         (PerfTestRunner._runLoop):
760         (PerfTestRunner._runner):
761         (PerfTestRunner.runPerSecond): Added.
762         (PerfTestRunner._perSecondRunner): Added. Called by _runLoop.
763         (PerfTestRunner._perSecondRunnerIterator): Added.
764
765 2012-05-09  Tony Chang  <tony@chromium.org>
766
767         add some basic perf-o-matic tests for flexbox
768         https://bugs.webkit.org/show_bug.cgi?id=86017
769
770         Reviewed by Ryosuke Niwa.
771
772         Each of these tests take < 3s on my machine.
773
774         * Layout/flexbox-column-nowrap.html: Added.
775         * Layout/flexbox-column-wrap.html: Added.
776         * Layout/flexbox-row-nowrap.html: Added.
777         * Layout/flexbox-row-wrap.html: Added.
778
779 2012-05-05  Ilya Tikhonovsky  <loislo@chromium.org>
780
781         Web Inspector: unreviewed followup fix for the performance test after r116218.
782
783         * inspector/heap-snapshot.html:
784
785 2012-05-02  Tom Zakrajsek  <tomz@codeaurora.org>
786
787         Need tests for PerfTestRunner.computeStatistics
788         https://bugs.webkit.org/show_bug.cgi?id=85410
789
790         Reviewed by Ryosuke Niwa.
791
792         * resources/runner.js:
793
794 2012-05-02  Sheriff Bot  <webkit.review.bot@gmail.com>
795
796         Unreviewed, rolling out r115905.
797         http://trac.webkit.org/changeset/115905
798         https://bugs.webkit.org/show_bug.cgi?id=85435
799
800         New computeStatistics test is failing on chromium ports
801         (Requested by tomz on #webkit).
802
803         * resources/runner.js:
804
805 2012-05-02  Tom Zakrajsek  <tomz@codeaurora.org>
806
807         Need tests for PerfTestRunner.computeStatistics
808         https://bugs.webkit.org/show_bug.cgi?id=85410
809
810         Reviewed by Ryosuke Niwa.
811
812         * resources/runner.js:
813
814 2012-04-29  Tom Zakrajsek  <tomz@codeaurora.org>
815
816         PerfTestRunner.computeStatistics incorrectly calculates min, max and median
817         https://bugs.webkit.org/show_bug.cgi?id=85111
818
819         Reviewed by Ryosuke Niwa.
820
821         The sort of the data input was being done alphabetically.
822         So I provided a numeric compare function.
823
824         * resources/runner.js:
825
826 2012-04-17  Ilya Tikhonovsky  <loislo@chromium.org>
827
828         Web Inspector: the fix for test after massive rename in r114271.
829         https://bugs.webkit.org/show_bug.cgi?id=84147
830
831         Drive by fix. The test was renamed to heap-snapshot.html
832
833         Reviewed by Yury Semikhatsky.
834
835         * inspector/heap-snapshot.html: Renamed from PerformanceTests/inspector/detailed-heapshots-smoke-test.html.
836
837 2012-04-16  Yury Semikhatsky  <yurys@chromium.org>
838
839         Web Inspector: rename heap profiler files and classes DetailedHeapshot* ->HeapSnapshot*
840         https://bugs.webkit.org/show_bug.cgi?id=84038
841
842         A bunch of renames "detailed heapshot" -> "heap snapshot".
843
844         Reviewed by Pavel Feldman.
845
846         * inspector/detailed-heapshots-smoke-test.html:
847
848 2012-04-13  Ryosuke Niwa  <rniwa@webkit.org>
849
850         Fix skipped list.
851
852         * Skipped:
853
854 2012-04-12  Ryosuke Niwa  <rniwa@webkit.org>
855
856         Enable SVG page loading performance tests
857         https://bugs.webkit.org/show_bug.cgi?id=83861
858
859         Reviewed by Adam Barth.
860
861         Unskip PageLoad directory and skip tests that load too fast (less than 100ms) and are unstable,
862         and the ones that take too long to load (more than 20s).
863
864         * Skipped:
865
866 2012-04-04  Ilya Tikhonovsky  <loislo@chromium.org>
867
868         Web Inspector: Unreviewed. temporary disable broken inspector tests.
869
870         * inspector/first-open-scripts.html.broken: Renamed from PerformanceTests/inspector/first-open-scripts.html.
871         * inspector/network-append-30-requests.html.broken: Renamed from PerformanceTests/inspector/network-append-30-requests.html.
872         * inspector/show-panel.html.broken: Renamed from PerformanceTests/inspector/show-panel.html.
873
874 2012-04-04  Ilya Tikhonovsky  <loislo@chromium.org>
875
876         Web Inspector: linearise aggregate's retaining size calculation.
877         https://bugs.webkit.org/show_bug.cgi?id=83125
878
879         This version is twice as fast as the original and it is non-recursive.
880
881         Reviewed by Yury Semikhatsky.
882
883         * inspector/detailed-heapshots-smoke-test.html:
884
885 2012-03-30  David Barr  <davidbarr@chromium.org>
886
887         Split up top-level .gitignore and .gitattributes
888         https://bugs.webkit.org/show_bug.cgi?id=82687
889
890         Reviewed by Tor Arne Vestbø.
891
892         * .gitattributes: Added.
893
894 2012-03-28  Yury Semikhatsky  <yurys@chromium.org>
895
896         Web Inspector: switch heap profiler front-end to separate storage of nodes and edges
897         https://bugs.webkit.org/show_bug.cgi?id=82453
898
899         Updated heap profiler performance test after heap profiler front-end
900         changes.
901
902         Reviewed by Pavel Feldman.
903
904         * inspector/detailed-heapshots-smoke-test.html:
905
906 2012-03-27  Alexis Menard  <alexis.menard@openbossa.org>
907
908         Add a perf test which updates the value of an already declared CSS property.
909         https://bugs.webkit.org/show_bug.cgi?id=82321
910
911         Reviewed by Andreas Kling.
912
913         This benchmark update CSS existing properties of the style from JS.
914
915         * CSS/CSSPropertyUpdateValue.html: Added.
916
917 2012-03-15  Kentaro Hara  <haraken@chromium.org>
918
919         [PerformanceTests] run-perf-tests should output correct units
920         https://bugs.webkit.org/show_bug.cgi?id=78303
921
922         Reviewed by Ryosuke Niwa.
923
924         Previously run-perf-tests just supported "ms" for units.
925         Consequently, Dromaeo perf tests had been reporting runs/s as "ms".
926         This patch fixes run-perf-tests so that they can support custom units.
927         The default unit is "ms".
928
929         The test result looks like this:
930
931         $ ./Tools/Scripts/run-perf-tests Dromaeo/dom-attr.html
932         RESULT Dromaeo: dom-attr= 6465.9525483 runs/s
933         median= 0.0 runs/s, stdev= 24.2983433436 runs/s, min= 6435.87649402 runs/s, max= 6515.63693392 runs/s
934
935         * Dromaeo/resources/dromaeorunner.js:
936         (.):
937         * resources/runner.js:
938         (PerfTestRunner.computeStatistics):
939         (PerfTestRunner.printStatistics):
940
941 2012-03-15  Alexis Menard  <alexis.menard@openbossa.org>
942
943         Fix the test failing with run-perf-tests.
944
945         Rubber stamped by Ryosuke Niwa.
946
947         * CSS/CSSPropertySetterGetter.html:
948
949 2012-03-14  Alexis Menard  <alexis.menard@openbossa.org>
950
951         Add a new perf test to benchmark setting and reading CSS properties from JS.
952         https://bugs.webkit.org/show_bug.cgi?id=81155
953
954         Reviewed by Ryosuke Niwa.
955
956         This benchmark read and set CSS properties from JS. It contains a list
957         of common CSS properties.
958
959         * CSS/CSSPropertySetterGetter.html: Added.
960
961 2012-03-14  Alexandru Chiculita  <achicu@adobe.com>
962
963         Layout/floats.html should be runnable by run-perf-tests
964         https://bugs.webkit.org/show_bug.cgi?id=77051
965
966         Reviewed by Ryosuke Niwa.
967
968         I've split Layout/floats.html into multiple tests for each button in the original manual test.
969         Some tests take longer to run and I've changed the number of iterations, so that each tests finishes under 30s per run.
970
971         * DOM/resources/dom-perf.js:
972         * Layout/floats.html: Removed.
973         * Layout/floats_100_100.html: Added.
974         * Layout/floats_100_100_nested.html: Added.
975         * Layout/floats_20_100.html: Added.
976         * Layout/floats_20_100_nested.html: Added.
977         * Layout/floats_2_100.html: Added.
978         * Layout/floats_2_100_nested.html: Added.
979         * Layout/floats_50_100.html: Added.
980         * Layout/floats_50_100_nested.html: Added.
981         * Layout/resources/floats.css: Added.
982         (.container):
983         (.float):
984         (.big):
985         (.float-end):
986         * Layout/resources/floats.js: Added.
987         (.):
988         * Skipped:
989         * resources/runner.js:
990         (PerfTestRunner.resetRandomSeed):
991         (PerfTestRunner.random):
992         (Math.random):
993             Moved the Math.random to runner.js to be used by all tests.
994             Added resetRandomSeed to bring the randomizer back to initial seed.
995             It is useful to get the same results at every run and minimize the
996             differences between runs.
997
998 2012-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
999
1000         Unreviewed, rolling out r110559.
1001         http://trac.webkit.org/changeset/110559
1002         https://bugs.webkit.org/show_bug.cgi?id=81142
1003
1004         Broke Dromaeo tests (Requested by rniwa on #webkit).
1005
1006         * Dromaeo/resources/dromaeorunner.js:
1007         (.):
1008
1009 2012-03-13  Kentaro Hara  <haraken@chromium.org>
1010
1011         Dromaeo perf-tests results are wrong
1012         https://bugs.webkit.org/show_bug.cgi?id=80974
1013
1014         Reviewed by Hajime Morita.
1015
1016         Dromaeo perf-tests had reported the sum of runs/seconds as "ms".
1017         This patch fixes them to report the execution time per run.
1018
1019         At present, they report "0.0ms" for "stdev". This is because
1020         dromaeorunner.js can just know stdev of "runs/seconds"
1021         and cannot calculate stdev of "ms" from that. We can fix it later.
1022
1023         * Dromaeo/resources/dromaeorunner.js:
1024         (.):
1025
1026 2012-03-12  Ilya Tikhonovsky  <loislo@chromium.org>
1027
1028         Web Inspector: chromium: increase heap snapshot performance coverage.
1029         https://bugs.webkit.org/show_bug.cgi?id=80829
1030
1031         Reviewed by Yury Semikhatsky.
1032
1033         * inspector/detailed-heapshots-smoke-test.html:
1034         * inspector/performance-test.js:
1035         (initialize_TimeTracker.InspectorTest.measureFunction):
1036
1037 2012-03-06  Kentaro Hara  <haraken@chromium.org>
1038
1039         [Perf tests] Reduce the number of loops in dom-attributes.html
1040         https://bugs.webkit.org/show_bug.cgi?id=80077
1041
1042         Reviewed by Ryosuke Niwa.
1043
1044         dom-attributes.html takes 100~ seconds in the perf bots. This patch reduces
1045         the time by reducing the number of loops.
1046
1047         This is just a temporary fix. After more detailed investigation, I will reduce
1048         the number of tests in dom-attributes.html, and revert back the number of loops
1049         to guarantee the reliability of the perf test results.
1050
1051         * Bindings/dom-attributes.html:
1052
1053 2012-03-06  Ilya Tikhonovsky  <loislo@chromium.org>
1054
1055         Web Inspector: Heap Snapshot test: split overal time metric into separate metrics.
1056         https://bugs.webkit.org/show_bug.cgi?id=80409
1057
1058         Reviewed by Yury Semikhatsky.
1059
1060         * inspector/detailed-heapshots-smoke-test.html:
1061
1062 2012-03-05  Ilya Tikhonovsky  <loislo@chromium.org>
1063
1064         Web Inspector: [chromium] introduce HeapSnapshot performance test.
1065         https://bugs.webkit.org/show_bug.cgi?id=80280
1066
1067         Reviewed by Pavel Feldman.
1068
1069         * inspector/detailed-heapshots-smoke-test.html: Added.
1070
1071 2012-03-01  Ryosuke Niwa  <rniwa@webkit.org>
1072
1073         DOM tests take too long to run
1074         https://bugs.webkit.org/show_bug.cgi?id=80082
1075
1076         Reviewed by Eric Seidel.
1077
1078         Reduce benchmark.timeToRun from 500ms to 100ms. Doesn't seem to affect test results much
1079         (except DOM/DOMTable.html) but significantly reduces the runtime of tests.
1080
1081         * DOM/resources/dom-perf.js:
1082         (BenchmarkSuite.prototype.RunSingle):
1083
1084 2012-02-26  Kentaro Hara  <haraken@chromium.org>
1085
1086         [Performance Tests] [Chromium] Bindings/dom-attributes.html is timing out
1087         https://bugs.webkit.org/show_bug.cgi?id=79593
1088
1089         Reviewed by Adam Barth.
1090
1091         This patch halves the execution time of Bindings/dom-attributes.html
1092         in order to avoid timeout in Chromium. The reason for the timeout is that
1093         V8 DOM bindings are too much slower than JSC bindings.
1094         I am a bit afraid that this patch will reduce the accuracy of the
1095         perf test results, but it would make sense to reduce the execution time
1096         until we fix the performance issue in V8 DOM bindings.
1097
1098         * Bindings/dom-attributes.html:
1099
1100 2012-02-24  Ryosuke Niwa  <rniwa@webkit.org>
1101
1102         Rename dom*_*attributes.html to dom*-*attributes.html to follow the WebKit convention.
1103
1104         * Bindings/dom-attributes.html: Copied from PerformanceTests/Bindings/dom_attributes.html.
1105         * Bindings/dom_attributes.html: Removed.
1106
1107 2012-02-24  Kentaro Hara  <haraken@chromium.org>
1108
1109         Unreviewed, rolling out r108477.
1110         http://trac.webkit.org/changeset/108477
1111         https://bugs.webkit.org/show_bug.cgi?id=79209
1112
1113         The perf tests committed in r108748 covers the perf tests
1114         committed in r108477. So I'll roll out r108477.
1115
1116         * Bindings/dom_attributes_id_getter.html: Removed.
1117         * Bindings/dom_attributes_id_setter.html: Removed.
1118         * Bindings/resources/dom_attributes_common.js: Removed.
1119
1120 2012-02-24  Kentaro Hara  <haraken@chromium.org>
1121
1122         Add performance tests for DOM attribute getters and setters
1123         https://bugs.webkit.org/show_bug.cgi?id=79208
1124
1125         Reviewed by Ryosuke Niwa.
1126
1127         This patch adds performance micro-benchmarks for DOM attribute
1128         getters and setters. We selected DOM attributes from HTMLElement,
1129         Element and Node which will most impact on the DOM performance
1130         in the real Web and which have different call-paths from another
1131         DOM attribute.
1132
1133         The perf test result in my local Chromium/Linux environment is as follows:
1134         median= 14967.0 ms, stdev= 85.2385476178 ms, min= 14861.0 ms, max= 15155.0 ms
1135
1136         If we run the test with DumpRenderTree, we can get the following test results:
1137         Info: [HTMLElement.id] avg=65.76ms, median=65.00ms, stdev=2.14ms, min=63, max=70
1138         Info: [HTMLElement.title] avg=64.05ms, median=63.00ms, stdev=1.50ms, min=63, max=67
1139         Info: [HTMLElement.lang] avg=64.19ms, median=63.00ms, stdev=1.82ms, min=62, max=67
1140         Info: [HTMLElement.dir] avg=64.10ms, median=63.00ms, stdev=1.72ms, min=62, max=68
1141         Info: [HTMLElement.className] avg=63.33ms, median=63.00ms, stdev=0.89ms, min=63, max=67
1142         Info: [HTMLElement.classList] avg=1946.00ms, median=1945.00ms, stdev=38.22ms, min=1921, max=2110
1143         Info: [HTMLElement.tabIndex] avg=83.52ms, median=80.00ms, stdev=6.00ms, min=79, max=94
1144         Info: [HTMLElement.draggable] avg=78.14ms, median=81.00ms, stdev=3.51ms, min=74, max=82
1145         Info: [HTMLElement.webkitdropzone] avg=64.33ms, median=63.00ms, stdev=1.98ms, min=63, max=68
1146         Info: [HTMLElement.hidden] avg=65.57ms, median=64.00ms, stdev=3.27ms, min=63, max=71
1147         Info: [HTMLElement.accessKey] avg=64.43ms, median=63.00ms, stdev=2.11ms, min=62, max=68
1148         Info: [HTMLElement.children] avg=130.76ms, median=128.00ms, stdev=9.75ms, min=109, max=143
1149         Info: [HTMLElement.isContentEditable] avg=74.29ms, median=75.00ms, stdev=2.00ms, min=71, max=77
1150         Info: [HTMLElement.spellcheck] avg=79.52ms, median=80.00ms, stdev=2.52ms, min=76, max=82
1151         Info: [HTMLElement.innerHTML] avg=279.05ms, median=279.00ms, stdev=1.96ms, min=276, max=283
1152         Info: [HTMLElement.innerText] avg=204.14ms, median=203.00ms, stdev=2.95ms, min=200, max=210
1153         Info: [HTMLElement.outerHTML] avg=1544.10ms, median=1546.00ms, stdev=15.56ms, min=1514, max=1568
1154         Info: [HTMLElement.outerText] avg=216.05ms, median=207.00ms, stdev=18.19ms, min=201, max=247
1155         Info: [HTMLElement.contentEditable] avg=334.24ms, median=323.00ms, stdev=36.06ms, min=318, max=446
1156         Info: [HTMLElement.id="foo"] avg=53.19ms, median=53.00ms, stdev=1.76ms, min=52, max=58
1157         Info: [HTMLElement.title="foo"] avg=63.14ms, median=63.00ms, stdev=0.35ms, min=63, max=64
1158         Info: [HTMLElement.lang="foo"] avg=60.86ms, median=61.00ms, stdev=0.56ms, min=60, max=62
1159         Info: [HTMLElement.dir="foo"] avg=53.57ms, median=54.00ms, stdev=0.58ms, min=53, max=55
1160         Info: [HTMLElement.className="foo"] avg=64.52ms, median=64.00ms, stdev=0.91ms, min=63, max=66
1161         Info: [HTMLElement.tabIndex="foo"] avg=367.86ms, median=369.00ms, stdev=8.06ms, min=352, max=380
1162         Info: [HTMLElement.draggable="foo"] avg=79.43ms, median=79.00ms, stdev=0.58ms, min=79, max=81
1163         Info: [HTMLElement.webkitdropzone="foo"] avg=62.14ms, median=62.00ms, stdev=0.35ms, min=62, max=63
1164         Info: [HTMLElement.hidden="foo"] avg=61.67ms, median=62.00ms, stdev=0.71ms, min=61, max=64
1165         Info: [HTMLElement.accessKey="foo"] avg=61.86ms, median=62.00ms, stdev=0.56ms, min=61, max=63
1166         Info: [HTMLElement.spellcheck="foo"] avg=79.57ms, median=80.00ms, stdev=0.58ms, min=78, max=80
1167         Info: [HTMLElement.innerHTML="foo"] avg=1176.67ms, median=1169.00ms, stdev=26.60ms, min=1146, max=1246
1168         Info: [HTMLElement.innerText="foo"] avg=51.62ms, median=52.00ms, stdev=0.72ms, min=50, max=53
1169         Info: [Element.tagName] avg=79.52ms, median=80.00ms, stdev=1.05ms, min=78, max=81
1170         Info: [Element.style] avg=126.19ms, median=126.00ms, stdev=10.40ms, min=104, max=161
1171         Info: [Element.offsetLeft] avg=98.95ms, median=104.00ms, stdev=4.01ms, min=100, max=99
1172         Info: [Element.clientLeft] avg=98.33ms, median=102.00ms, stdev=2.59ms, min=100, max=99
1173         Info: [Element.scrollLeft] avg=103.29ms, median=96.00ms, stdev=15.63ms, min=100, max=97
1174         Info: [Element.dataset] avg=2448.62ms, median=2441.00ms, stdev=20.43ms, min=2426, max=2503
1175         Info: [Element.firstElementChild] avg=58.71ms, median=58.00ms, stdev=2.37ms, min=57, max=65
1176         Info: [Element.lastElementChild] avg=56.33ms, median=55.00ms, stdev=1.83ms, min=54, max=59
1177         Info: [Element.previousElementSibling] avg=52.95ms, median=52.00ms, stdev=1.70ms, min=52, max=57
1178         Info: [Element.nextElementSibling] avg=58.48ms, median=58.00ms, stdev=1.79ms, min=57, max=63
1179         Info: [Element.childElementCount] avg=64.57ms, median=64.00ms, stdev=1.81ms, min=63, max=71
1180         Info: [Element.onload] avg=98.38ms, median=98.00ms, stdev=0.49ms, min=98, max=99
1181         Info: [Element.scrollLeft="foo"] avg=95.24ms, median=95.00ms, stdev=0.92ms, min=94, max=98
1182         Info: [Element.onload="foo"] avg=67.14ms, median=67.00ms, stdev=0.56ms, min=66, max=68
1183         Info: [Node.nodeName] avg=76.29ms, median=76.00ms, stdev=0.63ms, min=75, max=77
1184         Info: [Node.nodeType] avg=53.05ms, median=52.00ms, stdev=2.61ms, min=52, max=61
1185         Info: [Node.parentNode] avg=53.52ms, median=53.00ms, stdev=1.22ms, min=52, max=56
1186         Info: [Node.childNodes] avg=118.33ms, median=123.00ms, stdev=8.85ms, min=107, max=129
1187         Info: [Node.firstChild] avg=53.62ms, median=53.00ms, stdev=1.13ms, min=51, max=55
1188         Info: [Node.lastChild] avg=53.14ms, median=53.00ms, stdev=1.21ms, min=52, max=55
1189         Info: [Node.previousSibling] avg=51.86ms, median=51.00ms, stdev=1.55ms, min=50, max=54
1190         Info: [Node.nextSibling] avg=52.86ms, median=54.00ms, stdev=1.81ms, min=50, max=55
1191         Info: [Node.attributes] avg=2027.71ms, median=2026.00ms, stdev=10.48ms, min=2010, max=2051
1192         Info: [Node.ownerDocument] avg=152.14ms, median=152.00ms, stdev=1.73ms, min=149, max=155
1193         Info: [Node.namespaceURI] avg=60.86ms, median=59.00ms, stdev=3.85ms, min=56, max=66
1194         Info: [Node.localName] avg=60.00ms, median=59.00ms, stdev=2.71ms, min=57, max=66
1195         Info: [Node.baseURI] avg=671.10ms, median=668.00ms, stdev=10.66ms, min=659, max=706
1196         Info: [Node.parentElement] avg=55.05ms, median=56.00ms, stdev=2.15ms, min=52, max=58
1197         Info: [Node.nodeValue] avg=61.24ms, median=60.00ms, stdev=2.56ms, min=59, max=68
1198         Info: [Node.prefix] avg=60.90ms, median=58.00ms, stdev=4.26ms, min=57, max=68
1199         Info: [Node.textContent] avg=149.71ms, median=149.00ms, stdev=1.12ms, min=148, max=152
1200         Info: [Node.nodeValue="foo"] avg=23.62ms, median=23.00ms, stdev=0.72ms, min=23, max=25
1201         Info: [Node.prefix="foo"] avg=49.57ms, median=49.00ms, stdev=0.73ms, min=49, max=51
1202         Info: [Node.textContent="foo"] avg=145.81ms, median=140.00ms, stdev=17.43ms, min=138, max=199
1203
1204         * Bindings/dom_attributes.html: Added.
1205         * resources/runner.js:
1206         (PerfTestRunner.info):
1207
1208 2012-02-22  Kentaro Hara  <haraken@chromium.org>
1209
1210         Add performance tests for the Element.id getter and setter
1211         https://bugs.webkit.org/show_bug.cgi?id=79209
1212
1213         Reviewed by Adam Barth.
1214
1215         This patch adds performance tests for the Element.id getter and setter.
1216
1217         The results of 10 runs in my local Chromium/Linux are as follows:
1218
1219         dom_attributes_id_getter.html:
1220         median= 92.0 ms, stdev= 1.65151445649 ms, min= 89.0 ms, max= 96.0 ms
1221         median= 87.5 ms, stdev= 1.84390889146 ms, min= 85.0 ms, max= 92.0 ms
1222         median= 94.0 ms, stdev= 1.46543508898 ms, min= 90.0 ms, max= 95.0 ms
1223         median= 86.0 ms, stdev= 1.66958078571 ms, min= 84.0 ms, max= 91.0 ms
1224         median= 94.0 ms, stdev= 2.25610283454 ms, min= 103.0 ms, max= 98.0 ms
1225         median= 86.0 ms, stdev= 1.49666295471 ms, min= 84.0 ms, max= 91.0 ms
1226         median= 86.0 ms, stdev= 1.5321553446 ms, min= 84.0 ms, max= 90.0 ms
1227         median= 86.0 ms, stdev= 2.20227155455 ms, min= 84.0 ms, max= 94.0 ms
1228         median= 96.0 ms, stdev= 1.74570902501 ms, min= 101.0 ms, max= 99.0 ms
1229         median= 86.0 ms, stdev= 1.63935963108 ms, min= 84.0 ms, max= 90.0 ms
1230         median= 94.0 ms, stdev= 1.49248115566 ms, min= 90.0 ms, max= 95.0 ms
1231         median= 88.0 ms, stdev= 5.20192272146 ms, min= 84.0 ms, max= 98.0 ms
1232         median= 86.0 ms, stdev= 1.41067359797 ms, min= 84.0 ms, max= 89.0 ms
1233         median= 86.0 ms, stdev= 1.48660687473 ms, min= 84.0 ms, max= 89.0 ms
1234         median= 94.0 ms, stdev= 1.58113883008 ms, min= 93.0 ms, max= 97.0 ms
1235         median= 86.0 ms, stdev= 1.95959179423 ms, min= 84.0 ms, max= 93.0 ms
1236         median= 86.0 ms, stdev= 1.8547236991 ms, min= 84.0 ms, max= 92.0 ms
1237         median= 86.0 ms, stdev= 1.39283882772 ms, min= 84.0 ms, max= 89.0 ms
1238         median= 88.0 ms, stdev= 1.48660687473 ms, min= 85.0 ms, max= 90.0 ms
1239         median= 86.5 ms, stdev= 2.3 ms, min= 84.0 ms, max= 93.0 ms
1240
1241         dom_attributes_id_setter.html:
1242         median= 123.0 ms, stdev= 2.06397674406 ms, min= 119.0 ms, max= 128.0 ms
1243         median= 119.0 ms, stdev= 1.92028643697 ms, min= 117.0 ms, max= 123.0 ms
1244         median= 121.0 ms, stdev= 1.8781639971 ms, min= 118.0 ms, max= 123.0 ms
1245         median= 123.0 ms, stdev= 2.21585198062 ms, min= 119.0 ms, max= 130.0 ms
1246         median= 124.5 ms, stdev= 2.36378933071 ms, min= 119.0 ms, max= 129.0 ms
1247         median= 122.0 ms, stdev= 2.4474476501 ms, min= 118.0 ms, max= 128.0 ms
1248         median= 123.0 ms, stdev= 1.76351920885 ms, min= 118.0 ms, max= 125.0 ms
1249         median= 119.0 ms, stdev= 1.79652442232 ms, min= 117.0 ms, max= 125.0 ms
1250         median= 121.0 ms, stdev= 1.49916643506 ms, min= 119.0 ms, max= 123.0 ms
1251         median= 119.5 ms, stdev= 1.85135085816 ms, min= 117.0 ms, max= 125.0 ms
1252         median= 124.0 ms, stdev= 1.43090880213 ms, min= 120.0 ms, max= 124.0 ms
1253         median= 122.0 ms, stdev= 1.45859521458 ms, min= 118.0 ms, max= 123.0 ms
1254         median= 123.0 ms, stdev= 1.50332963784 ms, min= 120.0 ms, max= 124.0 ms
1255         median= 123.0 ms, stdev= 1.3638181697 ms, min= 120.0 ms, max= 125.0 ms
1256         median= 119.0 ms, stdev= 1.43527000944 ms, min= 117.0 ms, max= 121.0 ms
1257         median= 122.5 ms, stdev= 1.71682847134 ms, min= 118.0 ms, max= 124.0 ms
1258         median= 121.0 ms, stdev= 1.44481832768 ms, min= 118.0 ms, max= 123.0 ms
1259         median= 120.0 ms, stdev= 1.40978721799 ms, min= 117.0 ms, max= 122.0 ms
1260         median= 122.0 ms, stdev= 1.68522995464 ms, min= 119.0 ms, max= 125.0 ms
1261         median= 122.0 ms, stdev= 1.55804364509 ms, min= 118.0 ms, max= 123.0 ms
1262
1263
1264         * Bindings/dom_attributes_id_getter.html: Added.
1265         * Bindings/dom_attributes_id_setter.html: Added.
1266         * Bindings/resources/dom_attributes_common.js: Added.
1267
1268 2012-02-16  Alexis Menard  <alexis.menard@openbossa.org>
1269
1270         Add a perf test for the CSS parser.
1271         https://bugs.webkit.org/show_bug.cgi?id=78114
1272
1273         Reviewed by Ryosuke Niwa.
1274
1275         Add a perf test for the CSS parser. It load a big CSS chunk
1276         which contains some snippets of the YUI library from Yahoo!.
1277
1278         * Parser/css-parser-yui.html: Added.
1279
1280 2012-02-08  Hajime Morrita  <morrita@chromium.org>
1281
1282         [PerformanceTests] sunspider-crypto-md5.html and sunspider-crypto-sha1.html are timing out on cr-mac perf bot
1283         https://bugs.webkit.org/show_bug.cgi?id=78174
1284
1285         Reviewed by Ryosuke Niwa.
1286
1287         Pulled back removed files.
1288
1289         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-md5.html: Added.
1290         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-sha1.html: Added.
1291
1292 2012-02-02  Hajime Morrita  <morrita@chromium.org>
1293
1294         [PerformanceTests] Each Dromaeo test needs its landing html.
1295         https://bugs.webkit.org/show_bug.cgi?id=77504
1296
1297         Reviewed by Ryosuke Niwa.
1298
1299         - Added landing pages for each test which are listed in MANIFEST.json
1300         - Removed some tests which depends on the library whose license is incompatible to WebKit.
1301         - Added local copy of corresponding library. And replace the references to the remote sources
1302           to the local copies.
1303         - Removed old library files under Dromaeo/resources/dromaeo/web/lib/.
1304         - Skipped Sunsupier and v8 test. Such JS centric test should have its own test instead of
1305           running as a part of Dromaeo.
1306
1307         * Dromaeo/cssquery-dojo.html: Added.
1308         * Dromaeo/cssquery-jquery.html: Added.
1309         * Dromaeo/cssquery-prototype.html: Added.
1310         * Dromaeo/dom-attr.html: Added.
1311         * Dromaeo/dom-modify.html: Added.
1312         * Dromaeo/dom-traverse.html: Added.
1313         * Dromaeo/dromaeo-3d-cube.html: Added.
1314         * Dromaeo/dromaeo-core-eval.html: Added.
1315         * Dromaeo/dromaeo-object-array.html: Added.
1316         * Dromaeo/dromaeo-object-regexp.html: Added.
1317         * Dromaeo/dromaeo-object-string.html: Added.
1318         * Dromaeo/dromaeo-string-base64.html: Added.
1319         * Dromaeo/jslib-attr-jquery.html: Added.
1320         * Dromaeo/jslib-attr-prototype.html: Added.
1321         * Dromaeo/jslib-event-jquery.html: Added.
1322         * Dromaeo/jslib-event-prototype.html: Added.
1323         * Dromaeo/jslib-modify-jquery.html: Added.
1324         * Dromaeo/jslib-modify-prototype.html: Added.
1325         * Dromaeo/jslib-style-jquery.html: Added.
1326         * Dromaeo/jslib-style-prototype.html: Added.
1327         * Dromaeo/jslib-traverse-jquery.html: Added.
1328         * Dromaeo/jslib-traverse-prototype.html: Added.
1329         * Dromaeo/resources/dromaeo/web/lib/dojo.js: Removed.
1330         * Dromaeo/resources/dromaeo/web/lib/dojo-1.6.1.js: Added.
1331         * Dromaeo/resources/dromaeo/web/lib/jquery.js: Removed.
1332         * Dromaeo/resources/dromaeo/web/lib/jquery-1.6.4.js: Added.
1333         * Dromaeo/resources/dromaeo/web/lib/mootools.js: Removed.
1334         * Dromaeo/resources/dromaeo/web/lib/prototype.js: Removed.
1335         * Dromaeo/resources/dromaeo/web/lib/prototype-1.7.js: Added.
1336         * Dromaeo/resources/dromaeo/web/tests/cssquery-dojo.html:
1337         * Dromaeo/resources/dromaeo/web/tests/cssquery-jquery.html:
1338         * Dromaeo/resources/dromaeo/web/tests/cssquery-mootools.html: Removed.
1339         * Dromaeo/resources/dromaeo/web/tests/cssquery-prototype.html:
1340         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-jquery.html:
1341         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-prototype.html:
1342         * Dromaeo/resources/dromaeo/web/tests/jslib-event-jquery.html:
1343         * Dromaeo/resources/dromaeo/web/tests/jslib-event-prototype.html:
1344         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-jquery.html:
1345         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-prototype.html:
1346         * Dromaeo/resources/dromaeo/web/tests/jslib-style-jquery.html:
1347         * Dromaeo/resources/dromaeo/web/tests/jslib-style-prototype.html:
1348         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-jquery.html:
1349         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-prototype.html:
1350         * Dromaeo/sunspider-3d-morph.html: Added.
1351         * Dromaeo/sunspider-3d-raytrace.html: Added.
1352         * Dromaeo/sunspider-access-binary-trees.html: Added.
1353         * Dromaeo/sunspider-access-fannkuch.html: Added.
1354         * Dromaeo/sunspider-access-nbody.html: Added.
1355         * Dromaeo/sunspider-access-nsieve.html: Added.
1356         * Dromaeo/sunspider-bitops-3bit-bits-in-byte.html: Added.
1357         * Dromaeo/sunspider-bitops-bits-in-byte.html: Added.
1358         * Dromaeo/sunspider-bitops-bitwise-and.html: Added.
1359         * Dromaeo/sunspider-bitops-nsieve-bits.html: Added.
1360         * Dromaeo/sunspider-controlflow-recursive.html: Added.
1361         * Dromaeo/sunspider-crypto-aes.html: Added.
1362         * Dromaeo/sunspider-crypto-md5.html: Added.
1363         * Dromaeo/sunspider-crypto-sha1.html: Added.
1364         * Dromaeo/sunspider-date-format-tofte.html: Added.
1365         * Dromaeo/sunspider-date-format-xparb.html: Added.
1366         * Dromaeo/sunspider-math-cordic.html: Added.
1367         * Dromaeo/sunspider-math-partial-sums.html: Added.
1368         * Dromaeo/sunspider-math-spectral-norm.html: Added.
1369         * Dromaeo/sunspider-regexp-dna.html: Added.
1370         * Dromaeo/sunspider-string-fasta.html: Added.
1371         * Dromaeo/sunspider-string-tagcloud.html: Added.
1372         * Dromaeo/sunspider-string-unpack-code.html: Added.
1373         * Dromaeo/sunspider-string-validate-input.html: Added.
1374         * Dromaeo/v8-crypto.html: Added.
1375         * Dromaeo/v8-deltablue.html: Added.
1376         * Dromaeo/v8-earley-boyer.html: Added.
1377         * Dromaeo/v8-raytrace.html: Added.
1378         * Dromaeo/v8-richards.html: Added.
1379         * Skipped:
1380
1381 2012-02-02  Sheriff Bot  <webkit.review.bot@gmail.com>
1382
1383         Unreviewed, rolling out r106543.
1384         http://trac.webkit.org/changeset/106543
1385         https://bugs.webkit.org/show_bug.cgi?id=77671
1386
1387         Made tests less stable (Requested by rniwa on #webkit).
1388
1389         * resources/init.html: Removed.
1390
1391 2012-02-02  Ryosuke Niwa  <rniwa@webkit.org>
1392
1393         [PerformanceTests] tests have dependencies
1394         https://bugs.webkit.org/show_bug.cgi?id=77506
1395
1396         Reviewed by Hajime Morita.
1397
1398         * resources/init.html: Added.
1399
1400 2012-02-01  Ryosuke Niwa  <rniwa@webkit.org>
1401
1402         Fix after r106386. The empty anchor element was generating an erroneous whitespace.
1403
1404         * Bindings/event-target-wrapper.html:
1405
1406 2012-02-01  Ryosuke Niwa  <rniwa@webkit.org>
1407
1408         Another fix after r106379.
1409
1410         * Parser/html5-full-render.html:
1411
1412 2012-01-31  Hajime Morrita  <morrita@chromium.org>
1413
1414         Import Dromaeo to WebKit repository.
1415         https://bugs.webkit.org/show_bug.cgi?id=77328
1416
1417         Reviewed by Ryosuke Niwa.
1418
1419         Imported a modified version of Dromaeo which is able to
1420         run on the DRT.
1421
1422         The imported version originally came from:
1423         https://github.com/omo/dromaeo/commit/c942a1452109cdd5f759b3c4aee8d68d490d44a2
1424
1425         * Dromaeo/resources/dromaeo/web/application.css: Added.
1426         * Dromaeo/resources/dromaeo/web/favicon.ico: Added.
1427         * Dromaeo/resources/dromaeo/web/favicon.png: Added.
1428         * Dromaeo/resources/dromaeo/web/htmlrunner.js: Added.
1429         * Dromaeo/resources/dromaeo/web/ie.css: Added.
1430         * Dromaeo/resources/dromaeo/web/images/bg.png: Added.
1431         * Dromaeo/resources/dromaeo/web/images/clouds.png: Added.
1432         * Dromaeo/resources/dromaeo/web/images/clouds2.png: Added.
1433         * Dromaeo/resources/dromaeo/web/images/comets.png: Added.
1434         * Dromaeo/resources/dromaeo/web/images/dino1.png: Added.
1435         * Dromaeo/resources/dromaeo/web/images/dino2.png: Added.
1436         * Dromaeo/resources/dromaeo/web/images/dino3.png: Added.
1437         * Dromaeo/resources/dromaeo/web/images/dino4.png: Added.
1438         * Dromaeo/resources/dromaeo/web/images/dino5.png: Added.
1439         * Dromaeo/resources/dromaeo/web/images/dino6.png: Added.
1440         * Dromaeo/resources/dromaeo/web/images/dino7.png: Added.
1441         * Dromaeo/resources/dromaeo/web/images/dino8.png: Added.
1442         * Dromaeo/resources/dromaeo/web/images/left.png: Added.
1443         * Dromaeo/resources/dromaeo/web/images/logo.png: Added.
1444         * Dromaeo/resources/dromaeo/web/images/logo2.png: Added.
1445         * Dromaeo/resources/dromaeo/web/images/logo3.png: Added.
1446         * Dromaeo/resources/dromaeo/web/images/right.png: Added.
1447         * Dromaeo/resources/dromaeo/web/images/top.png: Added.
1448         * Dromaeo/resources/dromaeo/web/images/water.png: Added.
1449         * Dromaeo/resources/dromaeo/web/index.html: Added.
1450         * Dromaeo/resources/dromaeo/web/jquery.js: Added.
1451         * Dromaeo/resources/dromaeo/web/lib/dojo.js: Added.
1452         * Dromaeo/resources/dromaeo/web/lib/jquery.js: Added.
1453         * Dromaeo/resources/dromaeo/web/lib/mootools.js: Added.
1454         * Dromaeo/resources/dromaeo/web/lib/prototype.js: Added.
1455         * Dromaeo/resources/dromaeo/web/pngfix.js: Added.
1456         * Dromaeo/resources/dromaeo/web/reset.css: Added.
1457         * Dromaeo/resources/dromaeo/web/test-head.html: Added.
1458         * Dromaeo/resources/dromaeo/web/test-head.js: Added.
1459         * Dromaeo/resources/dromaeo/web/test-tail.html: Added.
1460         * Dromaeo/resources/dromaeo/web/test-tail.js: Added.
1461         * Dromaeo/resources/dromaeo/web/tests/MANIFEST.json: Added.
1462         * Dromaeo/resources/dromaeo/web/tests/cssquery-dojo.html: Added.
1463         * Dromaeo/resources/dromaeo/web/tests/cssquery-jquery.html: Added.
1464         * Dromaeo/resources/dromaeo/web/tests/cssquery-mootools.html: Added.
1465         * Dromaeo/resources/dromaeo/web/tests/cssquery-prototype.html: Added.
1466         * Dromaeo/resources/dromaeo/web/tests/cssquery-yui.html: Added.
1467         * Dromaeo/resources/dromaeo/web/tests/dom-attr.html: Added.
1468         * Dromaeo/resources/dromaeo/web/tests/dom-modify.html: Added.
1469         * Dromaeo/resources/dromaeo/web/tests/dom-query.html: Added.
1470         * Dromaeo/resources/dromaeo/web/tests/dom-traverse.html: Added.
1471         * Dromaeo/resources/dromaeo/web/tests/dromaeo-3d-cube.html: Added.
1472         * Dromaeo/resources/dromaeo/web/tests/dromaeo-core-eval.html: Added.
1473         * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-array.html: Added.
1474         * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-regexp.html: Added.
1475         * Dromaeo/resources/dromaeo/web/tests/dromaeo-object-string.html: Added.
1476         * Dromaeo/resources/dromaeo/web/tests/dromaeo-string-base64.html: Added.
1477         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-jquery.html: Added.
1478         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-prototype.html: Added.
1479         * Dromaeo/resources/dromaeo/web/tests/jslib-event-jquery.html: Added.
1480         * Dromaeo/resources/dromaeo/web/tests/jslib-event-prototype.html: Added.
1481         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-jquery.html: Added.
1482         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-prototype.html: Added.
1483         * Dromaeo/resources/dromaeo/web/tests/jslib-style-jquery.html: Added.
1484         * Dromaeo/resources/dromaeo/web/tests/jslib-style-prototype.html: Added.
1485         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-jquery.html: Added.
1486         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-prototype.html: Added.
1487         * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-morph.html: Added.
1488         * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-raytrace.html: Added.
1489         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-binary-trees.html: Added.
1490         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-fannkuch.html: Added.
1491         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-nbody.html: Added.
1492         * Dromaeo/resources/dromaeo/web/tests/sunspider-access-nsieve.html: Added.
1493         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-3bit-bits-in-byte.html: Added.
1494         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bits-in-byte.html: Added.
1495         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bitwise-and.html: Added.
1496         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-nsieve-bits.html: Added.
1497         * Dromaeo/resources/dromaeo/web/tests/sunspider-controlflow-recursive.html: Added.
1498         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-aes.html: Added.
1499         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-md5.html: Added.
1500         * Dromaeo/resources/dromaeo/web/tests/sunspider-crypto-sha1.html: Added.
1501         * Dromaeo/resources/dromaeo/web/tests/sunspider-date-format-tofte.html: Added.
1502         * Dromaeo/resources/dromaeo/web/tests/sunspider-date-format-xparb.html: Added.
1503         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-cordic.html: Added.
1504         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-partial-sums.html: Added.
1505         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-spectral-norm.html: Added.
1506         * Dromaeo/resources/dromaeo/web/tests/sunspider-regexp-dna.html: Added.
1507         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-fasta.html: Added.
1508         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-tagcloud.html: Added.
1509         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-unpack-code.html: Added.
1510         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-validate-input.html: Added.
1511         * Dromaeo/resources/dromaeo/web/tests/v8-crypto.html: Added.
1512         * Dromaeo/resources/dromaeo/web/tests/v8-deltablue.html: Added.
1513         * Dromaeo/resources/dromaeo/web/tests/v8-earley-boyer.html: Added.
1514         * Dromaeo/resources/dromaeo/web/tests/v8-raytrace.html: Added.
1515         * Dromaeo/resources/dromaeo/web/tests/v8-richards.html: Added.
1516         * Dromaeo/resources/dromaeo/web/tests/72px.png: Added.
1517         * Dromaeo/resources/dromaeo/web/web-style.css: Added.
1518         * Dromaeo/resources/dromaeo/web/webrunner.js: Added.
1519         * Skipped: Unskip the dromaeo driver.
1520
1521 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
1522
1523         Fix Parser/html5-full-render.html after r106379.
1524
1525         * Parser/html5-full-render.html:
1526
1527 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
1528
1529         PerfTestRunner should automatically create pre#log
1530         https://bugs.webkit.org/show_bug.cgi?id=77469
1531
1532         Reviewed by Tony Chang.
1533
1534         Automatically generate <pre id="log"></pre> if there isn't one.
1535
1536         * Bindings/event-target-wrapper.html:
1537         * DOM/Accessors.html:
1538         * DOM/CloneNodes.html:
1539         * DOM/CreateNodes.html:
1540         * DOM/DOMDivWalk.html:
1541         * DOM/DOMTable.html:
1542         * DOM/DOMWalk.html:
1543         * DOM/Events.html:
1544         * DOM/GetElement.html:
1545         * DOM/GridSort.html:
1546         * DOM/Template.html:
1547         * Dromaeo/dom-query.html:
1548         * Dromaeo/resources/dromaeorunner.js:
1549         * Parser/html-parser.html:
1550         * Parser/html5-full-render.html:
1551         * Parser/simple-url.html:
1552         * Parser/tiny-innerHTML.html:
1553         * Parser/url-parser.html:
1554         * Parser/xml-parser.html:
1555         * resources/runner.js:
1556         (PerfTestRunner.log):
1557         (PerfTestRunner.printStatistics):
1558
1559 2012-01-31  Ryosuke Niwa  <rniwa@webkit.org>
1560
1561         runner.js in performance tests should define a class
1562         https://bugs.webkit.org/show_bug.cgi?id=77074
1563
1564         Reviewed by Eric Seidel.
1565
1566         Wrap all functions in runner.js by PerfTestRunner and update tests that runner.js accordingly.
1567         Also replace compute* functions in runner.js by more robust code from dom-perf.js.
1568
1569         * Bindings/event-target-wrapper.html:
1570         * DOM/DOMTable.html:
1571         * DOM/resources/dom-perf.js:
1572         (BenchmarkSuite.prototype.RunSingle):
1573         (runBenchmarkSuite):
1574         * Mutation/append-child-deep.html:
1575         * Mutation/append-child.html:
1576         * Mutation/inner-html.html:
1577         * Mutation/remove-child-deep.html:
1578         * Mutation/remove-child.html:
1579         * Parser/html-parser.html:
1580         * Parser/html5-full-render.html:
1581         * Parser/simple-url.html:
1582         * Parser/tiny-innerHTML.html:
1583         * Parser/url-parser.html:
1584         * Parser/xml-parser.html:
1585         * resources/runner.js:
1586         (PerfTestRunner.log):
1587         (PerfTestRunner.logInfo):
1588         (PerfTestRunner.loadFile):
1589         (PerfTestRunner.computeStatistics):
1590         (PerfTestRunner.logStatistics):
1591         (PerfTestRunner._runLoop.else):
1592         (PerfTestRunner._runLoop):
1593         (PerfTestRunner._runner):
1594
1595 2012-01-31  Hajime Morrita  <morrita@chromium.org>
1596
1597         [PerformanceTests] Add landing html for Dromaeo dom-query test
1598         https://bugs.webkit.org/show_bug.cgi?id=77329
1599
1600         Reviewed by Ryosuke Niwa.
1601
1602         Added a "landing html" which includes actual dromaemo page and
1603         send messages to interact with it. The landing html also dumps the
1604         score in run-perf-tests friendly format.
1605
1606         This test isn't enabled until Dromaemo itself is available for run-perf-tests.
1607         It will happen in a separate change.
1608
1609         * Dromaeo/dom-query.html: Added.
1610         * Dromaeo/resources/dromaeorunner.js: Added.
1611         * Skipped: Skipping this for now.
1612
1613 2012-01-30  Ryosuke Niwa  <rniwa@webkit.org>
1614
1615         Skip inspector tests since they have been timing out.
1616
1617         * Skipped:
1618
1619 2012-01-29  Ryosuke Niwa  <rniwa@webkit.org>
1620
1621         DOM/DOMDivWalk.html result is unreliable
1622         https://bugs.webkit.org/show_bug.cgi?id=77313
1623
1624         Reviewed by Adam Barth.
1625
1626         Trigger garbage collection manually between test runs to avoid GC
1627         to occur in the middle of runs.
1628
1629         * DOM/resources/dom-perf.js:
1630         (BenchmarkSuite.prototype.RunSingle):
1631         * resources/runner.js:
1632         (gc.else.gcRec):
1633         (gc):
1634         (runLoop):
1635
1636 2012-01-26  Ryosuke Niwa  <rniwa@webkit.org>
1637
1638         Import Chromium's dom_perf test
1639         https://bugs.webkit.org/show_bug.cgi?id=77175
1640
1641         Reviewed by Adam Barth.
1642
1643         Import dom_perf.
1644
1645         Note resources/dom/suites.js isn't used by any html file yet but it will be used by Chromium port
1646         once its perf bots start pulling test files from WebKit repository instead of Google's internal repository.
1647
1648         * DOM: Added.
1649         * DOM/Accessors.html: Added.
1650         * DOM/CloneNodes.html: Added.
1651         * DOM/CreateNodes.html: Added.
1652         * DOM/DOMDivWalk.html: Added.
1653         * DOM/DOMTable.html: Added.
1654         * DOM/DOMWalk.html: Added.
1655         * DOM/Events.html: Added.
1656         * DOM/GetElement.html: Added.
1657         * DOM/GridSort.html: Added.
1658         * DOM/Template.html: Added.
1659         * DOM/resources: Added.
1660         * DOM/resources/dom-perf.js: Added.
1661         * DOM/resources/dom-perf: Added.
1662         * DOM/resources/dom-perf/accessors.js: Added.
1663         * DOM/resources/dom-perf/clonenodes.js: Added.
1664         * DOM/resources/dom-perf/createnodes.js: Added.
1665         * DOM/resources/dom-perf/domdivwalk.js: Added.
1666         * DOM/resources/dom-perf/domtable.js: Added.
1667         * DOM/resources/dom-perf/domwalk.js: Added.
1668         * DOM/resources/dom-perf/events.js: Added.
1669         * DOM/resources/dom-perf/getelement.js: Added.
1670         * DOM/resources/dom-perf/gridsort.js: Added.
1671         * DOM/resources/dom-perf/suites.js: Added.
1672         * DOM/resources/dom-perf/template.js: Added.
1673         * resources/runner.js:
1674
1675 2012-01-25  Ryosuke Niwa  <rniwa@webkit.org>
1676
1677         html5-full-render.html fails due to a log
1678         https://bugs.webkit.org/show_bug.cgi?id=77046
1679
1680         Reviewed by Adam Barth.
1681
1682         Replace the call to log() in html5-full-render.html by a call to newly added logInfo(),
1683         which doesn't print anything inside DRT.
1684
1685         * Parser/html5-full-render.html:
1686         * resources/runner.js:
1687         (logInfo):
1688
1689 2012-01-19  Adam Barth  <abarth@webkit.org>
1690
1691         PerformanceTests's runner.js shouldn't be Parser-specific
1692         https://bugs.webkit.org/show_bug.cgi?id=76670
1693
1694         Reviewed by Ryosuke Niwa.
1695
1696         This runner script is used by a bunch of difference performance tests.
1697         It shouldn't be in the Parser directory anymore.
1698
1699         * Bindings/event-target-wrapper.html:
1700         * Mutation/append-child-deep.html:
1701         * Mutation/append-child.html:
1702         * Mutation/inner-html.html:
1703         * Mutation/remove-child-deep.html:
1704         * Mutation/remove-child.html:
1705         * Parser/html-parser.html:
1706         * Parser/html5-full-render.html:
1707         * Parser/resources/runner.js: Removed.
1708         * Parser/simple-url.html:
1709         * Parser/tiny-innerHTML.html:
1710         * Parser/url-parser.html:
1711         * Parser/xml-parser.html:
1712         * resources: Added.
1713         * resources/runner.js: Copied from PerformanceTests/Parser/resources/runner.js.
1714
1715 2012-01-19  Ryosuke Niwa  <rniwa@webkit.org>
1716
1717         Some perf tests time out when ran by run-perf-tests
1718         https://bugs.webkit.org/show_bug.cgi?id=76612
1719
1720         Reviewed by Dirk Pranke and Eric Seidel.
1721
1722         Replace all images in html5.html by geenbox.png to avoid accessing whatwg.org when
1723         running the parser tests. Also call dumpAsText, waitUntilDone, and notifyDone automatically
1724         inside runner.js to avoid having to call them in individual tests.
1725
1726         * Bindings/event-target-wrapper.html: Removed calls to layoutTestController methods since
1727         they are now called by runner.js automatically.
1728         * Parser/resources/greenbox.png: Copied from LayoutTests/fast/css/resources/greenbox.png.
1729         * Parser/resources/html5.html:
1730         * Parser/resources/runner.js:
1731         (runLoop):
1732
1733 2012-01-18  Ryosuke Niwa  <rniwa@webkit.org>
1734
1735         run-perf-tests should support Skipped list
1736         https://bugs.webkit.org/show_bug.cgi?id=76594
1737
1738         Reviewed by Adam Barth.
1739
1740         Add Skipped list to be used by run-perf-tests as it can only runs tests in
1741         Bindings, Parser, and inspector at the moment.
1742
1743         * Skipped: Added.
1744
1745 2012-01-12  Ilya Tikhonovsky  <loislo@chromium.org>
1746
1747         Web Inspector: performance: restore 'log 300 messages into console' test.
1748         https://bugs.webkit.org/show_bug.cgi?id=76170
1749
1750         It was removed in order of transition from layout tests to perf tests.
1751
1752         Reviewed by Yury Semikhatsky.
1753
1754         * inspector/console-300-lines.html: Added.
1755
1756 2012-01-12  Ilya Tikhonovsky  <loislo@chromium.org>
1757
1758         Web Inspector: performance tests: fix memory leak in first-open-resources test.
1759         https://bugs.webkit.org/show_bug.cgi?id=76049
1760
1761         first-open-resources doesn't reset resource panel properly after test run.
1762
1763         Reviewed by Yury Semikhatsky.
1764
1765         * inspector/first-open-resources.html:
1766
1767 2012-01-10  Ilya Tikhonovsky  <loislo@chromium.org>
1768
1769         Unreviewed. WebInspector: Remove unnecessary logging from the test.
1770
1771         * inspector/first-open-resources.html:
1772
1773 2012-01-10  Ilya Tikhonovsky  <loislo@chromium.org>
1774
1775         Unreviewed. Restore test that was removed during migration from LayoutTests folder.
1776
1777         * inspector/first-open-resources.html: Added.
1778
1779 2012-01-09  Ilya Tikhonovsky  <loislo@chromium.org>
1780
1781         Unreviewed test fix after r103683.
1782
1783         * inspector/first-open-scripts.html:
1784         * inspector/show-panel.html:
1785
1786 2012-01-03  Adam Barth  <abarth@webkit.org>
1787
1788         html-parser.html takes too long to run
1789         https://bugs.webkit.org/show_bug.cgi?id=75515
1790
1791         Reviewed by Eric Seidel.
1792
1793         In working on runner.js, we introduced a factor of 10 increase to the
1794         running time of this benchmark.  This patch dials down the number of
1795         iterations to something more user-friendly.
1796
1797         * Parser/html-parser.html:
1798
1799 2011-12-18  Ilya Tikhonovsky  <loislo@chromium.org>
1800
1801         Web Inspector: move heap data stats to separate tab.
1802         https://bugs.webkit.org/show_bug.cgi?id=74704
1803
1804         Reviewed by Pavel Feldman.
1805
1806         * inspector/performance-test.js:
1807         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._dump):
1808         (initialize_TimeTracker.InspectorTest.runPerformanceTest):
1809
1810 2011-12-01  Ilya Tikhonovsky  <loislo@chromium.org>
1811
1812         Web Inspector: chromium: move and adapt Inspector's performance tests for running with run-inspector-perf-tests.py.
1813         https://bugs.webkit.org/show_bug.cgi?id=72260
1814
1815         Reviewed by Pavel Feldman.
1816
1817         * inspector/first-open-elements.html: Renamed from LayoutTests/inspector/performance/resources/first-open-elements.html.
1818         * inspector/first-open-scripts.html: Renamed from LayoutTests/inspector/performance/resources/first-open-scripts.html.
1819         * inspector/inspector-startup-time.html: Renamed from LayoutTests/inspector/performance/resources/inspector-startup-time.html.
1820         * inspector/network-append-30-requests.html: Renamed from LayoutTests/inspector/performance/resources/network-append-30-requests.html.
1821         * inspector/performance-test.js: Renamed from LayoutTests/inspector/performance/resources/performance-test.js.
1822         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer):
1823         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.start):
1824         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.finish):
1825         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._getJSHeapSize):
1826         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.done):
1827         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._runTest):
1828         (initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._dump):
1829         (initialize_TimeTracker.InspectorTest.runPerformanceTest):
1830         (initialize_TimeTracker.InspectorTest.mark):
1831         * inspector/show-panel.html: Renamed from LayoutTests/inspector/performance/resources/show-panel.html.
1832
1833 2011-11-09  Adam Klein  <adamk@chromium.org>
1834
1835         [MutationObservers] Microbenchmarks for appendChild, removeChild, and innerHTML
1836         https://bugs.webkit.org/show_bug.cgi?id=71939
1837
1838         Reviewed by Ojan Vafai.
1839
1840         These benchmarks time both the DOM mutations themselves and the time taken
1841         to call the MutationCallback. This measurement is achieved by
1842         executing the code entirely within the MutationCallback itself.
1843
1844         * Mutation/append-child-deep.html: Added. Covers appendChild in a 200-node-deep tree with subtree observation.
1845         * Mutation/append-child.html: Added. Covers appendChild in a flat tree.
1846         * Mutation/inner-html.html: Added. Covers innerHTML adding and removing many nodes at a time.
1847         * Mutation/remove-child-deep.html: Added. Covers removeChild in a 200-node-deep tree with subtree observation.
1848         * Mutation/remove-child.html: Added. Covers removeChild in a flat tree.
1849
1850 2011-10-25  Adam Barth  <abarth@webkit.org>
1851
1852         EventTargetFactory.in is not sorted
1853         https://bugs.webkit.org/show_bug.cgi?id=70855
1854
1855         Reviewed by Eric Seidel.
1856
1857         Add a microbenchmark for wrapping event target.
1858
1859         * Bindings: Added.
1860         * Bindings/event-target-wrapper.html: Added.
1861         * Parser/resources/runner.js:
1862         (runLoop):
1863             - Let the user of the harness get a callback when the test is done.
1864
1865 2011-10-04  Eric Seidel  <eric@webkit.org>
1866
1867         Update html5-full-render.html to load the HTML5 spec incrementally, closer to how the browser would
1868         https://bugs.webkit.org/show_bug.cgi?id=69374
1869
1870         Unreviewed.
1871
1872         Per https://bugs.webkit.org/show_bug.cgi?id=69374#c7
1873         updating the chunksize to be a bit smaller now that the total
1874         size of the html5 spec is smaller than when I wrote the test.
1875
1876         This should increase the prevalence of style resolution in the
1877         sample time, which more closely matches instrument samples
1878         taken when loading the full page in Safari.
1879
1880         * Parser/html5-full-render.html:
1881
1882 2011-10-04  Eric Seidel  <eric@webkit.org>
1883
1884         Update html5-full-render.html to load the HTML5 spec incrementally, closer to how the browser would
1885         https://bugs.webkit.org/show_bug.cgi?id=69374
1886
1887         Reviewed by James Robinson.
1888
1889         This should finally be able to provide us with a repeatable metric
1890         for how fast we're currently able to load the HTML5 spec.
1891         There are a variety of interesting functions which show up in this
1892         sample, including of course style resolution.
1893
1894         * Parser/html5-full-render.html:
1895
1896 2011-10-04  Eric Seidel  <eric@webkit.org>
1897
1898         Update our copy of the HTML5 spec used for performance testing to match the latest version
1899         https://bugs.webkit.org/show_bug.cgi?id=69364
1900
1901         Unreviewed.  The patch is too large to post, so landing this unreviewed. :(
1902
1903         The copy of the html5 spec we were using for testing was over a year old
1904         and didn't have any of the subresources with it (we were only using it
1905         as an HTML parsing benchmark).  I'm about to use it for testing
1906         the full load/render time of the benchmark, so I've updated to the latest
1907         version of the spec (now 8mb instead of 5mb) and inlined two of the
1908         CSS files.  (Inlining the CSS was necessary to make my testing consistent
1909         as there seems to be a race with some timer fired after CSS load.)
1910
1911         Increasing from 5mb to 8mb showed a similar 30% slowdown in our parser
1912         benchmarks as expected.
1913
1914         * Parser/resources/html5.html:
1915
1916 2011-10-04  Eric Seidel  <eric@webkit.org>
1917
1918         Add loopsPerRun option to Parser performance test runner
1919         https://bugs.webkit.org/show_bug.cgi?id=69363
1920
1921         Reviewed by Antti Koivisto.
1922
1923         Add loopsPerRun option and abstract out runLoop function (to make the UI more responsive).
1924         No change in behavior in any of the tests.
1925
1926         * Parser/resources/runner.js:
1927         (runLoop):
1928         (run):
1929         (start):
1930
1931 2011-10-03  Eric Seidel  <eric@webkit.org>
1932
1933         Add a microbenchmark for a full-page render of the HTML5 spec
1934         https://bugs.webkit.org/show_bug.cgi?id=69285
1935
1936         Reviewed by Adam Barth.
1937
1938         This was designed to be a test for https://bugs.webkit.org/show_bug.cgi?id=68944
1939         But it seems that by far our dominating cost for the HTML5 benchmark is
1940         time spent laying out lines (which isn't actually that surprising).
1941
1942         I'm adding the performance test for posterity.
1943
1944         * Parser/html-parser.html:
1945          - Removed use of "about:blank" which abarth says is a no-op.  Made comment more accurate.
1946         * Parser/html5-full-render.html: Copied from PerformanceTests/Parser/html-parser.html.
1947
1948 2011-10-03  Eric Seidel  <eric@webkit.org>
1949
1950         PerformanceTests/Parser/html-parser is only testing parsing of the head element
1951         https://bugs.webkit.org/show_bug.cgi?id=69283
1952
1953         Reviewed by Adam Barth.
1954
1955         While investigating https://bugs.webkit.org/show_bug.cgi?id=68944
1956         I found that the html-parser benchmark was only parsing up to the
1957         first script tag per loop!  We've fixed this by adding the sandbox
1958         tag which will deny all external loads and allow the parser to
1959         synchronously continue parsing the entire document to completion
1960         (as we had expected it was doing).
1961
1962         This changes the profile somewhat.  Line number counting is much
1963         hotter, since we're actually accounting for the parse of the entire
1964         document in our sample.
1965
1966         Total sample time only about doubles, from 1800ms to 3800ms on my machine
1967         which is less than I would have expected.
1968
1969         * Parser/html-parser.html:
1970
1971 2011-08-09  Alexandru Chiculita  <achicu@adobe.com>
1972
1973         Fixing 65868 REGRESSION(r92610) caused by 65668 - Optimize floating elements lookup
1974         https://bugs.webkit.org/show_bug.cgi?id=65871
1975
1976         Reviewed by Dave Hyatt.
1977
1978         * Layout/floats.html: Added the nested divs, so that we can test the propagation impact of the floats tree.
1979
1980 2011-08-08  Sheriff Bot  <webkit.review.bot@gmail.com>
1981
1982         Unreviewed, rolling out r92610.
1983         http://trac.webkit.org/changeset/92610
1984         https://bugs.webkit.org/show_bug.cgi?id=65868
1985
1986         Caused assertion failures when running fast/multicol tests
1987         (Requested by andersca on #webkit).
1988
1989         * Layout/floats.html:
1990
1991 2011-08-08  Alexandru Chiculita  <achicu@adobe.com>
1992
1993         Optimize floating elements lookup
1994         https://bugs.webkit.org/show_bug.cgi?id=65668
1995
1996         Reviewed by David Hyatt.
1997
1998         * Layout/floats.html: Added the nested divs, so that we can test the propagation impact of the floats tree.
1999
2000 2011-08-04  Alexandru Chiculita  <achicu@adobe.com>
2001
2002         Add a performance test for floating elements layout algorithm
2003         https://bugs.webkit.org/show_bug.cgi?id=65741
2004
2005         The test creating lots of small floats and randomly changes
2006         the width of one element at a time. It measures how often it can do that.
2007
2008         Reviewed by Adam Barth.
2009
2010         * Layout/floats.html: Added.
2011
2012 2011-05-30  Daniel Bates  <dbates@webkit.org>
2013
2014         Reviewed by Adam Barth.
2015
2016         Rename XSSFilter to XSSAuditor
2017         https://bugs.webkit.org/show_bug.cgi?id=61718
2018
2019         Currently we use the names XSSFilter and XSSAuditor throughout the project.
2020         Instead, we should choose one name for consistency.
2021
2022         No functionality was changed. So, no new tests.
2023
2024         * XSSAuditor: Copied from PerformanceTests/XSSFilter.
2025         * XSSFilter: Removed.
2026         * XSSFilter/large-post-many-events.html: Removed.
2027         * XSSFilter/large-post-many-inline-scripts-and-events.html: Removed.
2028         * XSSFilter/resources: Removed.
2029         * XSSFilter/resources/target-for-large-post-many-inline-scripts-and-events.html: Removed.
2030
2031 2011-03-25  Leo Yang  <leo.yang@torchmobile.com.cn>
2032
2033         Reviewed by Dirk Schulze.
2034
2035         SVG <use> element performance improvement
2036         https://bugs.webkit.org/show_bug.cgi?id=57077
2037
2038         Add a manual test case which is from
2039         http://upload.wikimedia.org/wikipedia/commons/4/4e/Sierpinski_carpet_6.svg
2040         for svg <use> element performance test.
2041
2042         * PageLoad/svg/files/Sierpinski_carpet_6.svg: Added.
2043         * PageLoad/svg/svg.pltsuite:
2044
2045 2011-02-05  Eric Seidel  <eric@webkit.org>
2046
2047         Reviewed by Adam Barth.
2048
2049         Add performance tests for URL parsing
2050         https://bugs.webkit.org/show_bug.cgi?id=53845
2051
2052         The final-url-en URL corpus is from:
2053         http://corpus.leeds.ac.uk/internet.html
2054
2055         There are also other language corpuses which we may want to use in the future.
2056
2057         The usage instructions were as follows:
2058         "URL lists and other resources: you can freely use them in your research
2059         provided that you supply a link to this website: http://corpus.leeds.ac.uk/."
2060         Done.
2061
2062         * Parser/simple-url.html: Added.
2063          On my machine:
2064          Firefox: 255ms
2065          TOT WebKit: 378ms
2066          Chrome: 286ms
2067          Opera: 2830ms (no, that is not a typo)
2068         * Parser/url-parser.html: Added.
2069          Firefox: 381ms
2070          TOT WebKit: 216ms
2071          Chrome: 131ms
2072          Opera: 1383ms (again, not a typo)
2073         * Parser/resources/final-url-en: Added.
2074
2075 2011-02-03  Adam Barth  <abarth@webkit.org>
2076
2077         Reviewed by Daniel Bates.
2078
2079         Add another XSSFilter PerformanceTest
2080         https://bugs.webkit.org/show_bug.cgi?id=53750
2081
2082         This PerformanceTest tests the case that was slow in
2083         https://bugs.webkit.org/show_bug.cgi?id=49845
2084
2085         * XSSFilter/large-post-many-inline-scripts-and-events.html: Added.
2086         * XSSFilter/resources: Added.
2087         * XSSFilter/resources/target-for-large-post-many-inline-scripts-and-events.html: Added.
2088
2089 2011-02-03  Adam Barth  <abarth@webkit.org>
2090
2091         Reviewed by Eric Seidel.
2092
2093         Add PerformanceTest for XSSFilter
2094         https://bugs.webkit.org/show_bug.cgi?id=53741
2095
2096         This performance tests covers the case of a large POST data and many
2097         small event handlers.
2098
2099         * XSSFilter: Added.
2100         * XSSFilter/large-post-many-events.html: Added.
2101
2102 2011-02-02  Adam Barth  <abarth@webkit.org>
2103
2104         Rubber-stamped by Eric Seidel.
2105
2106         Merge PerformanceTests/Parser/ChangeLog and
2107         PerformanceTests/PageLoad/ChangeLog into PerformanceTests/ChangeLog.
2108
2109         It's silly to have ChangeLogs for each of these directories separately.
2110         I've left SunSpider with its own ChangeLog because it's more of an
2111         independent entity.
2112
2113         * ChangeLog: Added.
2114
2115 2011-02-02  Eric Seidel  <eric@webkit.org>
2116
2117         Unreviewed.  Just fixing an exception seen in Firefox.
2118
2119         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
2120         https://bugs.webkit.org/show_bug.cgi?id=48719
2121
2122         Make the benchmarks work in Firefox/Opera.
2123
2124         * resources/runner.js:
2125         (log):
2126
2127 2011-01-27  Eric Seidel  <eric@webkit.org>
2128
2129         Reviewed by Darin Adler.
2130
2131         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
2132         https://bugs.webkit.org/show_bug.cgi?id=48719
2133
2134         It's unclear exactly what the Peacekeeper benchmark is testing,
2135         because I haven't found a way to run it myself.
2136
2137         However, I constructed a benchmark which shows at least one possible slow point.
2138         The HTML5 spec talks about creating a new document for every time we use
2139         the fragment parsing algorithm.  Document() it turns out, it a huge bloated
2140         mess, and the constructor and destructor do a huge amount of work.
2141
2142         * benchmarks/parser/tiny-innerHTML.html: Added.
2143
2144 2011-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2145
2146         Unreviewed, rolling out r77050.
2147         http://trac.webkit.org/changeset/77050
2148         https://bugs.webkit.org/show_bug.cgi?id=53371
2149
2150         Caused a crash in Chromium's test_shell_tests (Requested by
2151         rniwa on #webkit).
2152
2153         * resources/performance-test.js: Removed.
2154         * tiny-innerHTML.html: Removed.
2155
2156 2011-01-28  Eric Seidel  <eric@webkit.org>
2157
2158         Reviewed by Darin Adler.
2159
2160         HTML5 TreeBuilder regressed a Peacekeeper DOM test by 40%
2161         https://bugs.webkit.org/show_bug.cgi?id=48719
2162
2163         It's unclear exactly what the Peacekeeper benchmark is testing,
2164         because I haven't found a way to run it myself.
2165
2166         However, I constructed a benchmark which shows at least one possible slow point.
2167         The HTML5 spec talks about creating a new document for every time we use
2168         the fragment parsing algorithm.  Document() it turns out, it a huge bloated
2169         mess, and the constructor and destructor do a huge amount of work.
2170         To avoid constructing (or destructing) documents for each innerHTML call,
2171         this patch adds a shared dummy document used by all innerHTML calls.
2172
2173         * benchmarks/parser/tiny-innerHTML.html: Added.
2174
2175 2010-12-31  Adam Barth  <abarth@webkit.org>
2176
2177         Rubber-stamped by Eric Seidel.
2178
2179         Move HTML and XML parser benchmarks into PerformanceTests/Parser
2180         https://bugs.webkit.org/show_bug.cgi?id=51772
2181
2182         Add a ChangeLog for tracking changes to the Parser PerformanceTest.
2183
2184         * ChangeLog: Added.
2185
2186 2010-12-31  Adam Barth  <abarth@webkit.org>
2187
2188         Rubber-stamped by Eric Seidel.
2189
2190         Move PageLoadTests to PerformanceTests/PageLoad
2191         https://bugs.webkit.org/show_bug.cgi?id=51771
2192
2193         Update URLs to point to the new directory name.
2194
2195         * svg/svg.pltsuite:
2196
2197 2006-12-26  Eric Seidel  <eric@webkit.org>
2198
2199         Reviewed by olliej.
2200
2201         * svg/svg.pltsuite: re-enable word-iso.svg after fixing http://bugs.webkit.org/show_bug.cgi?id=11987
2202
2203 2006-12-26  Eric Seidel  <eric@webkit.org>
2204
2205         Reviewed by bradee-oh.
2206         
2207         Add new PageLoadTests directory (this one)
2208         Add LICENSES file to explain where each SVG came from.
2209
2210         * ChangeLog: Added.
2211         * svg/LICENSES: Added.
2212         * svg/files/33041-Samurai.svg: Added.
2213         * svg/files/42470-flower_from_my_garden_v2.svg: Added.
2214         * svg/files/Harvey_Rayner.svg: Added.
2215         * svg/files/az-lizard_benji_park_01.svg: Added.
2216         * svg/files/bamboo_01.svg: Added.
2217         * svg/files/cacuts_01.svg: Added.
2218         * svg/files/cowboy.svg: Added.
2219         * svg/files/crawfish2_ganson.svg: Added.
2220         * svg/files/deb9frac1.svg: Added.
2221         * svg/files/food_leif_lodahl_01.svg: Added.
2222         * svg/files/france.svg: Added.
2223         * svg/files/francobollo_gnome_ezechi_02.svg: Added.
2224         * svg/files/gearflowers.svg: Added.
2225         * svg/files/hereGear4.svg: Added.
2226         * svg/files/mtsthelens.svg: Added.
2227         * svg/files/mtsthelens0.jpg: Added.
2228         * svg/files/world-iso.svg: Added.
2229         * svg/files/worldcup.svg: Added.
2230         * svg/svg.pltsuite: Added.
2231