deba5a8f0ebbed6b0104cdab0223244a4aa42031
[WebKit-https.git] / PerformanceTests / ChangeLog
1 2015-11-01  Said Abou-Hallawa  <sabouhallawa@apple,com>
2
3         Make the size of the benchmark canvas adaptive to the screen size and screen resolution
4         https://bugs.webkit.org/show_bug.cgi?id=150530
5
6         Reviewed by Darin Adler.
7         
8         We want to set the size of the benchmark stage dynamically such that it
9         depends on the screen resolution and the device scale factor. This patch 
10         does more than that because the home page css was not done properly. To
11         use the flex box layout, the animometer.css has to be rewritten almost from
12         scratch. The suites tree has to be rewritten also because it was not collapsing
13         and with the flex box layout it was going outside of the window area. The 
14         options handling and the local storage handling had to be rewritten to
15         allow more flexibility with this patch and the future patches. The code
16         in animometer.js was reorganized into objects to allow distributing the code
17         nicely among separate entities.
18
19         * Animometer/resources/extensions.js:
20         (Point.elementClientSize): Returns the client size of an HTMLElement as a Point object.
21         (Insets.prototype.get width): Follow the function opening brace style guidelines.
22         (Insets.prototype.get height):
23         (Insets.prototype.get size): Returns the size of an Insets as a Point object.
24         
25         (window.DocumentExtension): Provides document helper functions. It should be assailable from the runner and the tests.
26         (window.DocumentExtension.createElement): Creates an HTMLElement given its name, attributes and parentElement. 
27         (window.DocumentExtension.createSvgElement): Creates an SVGElement given its name, attributes and parentElement (moved from utilities.js). 
28         (window.DocumentExtension.insertCssRuleAfter): Inserts a CSS rule after an exiting rule given its text.
29         
30         (ResultsTable.prototype._showHeader): Use DocumentExtension functions.
31         (ResultsTable.prototype._showGraph): Use DocumentExtension functions and create a real button for "Graph..." option.
32         (ResultsTable.prototype._showJSON): Use DocumentExtension functions and create a real button for "JSON..." option.
33         (Options): Deleted.
34         
35         * Animometer/runner/animometer.html: Restructure the page to use the flex box layout.
36         
37         * Animometer/runner/resources/animometer.css:
38         (html,body):
39         (button):
40         
41         (button.large-button):The large button appears in the animometer.html.
42         (button.large-button:active):
43         (button.large-button:disabled):
44         
45         (button.small-button): The small button appears in the results table.
46         (button.small-button:active):
47         
48         (.tree): The tree class is used to list the suites and their tests.
49         (.tree .expand-button): This button expands a tree element.
50         (.tree .expand-button ~ ul): Hide the children (<ul>...</ul>) of a parent node by default.
51         (.tree .expand-button:checked ~ ul): Show the children of a parent node only when checked.
52         (.tree ul): Hide the list bullets.
53         (.tree li): Indent every node in the tree relative to its parent.
54         (.tree ul li): Indent all the non top level nodes only (the tests nodes in our case).
55         (.tree > li:last-child): Do not indent the bottom of the last child node.
56         (.tree-label): Style for all the labels in the tree.
57         (label.tree-label): Style for the labels in the top level only (the suites nodes in our case).
58         (label.tree-label:before): Style the unchecked case of the expand-button.
59         (:checked ~ label.tree-label:before): Style the checked case of the expand-button.
60         
61         (table.results-table): The results table appears while running the test and at the end.
62         (.results-table td):
63         (.results-table th):
64         
65         (div.results-json): The JSON div appears per test or for the whole run.
66         
67         (main): This is the flex box container.
68         
69         (section): A section is displayed exclusively inside the <main>. It is hidden by default.
70         (section.selected): When it is selected, its layout is flex layout.
71         (section > footer): The header or the footer of a section should not take more than 15% of the container.
72         
73         (section#home): The home section has <suites> and <options> parts to be laid out in the middle.
74         (section#home > options): 
75         (section#home > suites): The <suites> should not take more than 40% of the width.
76         (section#home > options > label): The benchmark title.
77         (section#home > header > h2): The benchmark title.
78         (section#home > options > label > input[type="number"]): Sets the width of the option edit control.
79         
80         (section#running): The running section contain the runner <iframe> which takes the whole area of the <main>.
81         (section#running > #running-test): This is the <iframe> container.
82         (section#running > #running-test > iframe): The <iframe> is created by the runner for each test.
83         (section#running > #progress): This is the progress bar.
84         (section#running > #progress > #progress-completed): This is another element which grows while the runner is progressing.
85         (section#running > #record): This the container of the record results table which is shown while running a test.
86         
87         (section#results):
88         (section#json):
89         (section#test-json):
90         (section#test-graph): All these sections have the same layout. A <data> element is laid out between <header> and <footer>.
91
92         (section#results > data):
93         (section#json > data):
94         (section#test-json > data):
95         (section#test-graph > data): The <data> element should take 70% of the <section>.
96         
97         (section#test-graph > data > svg):
98         (.axis line):
99         (.left-samples): These styles are for the d3 graph.
100         
101         (section#test-json > data): This is the style of the JSON <data> element.
102         
103         (iframe): Deleted.
104         (label, p): Deleted.
105         (section > p): Deleted.
106         (section#home > p): Deleted.
107         (section#home > p:first-child): Deleted.
108         (#testContainer): Deleted.
109         (section#running #progress-completed): Deleted.
110         (section#results > table): Deleted.
111         (section#results > table td, th): Deleted.
112         (section#results > table tr.alt, td): Deleted.
113         (section#results > table th): Deleted.
114         (section#json > textarea): Deleted.
115         (.options): Deleted.
116         (.options p): Deleted.
117         (#suites ul): Deleted.
118         (#suites ul ul): Deleted.
119         (#suites ul ul input, #suites ul ul label): Deleted.
120         (#suites.showTests ul ul): Deleted.
121         (.column): Deleted.
122         (input[type="number"]): Deleted.
123         (.buttons): Deleted.
124         (.small-button): Deleted.
125         (#graphContainer): Deleted.
126         (.right-samples): Deleted.
127         (.sample-time): Deleted.
128         (.left-mean): Deleted.
129         (.right-mean): Deleted.
130         
131         * Animometer/runner/resources/animometer.js:
132         (window.benchmarkRunnerClient.initialize): Initialize the client object with the options and the suites.
133         (window.benchmarkRunnerClient.willStartFirstIteration): Use new css selectors for results and the record table.
134         (window.benchmarkRunnerClient.didFinishLastIteration): Move the code which sets the JSON text to sectionsManager.showJSON().
135         
136         (window.sectionsManager): Responsible of managing the <section>s elements inside animometer.html.
137         (window.sectionsManager._sectionHeaderH1Element): Return the <h1> inside the <header> of a given section.
138         (window.sectionsManager._sectionDataDivElement): Return the <div> inside the <data> of a given section.
139         (window.sectionsManager.showScore): Show the score of the last benchmark run.
140         (window.sectionsManager.showTestName): Show the test name for detailed results <section>.
141         (window.sectionsManager.showJSON): Shows the JSON text of the last benchmark or for a specific test.
142         (window.sectionsManager.showSection): Shows a specific <section> in the <main> container.
143         (window.sectionsManager.setupSectionStyle): Sets css attributes for all the <section>s.
144         (window.sectionsManager.setupRunningSectionStyle): Sets the css attributes for the running <section> only.
145         
146         (window.optionsManager): Responsible of managing the user options and streaming them to/form the localStorage.
147         (window.optionsManager._optionsElements): Returns the children <input> elements of the <options>.
148         (window.optionsManager.updateUIFromLocalStorage): Restore the values of the <options> UI elements from the local storage.
149         (window.optionsManager.updateLocalStorageFromUI): Saves the values of the <options> UI elements to the local storage.
150         
151         (window.suitesManager): Responsible of managing the user suites and streaming them to/form the localStorage.
152         (window.suitesManager._treeElement): Returns the suites tree container element.
153         (window.suitesManager._suitesElements): Returns a list of the suites elements.
154         (window.suitesManager._checkboxElement): Returns the checkbox element of a given suite.
155         (window.suitesManager._localStorageNameForTest): Generates a string for the tuple <suite, test> to be saved in the localStorage.
156         (window.suitesManager._updateSuiteCheckboxState): Updates the state of a suite checkbox from the state of its tests' checkboxes.
157         (window.suitesManager._updateStartButtonState): Updates the state of the start button from the state of the suites' checkboxes.
158         (window.suitesManager._onChangeSuiteCheckbox): Called when a suite checkbox is clicked.
159         (window.suitesManager._onChangeTestCheckbox): Called when a test checkbox is clicked.
160         (window.suitesManager._createSuiteElement): Creates suite node in the suites tree.
161         (window.suitesManager._createTestElement): Creates test node in the suites tree.
162         (window.suitesManager.createElements): Creates the suites tree dynamically from the array Suites.
163         (window.suitesManager.updateUIFromLocalStorage): Restore the values of the <suites> UI elements from the local storage.
164         (window.suitesManager.updateLocalStorageFromUI): aves the values of the <suites> UI elements to the local storage.
165         
166         (window.benchmarkController): This is the UI controller of the animometer.html page.
167         (window.benchmarkController.initialize): Called when the animometer.html page is loaded.
168         (window.benchmarkController._runBenchmark): Starts a benchmark run.
169         (window.benchmarkController.startTest): Called when the "Start Test" button is clicked.
170         (window.benchmarkController.showResults): Called at the end of the test to show the final results.
171         (window.benchmarkController.showJson): Called from the results page to show the JSON of the last benchmark run.
172         (window.benchmarkController.showTestGraph): Called from the results the table to show a graph for the samples of a specific test.
173         (window.benchmarkController.showTestJSON): Called from the results the table to show a JSON for the samples of a specific test.
174         
175         (showSection): Deleted.
176         (startTest): Deleted.
177         (showResults): Deleted.
178         (showJson): Deleted.
179         (showTestGraph): Deleted.
180         (showTestJSON): Deleted.
181         (initialize.toggleTestsCheckbox.onchange): Deleted.
182         (initialize): Deleted.
183         (updateSuiteSelection): Deleted.
184         (updateTestSelection): Deleted.
185         (updateSuiteCheckbox): Deleted.
186         (localStorageNameForTest): Deleted.
187         (populateSettings.): Deleted.
188         (populateSettings): Deleted.
189         
190         * Animometer/runner/resources/benchmark-runner.js:
191         (BenchmarkRunner): Pass the frameContainer element to the BenchmarkRunner.
192         (BenchmarkRunner.prototype._appendFrame): Remove unused parameter unwanted styling code.
193         (BenchmarkRunner.prototype.runMultipleIterations):  Use the this._client.iterationCount instead of passing it as a parameter also.
194
195         * Animometer/runner/resources/graph.js:
196         (graph): Calculate the size of the chart from the container element.
197         
198         * Animometer/tests/bouncing-particles/resources/bouncing-svg-images.js:
199         (BouncingSvgImage):
200         * Animometer/tests/bouncing-particles/resources/bouncing-svg-particles.js:
201         (BouncingSvgParticlesStage.prototype._createDefs):
202         (BouncingSvgParticlesStage.prototype._createClipStar):        
203         * Animometer/tests/bouncing-particles/resources/bouncing-svg-shapes.js:
204         (BouncingSvgShape.prototype._createShape):
205         (BouncingSvgShapesStage.prototype.createGradient):
206         Call DocumentExtension.createSvgElement() instead of calling Utilities.createSvgElement().
207         
208         * Animometer/tests/resources/main.js:
209         (Animator.prototype.animate):
210         (Benchmark):
211         (Benchmark.prototype.update):
212         * Animometer/tests/resources/stage.js:
213         (StageBenchmark.prototype.showResults):
214         Rename the options to match the <input> ids in animometer.html.
215         
216         * Animometer/tests/resources/utilities.js:
217         (window.Utilities.createSvgElement): Deleted.
218         
219         * Animometer/tests/text/layering-text.html:
220         * Animometer/tests/text/resources/layering-text.js:
221         (LayeringTextStage):
222         (LayeringTextStage.prototype._setFontSize): Sets the size of the text dynamically such that they all fit in one stage.
223
224 2015-10-29  Simon Fraser  <simon.fraser@apple.com>
225
226         Animometer computes frame rate incorrectly
227         https://bugs.webkit.org/show_bug.cgi?id=150698
228
229         Reviewed by Tim Horton.
230         
231         The existing code incremented this._frameCount after checking against this._dropFrameCount.
232         This has the effect of setting this._measureTimeOffset one frame too late, so
233         we were measuring only two frames, not three, and thus computing an incorrect fps.
234
235         * Animometer/tests/resources/main.js:
236         (Animator.prototype.animate):
237
238 2015-10-27  Jon Lee  <jonlee@apple.com>
239
240         Add an option to make the graphics benchmark runs a specific test
241         https://bugs.webkit.org/show_bug.cgi?id=150528
242         rdar://problem/23246614
243
244         Reviewed by Zalan Bujtas.
245
246         Add a checkbox that lets the user list all of the available tests, and select
247         the ones to run repeatedly. The test checkboxes will update the state of the suite
248         checkbox. The selected tests are stored in localStorage to make it easy to do
249         repeated runs.
250
251         * Animometer/runner/animometer.html: Add a checkbox to show individual tests.
252         Update other markup.
253         * Animometer/runner/resources/animometer.css: Make the settings area a little wider
254         to accommodate the longer names of the tests
255         * Animometer/runner/resources/animometer.js:
256         (startBenchmark): Change the way that the suites are fed into the benchmark
257         runner. Go through each of the suites and their tests, and create a new Suite
258         with just the enabled tests. While enumerating store the enabled tests into
259         localStorage.
260         (initialize): Initialization routine (taking over populateSettings). When the
261         checkbox for showing tests is toggled, add or remove a class on #suites to show
262         the individual tests.
263         (updateSuiteSelection): Called whenever the user toggles the checkbox for a suite.
264         Either select all or none of the tests.
265         (updateTestSelection): Called whenever the user toggles the checkbox for a test.
266         (updateSuiteCheckbox): Update the state of the test's suite's checkbox to
267         indeterminate if there is at least one enabled test, unchecked if none are selected,
268         and checked if all are selected.
269         (localStorageNameForTest): Helper function to get the name of the test to use as
270         a key to localStorage.
271         (populateSettings): Add the tests for each suite into an inner list.
272
273 2015-10-26  Said Abou-Hallawa  <sabouhallawa@apple.com>
274
275         Add an option to output the results of the graphics benchmark in JSON format
276         https://bugs.webkit.org/show_bug.cgi?id=150484
277         <rdar://problem/23243721>
278
279         Reviewed by Darin Adler.
280
281         * Animometer/resources/extensions.js:
282         (ResultsDashboard): A new class to hold the iterations results.
283         (ResultsDashboard.prototype.push): Appends an iteration results;
284         (ResultsDashboard.prototype.toJSON): Converts the iterations results to JSON format.
285
286         (RecordTable.prototype.clear): Clears the results table.
287         (RecordTable.prototype._showTitles): Shows the header titles and appends the sub-titles to a queue.
288         (RecordTable.prototype._showHeader): Shows the table header titles.
289         (RecordTable.prototype._showEmpty): Shows an empty table cell.
290         (RecordTable.prototype._showValue): Shows a number value in the results table.
291         (RecordTable.prototype._showSamples): Shows a button for the sampled data graph.
292         (RecordTable.prototype._showTest): Shows the results of a single test.
293         (RecordTable.prototype._showSuite): Shows the results of a single suite.
294         (RecordTable.prototype.showRecord): Shows a single iteration for a single test.
295         (RecordTable.prototype.showIterations): Shows the results of all the suites of the iterations. 
296         
297         (ResultsTable): RecordTable was renamed to ResultsTable.
298         (ResultsTable.prototype.clear): Clears the table element.
299         (ResultsTable.prototype._showHeaderRow): Shows a row in the results table header.
300         (ResultsTable.prototype._showHeader): Shows the results table header.
301         (ResultsTable.prototype._showEmpty): Shows an empty table cell.
302         (ResultsTable.prototype._showText): Shows a string in a new table cell.
303         (ResultsTable.prototype._showFixedNumber): Shows a number in a new table cell.
304         (ResultsTable.prototype._showGraph): Shows a button for the sampled data graph.
305         (ResultsTable.prototype._showJSON): Shows a button for the sampled data JSON.
306         (ResultsTable.prototype._showTest): Shows the results of a single test.
307         (ResultsTable.prototype._showSuite): Shows the results of a single suite.
308         (ResultsTable.prototype._showIteration): Shows the results of a single iteration.
309         (ResultsTable.prototype.showRecord): Shows a single iteration for a single test.
310         (ResultsTable.prototype.showIterations): Shows all the results.
311         (RecordTable): Deleted.
312         (RecordTable.prototype.clear): Deleted.
313         (RecordTable.prototype._showTitles): Deleted.
314         (RecordTable.prototype._showHeader): Deleted.
315         (RecordTable.prototype._showEmpty): Deleted.
316         (RecordTable.prototype._showValue): Deleted.
317         (RecordTable.prototype._showSamples): Deleted.
318         (RecordTable.prototype._showTest): Deleted.
319         (RecordTable.prototype._showSuite): Deleted.
320         (RecordTable.prototype.showRecord): Deleted.
321         (RecordTable.prototype.showIterations): Deleted.
322         
323         * Animometer/resources/sampler.js:
324         (Sampler.prototype.startSampling): Use forEach.
325         (Sampler.prototype.sample): Use forEach.
326         (Sampler.prototype.toJSON): Converts the sampler data to JSON format.
327         
328         * Animometer/resources/strings.js: Added.
329         This new file will be used to associate the strings used by the benchmark
330         with IDs. A string can be changed in one place without having to change
331         all the instances of this string in multiple files. There two groups of
332         strings in this file. The first one is used by the UI elements and the second
333         group is used when constructing the results JSON.
334         
335         * Animometer/runner/animometer.html:
336         * Animometer/runner/resources/animometer.css:
337         
338         * Animometer/runner/resources/animometer.js:
339         (window.benchmarkRunnerClient.willAddTestFrame):
340         (window.benchmarkRunnerClient.willStartFirstIteration):
341         (window.benchmarkRunnerClient.didRunSuites):
342         (window.benchmarkRunnerClient.didFinishLastIteration):
343         Make benchmarkRunnerClient uses ResultsDashboard instead of _iterationsSamplers
344         Get the JSON from ResultsDashboard.toJSON() and pass it to ResultsTable.showIterations().
345         Also set the textContent of the "#json" textarea with the results JSON.
346         
347         (showResults): Delete unneeded code.
348         (showJson): Shows the "json" section.
349         (showTestGraph): Rename showGraph() to be showTestGraph().
350         (showTestJSON): Shows the JSON of a single testResults.
351         (showGraph): Deleted.
352         
353         * Animometer/runner/resources/tests.js:
354         Use the string table instead of putting literal strings.
355
356         * Animometer/tests/resources/stage.js:
357         (StageBenchmark.prototype.showResults):
358         Fix the parameters which are passed to RecordTable.showRecord().
359         
360         * Animometer/tests/bouncing-particles/bouncing-canvas-images.html:
361         * Animometer/tests/bouncing-particles/bouncing-canvas-shapes.html:
362         * Animometer/tests/bouncing-particles/bouncing-css-images.html:
363         * Animometer/tests/bouncing-particles/bouncing-css-shapes.html:
364         * Animometer/tests/bouncing-particles/bouncing-svg-images.html:
365         * Animometer/tests/bouncing-particles/bouncing-svg-shapes.html:
366         * Animometer/tests/examples/canvas-electrons.html:
367         * Animometer/tests/examples/canvas-stars.html:
368         * Animometer/tests/simple/simple-canvas-paths.html:
369         * Animometer/tests/template/template-canvas.html:
370         * Animometer/tests/template/template-css.html:
371         * Animometer/tests/template/template-svg.html:
372         * Animometer/tests/text/layering-text.html:
373         Include the new strings.js file in all the test files.
374
375 2015-10-12  Jon Lee  <jonlee@apple.com>
376
377         Add canvas line dash test
378         https://bugs.webkit.org/show_bug.cgi?id=150078
379         <rdar://problem/23082347>
380
381         Reviewed by Dean Jackson.
382
383         * Animometer/runner/resources/tests.js: Add line dash test.
384         * Animometer/tests/simple/resources/simple-canvas-paths.js:
385         (CanvasLineDashStage): Create a new stage with a default dash pattern and stroke style.
386         Maintain a step which will animate the dash.
387         (CanvasLineDashStage.prototype.animate): Render the line path with the dash. Increment
388         the dash offset to animate.
389         (CanvasPathBenchmark.prototype.createStage): Add the test.
390
391 2015-10-12  Jon Lee  <jonlee@apple.com>
392
393         Add canvas line path tests
394         https://bugs.webkit.org/show_bug.cgi?id=150076
395         <rdar://problem/23082285>
396
397         Reviewed by Dean Jackson.
398
399         * Animometer/runner/resources/tests.js: Add new line path tests, with different
400         line joins.
401         * Animometer/tests/simple/resources/simple-canvas-paths.js:
402         (CanvasLinePathStage): The stage is the same as the SimpleCanvasPathStrokeStage
403         but sets the lineJoin on the context.
404         (CanvasPathBenchmark.prototype.createStage): Add the tests.
405
406 2015-10-12  Jon Lee  <jonlee@apple.com>
407
408         Add missing paint objects for arc and arcTo fills
409         https://bugs.webkit.org/show_bug.cgi?id=150075
410         <rdar://problem/23082233>
411
412         Reviewed by Dean Jackson.
413
414         * Animometer/tests/simple/resources/simple-canvas-paths.js: Add missing paint objects
415         for arcTo and arc segment fills.
416         (CanvasArcToSegmentFill):
417         (CanvasArcToSegmentFill.prototype.draw):
418         (CanvasArcSegmentFill):
419         (CanvasArcSegmentFill.prototype.draw):
420
421 2015-10-12  Jon Lee  <jonlee@apple.com>
422
423         Add canvas line segment tests
424         https://bugs.webkit.org/show_bug.cgi?id=150073
425         <rdar://problem/23082138>
426
427         Reviewed by Dean Jackson.
428
429         * Animometer/runner/resources/tests.js: Add new line segment tests, with different
430         line caps.
431         * Animometer/tests/simple/resources/simple-canvas-paths.js:
432         (CanvasLineSegment): Add new line segment paint object.
433         (CanvasLineSegmentStage): Create a new stage that sets the lineCap.
434
435 2015-10-12  Jon Lee  <jonlee@apple.com>
436
437         Add canvas path fill tests
438         https://bugs.webkit.org/show_bug.cgi?id=150071
439         <rdar://problem/23082001>
440
441         Reviewed by Dean Jackson.
442
443         * Animometer/runner/resources/tests.js: Add new pathTypes for path fills.
444         * Animometer/tests/simple/resources/simple-canvas-paths.js:
445         (CanvasLinePoint): Add basic point for a line, and call lineTo.
446         (SimpleCanvasPathFillStage): Add a new stage similar to SimpleCanvasPathStrokeStage.
447         (CanvasPathBenchmark.prototype.createStage): Add the tests.
448
449 2015-10-12  Jon Lee  <jonlee@apple.com>
450
451         Add canvas path tests
452         https://bugs.webkit.org/show_bug.cgi?id=150067
453         rdar://problem/23081463
454
455         Reviewed by Dean Jackson.
456
457         * Animometer/runner/resources/tests.js: Add a quadratic and bezier path test.
458
459         * Animometer/tests/simple/resources/simple-canvas.js:
460         (SimpleCanvasStage.prototype.tune): This kind of test joins all of the segments
461         into one long path, and tries to render that one path. Random points make it
462         difficult to tell what is going on, so add a parameter to the constructor to
463         confine the area where the random coordinates can land. The more complicated the
464         case is, the larger an area the path will cover. Add an artificial minimum so
465         that the first 200 points aren't confined to a space that is too small.
466
467         * Animometer/tests/simple/resources/simple-canvas-paths.js:
468         (SimpleCanvasPathStrokeStage): Add a new kind of stage that inherits from
469         SimpleCanvasStage. Each time the frame animates a random line width and stroke
470         color are chosen. The path setup is done outside of each paint object.
471         (CanvasQuadraticPoint): This point just calls quadraticCurveTo.
472         (CanvasPathBenchmark.prototype.createStage): Add the tests.
473
474 2015-10-12  Jon Lee  <jonlee@apple.com>
475
476         Add basic canvas tests
477         https://bugs.webkit.org/show_bug.cgi?id=150066
478         rdar://problem/23081143
479
480         Reviewed by Dean Jackson.
481
482         This adds a new test suite that will cover all of the path-based canvas calls.
483         The patch will be divided up to cover tests with similar techniques.
484
485         The simplest version uses a SimpleCanvasStage.
486
487         * Animometer/runner/resources/tests.js: Add tests for quadratic, bezier, arcTo,
488         arc, and rect segments. Also include arcTo, arc, and rect fills.
489         * Animometer/tests/resources/stage.js:
490         (Stage.prototype.randomBool): Added for counterclockwise property for arc segments.
491         (Stage.prototype.randomInt): Fix how values are rounded, used by randomBool. It should
492         round instead of flooring everything.
493         * Animometer/tests/simple/resources/simple-canvas.js: Added. Defines common classes
494         used by all simple canvas tests. The page reads best bottom to top.
495         (SimpleCanvasStage): Basic stage. Pass a canvasObject which will be used to create new
496         objects as needed in tune().
497         (SimpleCanvasStage.prototype.tune): Modeled on other tests. Adds and removed objects
498         as specified by the provided |count|.
499         (SimpleCanvasStage.prototype.animate): Iterate over all the objects and ask them to draw.
500         There is no "animating" of the objects; they will just paint statically on the canvas.
501         (SimpleCanvasAnimator): Basic animator clears the canvas prior to painting.
502         (SimpleCanvasBenchmark): Hard-code the feedback loop parameters instead of including
503         them in the query parameters to the test URLs.
504         (SimpleCanvasBenchmark.prototype.createAnimator):
505         * Animometer/tests/simple/simple-canvas-paths.html: Added.
506
507         * Animometer/tests/simple/resources/simple-canvas-paths.js: Added. There is no "animating"
508         of these objects--they just paint statically on the canvas.
509         (CanvasQuadraticSegment): Paint a quadratic segment stroke.
510         (CanvasBezierSegment): Paint a bezier segment stroke.
511         (CanvasArcToSegment): Paint an arcTo stroke.
512         (CanvasArcSegment): Paint an arc stroke.
513         (CanvasRect): Paint a rect.
514         (CanvasRectFill): Paint a filled rect.
515
516         (CanvasPathBenchmark):
517         (CanvasPathBenchmark.prototype.createStage): Look for the pathType and create the
518         stage using the right paint object.
519         (window.benchmarkClient.create):
520
521 2015-10-12  Jon Lee  <jonlee@apple.com>
522
523         Refactor tune() to pass in an integer-based count
524         https://bugs.webkit.org/show_bug.cgi?id=150060
525         <rdar://problem/23079425>
526
527         Reviewed by Dean Jackson.
528
529         All of the tune functions do an initial step of flooring the
530         # of painting objects to add or remove. Factor that out since
531         the complexity of all of these tests is always expressed in terms
532         of countable items.
533
534         * Animometer/tests/resources/main.js:
535         (Benchmark.prototype.update): Update the tuneValue.
536
537         * Animometer/tests/bouncing-particles/resources/bouncing-particles.js:
538         (BouncingParticlesStage.prototype.tune): Remove the count adjustment.
539         * Animometer/tests/examples/resources/canvas-electrons.js:
540         (CanvasElectronsStage.prototype.tune): Ditto.
541         * Animometer/tests/examples/resources/canvas-stars.js:
542         (CanvasStarsStage.prototype.tune): Ditto.
543         * Animometer/tests/text/resources/layering-text.js:
544         (LayeringTextStage.prototype.tune): Ditto.
545
546 2015-10-12  Jon Lee  <jonlee@apple.com>
547
548         Store test-interval in localStorage
549         https://bugs.webkit.org/show_bug.cgi?id=150055
550         <rdar://problem/23078879>
551
552         Reviewed by Dean Jackson.
553
554         * Animometer/runner/resources/animometer.js:
555         (populateSettings): Keep track of the specified test interval in localStorage
556         to make it easy to repeat a test suite.
557
558 2015-10-12  Jon Lee  <jonlee@apple.com>
559
560         Remove "../tests/" from the URLs of all tests
561         https://bugs.webkit.org/show_bug.cgi?id=150054
562         <rdar://problem/23078784>
563
564         Reviewed by Dean Jackson.
565
566         Presumably all tests will be running from the tests/ directory,
567         so we don't have to specify it in all of the test URLs.
568
569         * Animometer/runner/resources/benchmark-runner.js:
570         (BenchmarkRunnerState.prototype.prepareCurrentTest): Prepend
571         "../tests/" to all tests.
572         * Animometer/runner/resources/tests.js: Remove "../tests/" from
573         all URLs.
574
575 2015-10-12  Jon Lee  <jonlee@apple.com>
576
577         Refactor test suites to a separate class.
578         https://bugs.webkit.org/show_bug.cgi?id=150053
579         <rdar://problem/23078645>
580
581         Reviewed by Dean Jackson.
582
583         Create a Suite class to refactor out prepare() and run().
584         Generate the checkboxes representing the suites using Suites
585         instead of maintaining a separate list. Also, save the
586         selections out to localStorage.
587
588         * Animometer/runner/animometer.html: Remove the explicitly listed
589         suites. These will be generated from Suites instead.
590         * Animometer/runner/resources/animometer.js:
591         (populateSettings): Iterate through Suites, and create the
592         label and checkbox. Attach the Suite object to the checkbox so
593         when the benchmark is started, we get direct access. Initialize
594         the checkmark based on its value in localStorage. Set this to
595         run when DOMContentLoaded is dispatched.
596         (startBenchmark): Grab all of the checkboxes, inspect their
597         values, add it to enabledSuites if selected. Remember whether
598         the suite was enabled in localStorage, so that it's easy to do
599         repeated runs.
600         * Animometer/runner/resources/tests.js:
601         (Suite): Create a new Suite class. Refactor out prepare() and
602         run(), since all of them have the same implementation. Populate
603         Suites with Suite instances instead of generic objects.
604
605 2015-10-12  Jon Lee  <jonlee@apple.com>
606
607         Update graph styles for legibility.
608         https://bugs.webkit.org/show_bug.cgi?id=150052
609         <rdar://problem/23078503>
610
611         Reviewed by Dean Jackson.
612
613         * Animometer/runner/resources/animometer.css: Update colors and
614         stroke thicknesses to make the graphs easier to read.
615         (.smaple-time): Correct to .sample-time
616         * Animometer/runner/resources/graph.js:
617         (graph): Ditto.
618
619 2015-10-12  Jon Lee  <jonlee@apple.com>
620
621         Update graph styles for legibility.
622         https://bugs.webkit.org/show_bug.cgi?id=150052
623         <rdar://problem/23078503>
624
625         Reviewed by Dean Jackson.
626
627         * Animometer/runner/resources/animometer.css: Update colors and
628         stroke thicknesses to make the graphs easier to read.
629         (.smaple-time): Correct to .sample-time
630         * Animometer/runner/resources/graph.js:
631         (graph): Ditto.
632
633 2015-10-12  Filip Pizlo  <fpizlo@apple.com>
634
635         Unreviewed, revert an unintended commit.
636
637         * JetStream/Octane2/crypto.js:
638         (montRevert):
639         (montReduce):
640
641 2015-10-05  Said Abou-Hallawa  <sabouhallawa@apple.com>
642
643         Add a graphics benchmark
644         https://bugs.webkit.org/show_bug.cgi?id=149053
645         <rdar://problem/18984169>
646
647         Reviewed by Dean Jackson.
648
649         Instead of measuring the FPS of the animation, this benchmark measures the
650         test complexity when rendering at a set-point FPS which should be lower
651         than 60 FPS. This benchmark tries to stay at the set-point FPS by using
652         a closed loop control system PID function. The gain of the system is passed
653         as a parameter when running the test. Measuring the FPS faithfully results
654         very fluctuating values. A Kalman filter is used to give a better estimate
655         for the current FPS.
656
657         The animation of the tests is done manually. requestAnimationFrame() is
658         called with a callback. Inside this callback, the test is animating by
659         changing the positions of the elements inside the page. The test complexity
660         may change also if the current FPS is not equal to the desired FPS.
661
662         In this patch, the benchmark and the tests are included. The shared code
663         and the tests runner are included in separate patches.
664
665         * Animometer/runner/animometer.html:
666         * Animometer/runner/resources/animometer.js:
667         Add two new examples for more complex animation techniques.
668         Add an option to show/hide the test running results which is off by default.
669
670         * Animometer/runner/resources/tests.js: Added.
671         (suiteFromName): Returns a suite given its name.
672         (testFromName): Returns a test given its suite and name.
673
674         * Animometer/tests: Added.
675         This directory includes all the test suites to be run by the benchmark.
676         runner. All the tests should try to run on three stages: CSS, canvas and
677         SVG.
678         
679         * Animometer/tests/bouncing-particles: Added.
680         * Animometer/tests/bouncing-particles/resources: Added.
681         The bouncing particles test is an example of a simple animation technique.
682         
683         * Animometer/tests/bouncing-particles/bouncing-canvas-images.html: Added.
684         * Animometer/tests/bouncing-particles/bouncing-canvas-shapes.html: Added.
685         * Animometer/tests/bouncing-particles/bouncing-css-images.html: Added.
686         * Animometer/tests/bouncing-particles/bouncing-css-shapes.html: Added.
687         * Animometer/tests/bouncing-particles/bouncing-svg-images.html: Added.
688         * Animometer/tests/bouncing-particles/bouncing-svg-shapes.html: Added.
689         Bouncing particles test pages.
690
691         * Animometer/tests/bouncing-particles/resources/bouncing-particles.js: Added.
692         (BouncingParticle): Base class for a bouncing particle.
693         (BouncingParticle.prototype.center): Returns the center point or the particle.
694         (BouncingParticle.prototype.animate): Moves the particle based on its current position, angle and velocity.
695         
696         (BouncingParticlesAnimator): A sub class of Animator.
697         
698         (BouncingParticlesStage): Represents the container of all the bouncing particles.
699         (BouncingParticlesStage.prototype.parseShapeParamters): Gets the shape parameters for shape animating tests.
700         (BouncingParticlesStage.prototype.randomRotater): Creates a rotater for the particles.
701         (BouncingParticlesStage.prototype.animate): Animates all the particles.
702         (BouncingParticlesStage.prototype.tune): Changes the test by adding or removing particles.
703         
704         (BouncingParticlesBenchmark): Runs the benchmark for bouncing particles test.
705         (BouncingParticlesBenchmark.prototype.createAnimator): Creates an animator of type BouncingParticlesAnimator.
706
707         * Animometer/tests/bouncing-particles/resources/bouncing-css-shapes.js: Added.
708         (BouncingCssShape): A sub class of BouncingParticle for animating CSS shapes.
709         (BouncingCssShape.prototype._createSpan): Creates a <span> element and takes the shape and clipping classes into consideration.
710         (BouncingCssShape.prototype._move): Moves the particle to a new location. Apply transform since it does not require layout.
711         (BouncingCssShape.prototype.animate): Rotates and moves the shape to a new location.
712         
713         (BouncingCssShapesStage): A sub class of BouncingParticlesStage for animating CSS shapes.
714         (BouncingCssShapesStage.prototype.createParticle): Creates a particle of type BouncingCssShape.
715         (BouncingCssShapesStage.prototype.particleWillBeRemoved): Removes the corresponding element form the parent children list.
716         
717         (BouncingCssShapesBenchmark): A sub class of BouncingParticlesBenchmark for animating CSS shapes.
718         (BouncingCssShapesBenchmark.prototype.createStage): Creates a stage of type BouncingCssShapesStage.
719         (window.benchmarkClient.create): Creates a benchmark of type BouncingCssShapesBenchmark.
720         
721         * Animometer/tests/bouncing-particles/resources/bouncing-css-images.js: Added.
722         (BouncingCssImage): A sub class of BouncingParticle for animating CSS images.
723         (BouncingCssImage.prototype._move): Move the particle to a new location. Apply transform since it does not require layout.
724         (BouncingCssImage.prototype.animate): Rotates and moves the shape to a new location.
725         
726         (BouncingCssImagesStage): A sub class of BouncingParticlesStage for animating CSS images.
727         (BouncingCssImagesStage.prototype.createParticle): Creates a particle of type BouncingCssImage.
728         (BouncingCssImagesStage.prototype.particleWillBeRemoved): Removes the corresponding element form the parent children list.
729         
730         (BouncingCssImagesBenchmark): A sub class of BouncingParticlesBenchmark for animating CSS images.
731         (BouncingCssImagesBenchmark.prototype.createStage): Creates a stage of type BouncingCssImagesStage.
732         (window.benchmarkClient.create): Creates a benchmark of type BouncingCssImagesBenchmark.
733         
734         * Animometer/tests/bouncing-particles/resources/bouncing-canvas-particles.js: Added.
735         (BouncingCanvasParticle): A base sub-class of BouncingParticle for animating canvas particles.
736         (BouncingCanvasParticle.prototype._applyRotation): Apply the particle rotation-around-center transform to the canvas context.
737         (BouncingCanvasParticle.prototype._applyClipping): Apply the particle clipping to the canvas context.
738         (BouncingCanvasParticle.prototype._draw): A non-implemented version of the drawing function.
739         (BouncingCanvasParticle.prototype.animate): Carries out all the steps to redraw the canvas particle.
740         
741         (BouncingCanvasParticlesStage): A base sub-class of BouncingParticlesStage for animating canvas particles.
742         
743         (BouncingCanvasParticlesAnimator): A concrete sub-class of BouncingParticlesAnimator for animating canvas particles.
744         (BouncingCanvasParticlesAnimator.prototype.animate): Overrides the base class method to clear the canvas before redrawing the stage.
745         
746         (BouncingCanvasParticlesBenchmark): A base sub-class of StageBenchmark for animating canvas particles.
747         (BouncingCanvasParticlesBenchmark.prototype.createAnimator): Creates the canvas particles animator.
748         
749         * Animometer/tests/bouncing-particles/resources/bouncing-canvas-shapes.js: Added.
750         (BouncingCanvasShape): A concrete sub-class of BouncingCanvasParticle for animating canvas shapes.
751         (BouncingCanvasShape.prototype._applyFill): Sets the fillStyle in the canvas context.
752         (BouncingCanvasShape.prototype._drawShape): Carries out the actual drawing.
753         (BouncingCanvasShape.prototype._draw): Carries out all the steps to draw the shape.
754         
755         (BouncingCanvasShapesStage): A concrete sub-class of BouncingCanvasParticle for animating canvas shapes.
756         (BouncingCanvasShapesStage.prototype.createParticle): Creates a particle of type BouncingCanvasShape.
757         
758         (BouncingCanvasShapesBenchmark): A concrete sub-class of BouncingCanvasParticlesBenchmark for animating canvas shapes.
759         (BouncingCanvasShapesBenchmark.prototype.createStage): Creates a stage of type BouncingCanvasShapesStage.
760         (window.benchmarkClient.create): Creates a benchmark of type BouncingCanvasShapesBenchmark.
761
762         * Animometer/tests/bouncing-particles/resources/bouncing-canvas-images.js: Added.
763         (BouncingCanvasImage): A concrete sub-class of BouncingCanvasParticle for animating canvas images.
764         (BouncingCanvasImage.prototype._draw): Draws an image on the context of a canvas.
765         
766         (BouncingCanvasImagesStage): A concrete sub-class of BouncingCanvasParticlesBenchmark for animating canvas images.
767         (BouncingCanvasImagesStage.prototype.createParticle): Creates a particle of type BouncingCanvasImage.
768         
769         (BouncingCanvasImagesBenchmark): A concrete sub-class of BouncingCanvasParticlesBenchmark for animating canvas images.
770         (BouncingCanvasImagesBenchmark.prototype.createStage): Creates a stage of type BouncingCanvasImagesStage.
771         (window.benchmarkClient.create): Creates a benchmark of type BouncingCanvasImagesBenchmark.
772
773         * Animometer/tests/bouncing-particles/resources/bouncing-svg-particles.js: Added.
774         (BouncingSvgParticle): A base sub-class of BouncingParticle for animating SVG particles.
775         (BouncingSvgParticle.prototype._applyClipping): Apply the particle clipping by setting the 'clip-path' attribute of the SVGElement.
776         (BouncingSvgParticle.prototype._move): Moves the particle to a new location. Apply transform since it does not require layout.
777         (BouncingSvgParticle.prototype.animate): Rotates and moves the shape to a new location.
778         (BouncingSvgParticlesStage): A sub class of BouncingParticlesStage for animating SVGElements.
779         (BouncingSvgParticlesStage.prototype._createDefs): Creates an SVGDefsElement.
780         (BouncingSvgParticlesStage.prototype._ensureDefsIsCreated): Ensures there is only one SVGDefsElement is created.
781         (BouncingSvgParticlesStage.prototype._createClipStar): Creates an SVGClipPathElement and sets its 'd' attribute to a star like shape.
782         (BouncingSvgParticlesStage.prototype.ensureClipStarIsCreated): Ensure there is only one star SVGClipPathElement is created.
783         (BouncingSvgParticlesStage.prototype.particleWillBeRemoved): Remove the corresponding element form the parent children list.
784
785         * Animometer/tests/bouncing-particles/resources/bouncing-svg-shapes.js: Added.
786         (BouncingSvgShape): A concrete sub-class of BouncingSVGParticle for animating SVG shapes.
787         (BouncingSvgShape.prototype._createShape): Creates an SVG shape.
788         (BouncingSvgShape.prototype._applyFill): Applies the selected fill style to the SVG shape.
789         
790         (BouncingSvgShapesStage): A concrete sub-class of BouncingSvgParticlesStage for animating SVG shapes.
791         (BouncingSvgShapesStage.prototype.createGradient): Creates an SVGLinearGradientElement.
792         (BouncingSvgShapesStage.prototype.createParticle): Creates a particle of type BouncingSvgShape.
793         (BouncingSvgShapesStage.prototype.particleWillBeRemoved): Ensures the attached SVGLinearGradientElement is removed from the SVGDefsElement.
794         
795         (BouncingSvgShapesBenchmark): A concrete sub-class of BouncingParticlesBenchmark for animating SVG images.
796         (BouncingSvgShapesBenchmark.prototype.createStage): Creates a stage of type BouncingSvgShapesStage.
797         (window.benchmarkClient.create): Creates a benchmark of type BouncingSvgShapesBenchmark.
798         
799         * Animometer/tests/bouncing-particles/resources/bouncing-svg-images.js: Added.
800         (BouncingSvgImage): A concrete sub-class of BouncingSVGParticle for animating SVG images.
801         
802         (BouncingSvgImagesStage): A concrete sub-class of BouncingSVGParticlesBenchmark for animating SVG images.
803         (BouncingSvgImagesStage.prototype.createParticle): Creates a particle of type BouncingSvgImage.
804         
805         (BouncingSvgImagesBenchmark): A concrete sub-class of BouncingParticlesBenchmark for animating SVG images.
806         (BouncingSvgImagesBenchmark.prototype.createStage): Creates a stage of type BouncingSvgImagesStage.
807         (window.benchmarkClient.create): Creates a benchmark of type BouncingSvgImagesBenchmark.
808
809         * Animometer/tests/examples: Added.
810         * Animometer/tests/examples/canvas-electrons.html: Added.
811         * Animometer/tests/examples/canvas-stars.html: Added.
812         Examples test pages. 
813         
814         * Animometer/tests/examples/resources: Added.
815         * Animometer/tests/examples/resources/canvas-electrons.js: Added.
816         (CanvasElectron): An object which draws and animate a electron object on a canvas stage.
817         (CanvasElectron.prototype._draw): Draws the electron object.
818         (CanvasElectron.prototype.animate): Animates the electron object.
819         
820         (CanvasElectronsStage): A concrete sub-class of Stage for animating electrons.
821         (CanvasElectronsStage.prototype.tune): Changes the test by adding or removing elements.
822         (CanvasElectronsStage.prototype.animate): Animates the test elements.
823         
824         (CanvasElectronsAnimator): A concrete sub-class of StageAnimator for animating canvas electrons.
825         (CanvasElectronsAnimator.prototype.animate): Overrides the base class method to clear the canvas before redrawing the stage.
826         
827         (CanvasElectronsBenchmark): A concrete sub-class of StageBenchmark for animating electrons.
828         (CanvasElectronsBenchmark.prototype.createStage): Creates a stage of CanvasElectronsStage.
829         (CanvasElectronsBenchmark.prototype.createAnimator): Creates an animator of type CanvasElectronsAnimator.
830         (window.benchmarkClient.create): Creates a benchmark of type CanvasElectronsBenchmark.
831         
832         * Animometer/tests/examples/resources/canvas-stars.js: Added.
833         (CanvasStar): An object which draws and animate a star object on a canvas stage.
834         (CanvasStar.prototype._draw): Draws the star object.
835         (CanvasStar.prototype.animate): Animates the star object.
836         
837         (CanvasStarsStage): A concrete sub-class of Stage for animating stars.
838         (CanvasStarsStage.prototype.tune): Changes the test by adding or removing elements.
839         (CanvasStarsStage.prototype.animate): Animates the test elements.
840         
841         (CanvasStarsAnimator): A concrete sub-class of StageAnimator for animating canvas stars.
842         (CanvasStarsAnimator.prototype.animate): Overrides the base class method to clear the canvas before redrawing the stage.
843         
844         (CanvasStarsBenchmark): A concrete sub-class of Benchmark for animating stars.
845         (CanvasStarsBenchmark.prototype.createStage): Creates a stage of CanvasStarsStage.
846         (CanvasStarsBenchmark.prototype.createAnimator): Creates an animator of type CanvasStarsAnimator.
847         (window.benchmarkClient.create): Creates a benchmark of type CanvasStarsBenchmark.
848
849         * Animometer/tests/resources: Added.
850         This directory includes the script which is required to run an adaptive 
851         graphics benchmark. From an empty test page, the set of classes in this
852         directory are responsible for measuring the current frame rate and
853         changing the test to reach a desired FPS. It keeps asking the test page
854         to tune itself by a certain value to increase or decrease the frame rate.
855         It's also responsible for sampling the test state and the corresponding
856         frame rate.
857         
858         * Animometer/tests/resources/main.js: Added.
859         (BenchmarkState): Tracks the state of the benchmark test.
860         (BenchmarkState.prototype._timeOffset): Returns the timeOffset of a stage.
861         (BenchmarkState.prototype._message): Returns the message of a stage.
862         (BenchmarkState.prototype.update): Sets the currentTimeOffset to a new value.
863         (BenchmarkState.prototype.samplingTimeOffset): Returns the timeOffset of the sampling stage.
864         (BenchmarkState.prototype.currentStage): Returns the current stage of the benchmark.
865         (BenchmarkState.prototype.currentMessage): Returns the message of the current stage and timeOffset.
866         (BenchmarkState.prototype.currentProgress): Returns a percentage of how much the benchmark is running.
867         
868         (Animator): Manages animating the test.
869         (Animator.prototype.start): Called if animating using setInterval is requested.
870         (Animator.prototype.timeDelta): Returns the current timeDelta 
871         (Animator.prototype.animate): Manages the test animation.
872         (Animator.prototype.animateLoop): Called if animating using requestAnimationFrame is requested. 
873
874         (Benchmark): Manages running the test benchmark and recording the sampled data.
875         (Benchmark.prototype.start): Starts the benchmark.
876         (Benchmark.prototype.update): Called from the animator.animate() to change the complexity of the test.
877         (Benchmark.prototype.record): Shows the current (not final) results of the benchmark.
878         (Benchmark.prototype.resolveWhenFinished): Spins until the benchmark is finished and returns its results.
879         (Benchmark.prototype.run): Starts the test, runs it, waits until it is finished and return its results.
880         (window.runBenchmark): Called from the benchmark runner through the suite controller run-callback.
881
882         * Animometer/tests/resources/math.js: Added.
883         (Matrix): A matrix object.
884         (Vector3): A vector of size 3 object.
885         (Matrix3): A matrix of size 3x3 object.
886         
887         (PIDController): Closed-loop controller for a set-point y.
888         (PIDController.prototype._sat): Limits the output to a certain range.
889         (PIDController.prototype.tune): Given the current output of a system, it produces a new pid value for tuning it.
890         
891         (KalmanEstimator): Implement Kalman filter to get an estimate for a sampled data point.
892         (KalmanEstimator.prototype.estimate): Returns an estimate for for a sampled data point.
893
894         * Animometer/tests/resources/utilities.js: Added.
895         (window.Utilities._parse): Given a separator character, it pareses a string to a set of <key, value> pairs.
896         (window.Utilities.parseParameters): Parses a test parameters.
897         (window.Utilities.parseArguments): Parses a tag arguments.
898         (window.Utilities.extendObject): Adds the attributes and their values of an object to another object.
899         (window.Utilities.copyObject): Copies the attributes and their values of an object to a new object.
900         (window.Utilities.mergeObjects): Copies the attributes and their values of two objects to a new object.
901         (window.Utilities.createSvgElement): Creates an SVGElement given its name and its attributes.
902         
903         * Animometer/tests/resources/stage.css: Added.
904         * Animometer/tests/resources/stage.js: Added.
905         (Rotater): Manages rotating an angle within a fixed time interval.
906         (Rotater.prototype.get interval): Returns the time interval which is required to rotate 360 degrees.
907         (Rotater.prototype.next): Moves the current time by a delta.
908         (Rotater.prototype.degree): Returns the current rotating degree.
909         (Rotater.prototype.rotateZ): Returns CSS formatted transform rotateZ() string for the current degree.
910         (Rotater.prototype.rotate): Returns SVG formatted transform rotate() string for the current degree.
911         
912         (Stage): A base class for managing the test complexity and test animation.
913         (Stage.prototype.get size): Returns the size of the stage excluding the CSS padding.
914         (Stage.prototype.random): Returns a random float.
915         (Stage.prototype.randomInt): Returns a random integer.
916         (Stage.prototype.randomPosition): Returns a random position.
917         (Stage.prototype.randomSquareSize): Returns a square size.
918         (Stage.prototype.randomVelocity): Returns a random velocity.
919         (Stage.prototype.randomAngle): Returns a random angle.
920         (Stage.prototype.randomColor): Returns a random color not too dark and not too light.
921         (Stage.prototype.randomRotater): Creates a random rotater. Its velocity depends on choosing a random rotation time interval.
922         (Stage.prototype.tune): A not-implemented version of this function.
923         (Stage.prototype.animate): A not-implemented version of this function.
924         (Stage.prototype.clear): Clears the stage from all its animation elements.
925         
926         (StageAnimator): A base class for the stage-based animators.
927         (StageAnimator.prototype.animate): Calls Animator.animate() which updates the test page and then calls Stage.animate() to force redraw.
928         
929         (StageBenchmark): A base class for the stage-based benchmarks.
930         (StageBenchmark.prototype.createStage): Creates the default stage.
931         (StageBenchmark.prototype.createAnimator): Creates the default animator.
932         (StageBenchmark.prototype.tune): Delegates the call to stage.
933         (StageBenchmark.prototype.clear): Delegates the call to stage.
934         (StageBenchmark.prototype.showResults): Shows the results/progress through its recordTable and progressBar.
935         
936         * Animometer/tests/resources/yin-yang.png: Added.
937         * Animometer/tests/resources/yin-yang.svg: Added.
938         These images are shared among all the tests.
939         
940         * Animometer/tests/template: Added.
941         * Animometer/tests/template/resources: Added.
942         This directory includes template tests which do nothing. They can be used
943         to author new tests. Animated items can be created, moved and redrawn by
944         removing the TODO comments in the script files and writing actual code.
945
946         * Animometer/tests/template/template-css.html: Added.
947         * Animometer/tests/template/template-canvas.html: Added.
948         * Animometer/tests/template/template-svg.html: Added.
949         Template test pages. They can be used as they are. CSS attributes or hidden
950         elements can be added to these derived test pages if needed.
951         
952         * Animometer/tests/template/resources/template-css.js: Added.
953         
954         (TemplateCssStage): A stage to create and animate HTMLElements.
955         (TemplateCssStage.prototype.tune): Changes the test by adding or removing elements.
956         (TemplateCssStage.prototype.animate): Animates the test elements.
957         (TemplateCssBenchmark): 
958         (TemplateCssBenchmark.prototype.createStage): Creates the test stage.
959         (window.benchmarkClient.create): Creates a benchmark of type TemplateCssBenchmark.
960         
961         * Animometer/tests/template/resources/template-canvas.js: Added.
962         (TemplateCanvasObject):
963         (TemplateCanvasObject.prototype._draw): Draws the objects on the canvas context.
964         (TemplateCanvasObject.prototype.animate): Moves and redraws the object.
965         (TemplateCanvasStage): A stage to create and animate drawing elements.
966         (TemplateCanvasStage.prototype.tune): hanges the test by adding or removing elements.
967         (TemplateCanvasStage.prototype.animate):  Animates the test elements.
968         (TemplateCanvasAnimator.prototype.animate): Starts the animation every frame.
969         (TemplateCanvasBenchmark): 
970         (TemplateCanvasBenchmark.prototype.createStage): Creates a stage of type TemplateCanvasStage.
971         (TemplateCanvasBenchmark.prototype.createAnimator): Creates a animator of type TemplateCanvasAnimator.
972         (window.benchmarkClient.create): Creates a benchmark of type TemplateCanvasBenchmark.
973         
974         * Animometer/tests/template/resources/template-svg.js: Added.
975         (TemplateSvgStage): A stage to create and animate SVGElements.
976         (TemplateSvgStage.prototype.tune): Changes the test by adding or removing elements.
977         (TemplateSvgStage.prototype.animate): Animates the test elements.
978         (TemplateSvgBenchmark.prototype.createStage): Creates a stage of type TemplateSvgStage.
979         (window.benchmarkClient.create): Creates a benchmark of type TemplateSvgBenchmark.
980         
981         * Animometer/tests/text: Added.
982         * Animometer/tests/text/resources: Added.
983         This directory includes the text animating tests which currently runs
984         on CSS stage only.
985         
986         * Animometer/tests/text/layering-text.html: Added.
987         Text test page.
988         
989         * Animometer/tests/text/resources/layering-text.js: Added.
990         (LayeringTextStage): Represents the container of all the stacked text layers.
991         (LayeringTextStage.parseTextItem): Parses a textItem which may be an opening tag, a closing tag or a self-closing tag.
992         (LayeringTextStage.isOpeningTextItem): Returns true if the textItem is an opening tag e.g. '<ol>'.
993         (LayeringTextStage.isClosingTextItem): Returns true if  the textItem is an closing tag e.g. '</ol>.
994         (LayeringTextStage.textItemsFlags.LayeringTextStage.textItems.map): Calculates and stores isOpening and isClosing flags for each textItem.
995         (LayeringTextStage.isColorableTextItem): Returns true if the textItem is self-closing tag e.g. '<p>...</p>'.
996         (LayeringTextStage.isInsertableTextItem): Returns true if the textItems causes a new element to be added to the text layers.
997         (LayeringTextStage.colorableTextItems.LayeringTextStage.textItemsFlags.filter): Number of colorable textItems.
998         (LayeringTextStage.insertableTextItems.LayeringTextStage.textItemsFlags.filter): Number of insertable textItems.
999         (LayeringTextStage.colorIndexToTextElementIndex): Maps from colorIndex [0..colorableTextItems-1] to textElementIndex [0..insertableTextItems-1].
1000         (LayeringTextStage.prototype._nextTextItem): Moves the _textItemIndex one step forward in a loop [0..LayeringTextStage.textItems.length-1].
1001         (LayeringTextStage.prototype._previousTextItem): Moves the _textItemIndex one step backward in a loop.
1002         (LayeringTextStage.prototype._pushTextElement): Creates a new textItemElement and adds it to the topmost container <div>.
1003         (LayeringTextStage.prototype._popTextElement): Removes the last textItemElement from the topmost container <div>.
1004         (LayeringTextStage.prototype._colorTextItem): Changes the background color of a single colorable textElement. The index advances in a circle [0..colorableTextItems-1].
1005         (LayeringTextStage.prototype.animate): Changes the background color and the text color of the textElements such that a redraw is enforced.
1006         (LayeringTextStage.prototype.tune): Adds or removes textElements to the stage.
1007
1008         (LayeringTextBenchmark): Runs the benchmark for the layering text test.
1009         (LayeringTextBenchmark.prototype.createStage): Creates a stage of type LayeringTextStage.
1010         (window.benchmarkClient.create): Creates a benchmark of type LayeringTextBenchmark.
1011
1012 2015-10-02  Said Abou-Hallawa  <sabouhallawa@apple.com>
1013
1014         Add shared code for a new a graphics benchmark
1015         https://bugs.webkit.org/show_bug.cgi?id=149691
1016
1017         Reviewed by Ryosuke Niwa.
1018
1019         This set of classes will be shared and used by the tests and the runner
1020         of a new graphics benchmark.
1021
1022         * Animometer/resources: Added.
1023         * Animometer/resources/algorithm.js: Added.
1024         (Array.prototype.swap): Swaps two elements in an array.
1025         (Heap): Binary Min/Max Heap object
1026         (Heap.prototype._parentIndex): Given the child node index, it returns the parent index.
1027         (Heap.prototype._leftIndex): Given the parent node index, it returns the left node index.
1028         (Heap.prototype._rightIndex): Given the parent node index, it returns the right node index.
1029         (Heap.prototype._childIndex): Given the parent node index, it returns the child index that may violate the heap property.
1030         (Heap.prototype.init): Initializes the heap state.
1031         (Heap.prototype.top): Returns the value stored at the top of the heap.
1032         (Heap.prototype.push): Pushes a new node at the top of the heap.
1033         (Heap.prototype.pop): Extracts the top node of the heap.
1034         (Heap.prototype._bubble): Fixes the heap property by moving upward.
1035         (Heap.prototype._sink): Fixes the heap property by moving downward.
1036         (Heap.prototype.str): Prints the nodes of the heap to a string.
1037         (Heap.prototype.values): Returns the last "size" heap elements values.
1038
1039         (Algorithm.createMinHeap): Creates a size-bounded min-heap object.
1040         (Algorithm.createMaxHeap): Creates a size-bounded max-heap object.
1041         
1042         * Animometer/resources/extensions.js: Added.
1043         (Point): Point object but can be used as size also.
1044         (Point.pointOnCircle): Given, the radius of the circle and the angle of the point, it returns a point object.
1045         (Point.pointOnEllipse): Given, the radiuses of the ellipse and the angle of the point, it returns a point object.
1046         (Point.prototype.get width): Should be called when the point is used as size.
1047         (Point.prototype.get height): Should be called when the point is used as size.
1048         (Point.prototype.get center): Should be called when the point is used as size.
1049         (Point.prototype.add): Returns a new point = this + other.
1050         (Point.prototype.subtract): Returns a new point = this - other.
1051         (Point.prototype.multiply): Returns a new point = this * other.
1052         (Point.prototype.move): Moves the point in a given direction, velocity, time period.
1053
1054         (Insets): Represents borders of a container.
1055         (Insets.prototype.get width): Returns left + right.
1056         (Insets.prototype.get height): Returns top + bottom.
1057
1058         (SimplePromise):
1059         (SimplePromise.prototype.then):
1060         (SimplePromise.prototype.resolve):
1061         Moved from Animometer/runner/resources/benchmark-runner.js since tests also need it.
1062
1063         (Options): Benchmark running options as they are set by the user.
1064
1065         (ProgressBar): Manages a progress bar element. The progress bar is divided into equal length ranges.
1066         (ProgressBar.prototype._progressToPercent): Converts the progress into a percentage.
1067         (ProgressBar.prototype.incRange): Moves to the next range (a range is the running time of a single test).
1068         (ProgressBar.prototype.setPos): Draws the current progress in the current range.
1069
1070         (RecordTable): Shows the results of running a benchmark in a tabular form.
1071         (RecordTable.prototype.clear): Clears the results table.
1072         (RecordTable.prototype._showTitles): Shows the header titles and appends the sub-titles to a queue.
1073         (RecordTable.prototype._showHeader): Shows the table header titles.
1074         (RecordTable.prototype._showEmpty): Shows an empty table cell.
1075         (RecordTable.prototype._showValue): Shows a number value in the results table.
1076         (RecordTable.prototype._showSamples): Shows a button for the sampled data graph.
1077         (RecordTable.prototype._showTest): Shows the results of a single test.
1078         (RecordTable.prototype._showSuite): Shows the results of a single suite.
1079         (RecordTable.prototype.showRecord): Shows a single iteration for a single test.
1080         (RecordTable.prototype.showIterations): Shows the results of all the suites of the iterations. 
1081
1082         * Animometer/resources/sampler.js: Added.
1083         (Statistics.sampleMean): Returns the sample mean.
1084         (Statistics.unbiasedSampleStandardDeviation): Returns the unbiased sample variance (i.e. with Bessel's correction)
1085         (Statistics.geometricMean): Returns the geometric mean.
1086
1087         (Experiment): Represents a sampling experiment. 
1088         (Experiment.prototype._init): Called when the object is created and when startSampling() is called.
1089         (Experiment.prototype.startSampling): Called after warmup period. Restarts collecting sampled data points.
1090         (Experiment.prototype.sample): Add a new data point.
1091         (Experiment.prototype.mean): Returns the sample mean for the current sampled data points.
1092         (Experiment.prototype.standardDeviation): Returns the sample standard deviation for the current sampled data points.
1093         (Experiment.prototype.percentage): Returns the percentage of the standard deviation divided to the mean.
1094         (Experiment.prototype.confidenceIntervalDelta): Calculates the confidence delta for the current sampled data given a confidence level.
1095         (Experiment.prototype.concern): Returns the average of the worst given percentage from the sampled data.
1096         (Experiment.prototype.score): Returns a score for the sampled data. It is the geometric mean of sampleMean and concern.
1097
1098         (Sampler): Represents a compound experiment. It manages sampling multiple data points at the same time offset.
1099         (Sampler.prototype.startSampling): Called after warming up period. Restarts collecting sampled data points.
1100         (Sampler.prototype.sample): Add a new data vector at a given time offset.
1101         
1102 2015-10-02  Said Abou-Hallawa  <sabouhallawa@apple.com>
1103
1104         Add the test runner for a new a graphics benchmark
1105         https://bugs.webkit.org/show_bug.cgi?id=149683
1106
1107         Reviewed by Ryosuke Niwa.
1108
1109         The test runner collects the selected test suites and the running options
1110         from its home page. It loops through all the tests, runs them and collects
1111         their running results. At the end, it shows summary results and a final
1112         score. It can also show a chart for a test sampled data.
1113
1114         * Animometer: Added.
1115         * Animometer/runner: Added.
1116         * Animometer/runner/resources: Added.
1117         
1118         * Animometer/runner/animometer.html: Added.
1119         * Animometer/runner/resources/animometer.css: Added.
1120         The benchmark runner page and css.
1121
1122         * Animometer/runner/resources/animometer.js: Added.
1123         (window.benchmarkRunnerClient.willAddTestFrame): Called after the test <iframe> is created.
1124         (window.benchmarkRunnerClient.didRunTest): Called after running a test is finished.
1125         (window.benchmarkRunnerClient.willStartFirstIteration): Called at the beginning before running any test.
1126         (window.benchmarkRunnerClient.didRunSuites): Called after running all tests of a suite.
1127         (window.benchmarkRunnerClient.didFinishLastIteration): Called after running the last test.
1128         
1129         (showSection): Shows a section in the animometer.html page.
1130         (startTest): Called when the "Start Test" button is clicked.
1131         (showResults): Called after finishing all the tests.
1132         (showGraph): Called when "Click..." button in the "Samples" column of the results table is clicked
1133         
1134         * Animometer/runner/resources/benchmark-runner.js: Copied from PerformanceTests/Speedometer/resources/benchmark-runner.js.
1135         (BenchmarkRunnerState): Tracks the current running <suite, test>
1136         (BenchmarkRunnerState.prototype.currentSuite): Returns the current running suite.
1137         (BenchmarkRunnerState.prototype.currentTest): Returns the current running test.
1138         (BenchmarkRunnerState.prototype.isFirstTest): Returns true if we are running the first test in the current suite.
1139         (BenchmarkRunnerState.prototype.next): Advances to the next test.
1140         (BenchmarkRunnerState.prototype.prepareCurrentTest): Creates a new <iframe> and waits for it to load a test.
1141         
1142         (BenchmarkRunner): Manages running the tests and communicating with the benchmarkRunnerClient.
1143         (BenchmarkRunner.prototype.waitForElement): Waits for an element to be created.
1144         (BenchmarkRunner.prototype._appendFrame): Creates a new <iframe> element.
1145         (BenchmarkRunner.prototype._removeFrame): Removed the current <iframe> element.
1146         (BenchmarkRunner.prototype._runTestAndRecordResults): Runs the current test and saves its results.
1147         (BenchmarkRunner.prototype.step): Either runs the current test if there is or start a new iteration.
1148         (BenchmarkRunner.prototype.runAllSteps): Loops to run all the tests and move to the next iteration.
1149         (this._runNextIteration): Starts a new iteration or show the results.
1150         (BenchmarkRunner.prototype.runMultipleIterations): Loops to run all the iterations and show the results
1151         (BenchmarkRunner.prototype._finalize): Finalizes the current iteration and starts a new one.
1152
1153         (SimplePromise): Deleted.
1154         (SimplePromise.prototype.then): Deleted.
1155         (SimplePromise.prototype.resolve): Deleted.
1156         (BenchmarkTestStep): Deleted.
1157         (Fibonacci): Deleted.
1158         SimplePromise was moved t Animometer/resources/extensions.js because it is used by the runner and the tests.
1159         
1160         (BenchmarkRunner.prototype._waitAndWarmUp): Deleted.
1161         (BenchmarkRunner.prototype._runTest): Deleted.
1162         (BenchmarkState.prototype.currentSuite): Deleted.
1163         (BenchmarkState.prototype.currentTest): Deleted.
1164         (BenchmarkState.prototype.next): Deleted.
1165         (BenchmarkState.prototype.isFirstTest): Deleted.
1166         (BenchmarkState.prototype.prepareCurrentSuite): Deleted.
1167         BenchmarkState was renamed to BenchmarkRunnerState to not be confused with the tests BenchmarkState.
1168         
1169         * Animometer/runner/resources/d3.min.js: Copied from Websites/perf.webkit.org/public/v2/js/d3/d3.min.js.
1170         Needed for drawing charts for the sampled scores and frame rates.
1171         
1172         * Animometer/runner/resources/graph.js: Added.
1173         (graph): Draws a chart for a test sampled data. It shows two y-axes: one for the animated items and the second for FPS.
1174                 
1175         * Skipped: Skip the Animometer benchmark for now.
1176
1177 2015-08-27  Csaba Osztrogonác  <ossy@webkit.org>
1178
1179         [EFL] REGRESSION(r188793): It made 200 layout tests and Bindings/event-target-wrapper.html performance test fail
1180         https://bugs.webkit.org/show_bug.cgi?id=148470
1181
1182         Unreviewed gardening, skip the hanging test to make the performance bot work.
1183
1184         * Skipped:
1185
1186 2015-08-17  Chris Dumez  <cdumez@apple.com>
1187
1188         Add performance tests for traversal of collections returned by getElementsByClassName() / getElementsByTagName()
1189         https://bugs.webkit.org/show_bug.cgi?id=148080
1190
1191         Reviewed by Antti Koivisto.
1192
1193         Add performance tests for traversal of *uncached* collections returned
1194         by getElementsByClassName() / getElementsByTagName(). These methods
1195         will soon be updated to return an HTMLCollection instead of a
1196         NodeList and we need to make sure we don't regress performance in the
1197         process.
1198
1199         * DOM/get-elements-by-class-name-traversal-uncached.html: Added.
1200         * DOM/get-elements-by-tag-name-traversal-uncached.html: Added.
1201
1202 2015-08-14  Chris Dumez  <cdumez@apple.com>
1203
1204         Add performance tests for NodeList and HTMLCollection traversal
1205         https://bugs.webkit.org/show_bug.cgi?id=148043
1206
1207         Reviewed by Gavin Barraclough.
1208
1209         Add performance tests for NodeList and HTMLCollection traversal.
1210         Ideally, those 2 tests should be as fast. However, due to inefficiencies
1211         in our HTMLCollection bindings code, the HTMLCollection tests is ~30%
1212         slower. This will be addressed in the near future.
1213
1214         * Bindings/childNodes-traversal.html: Added.
1215         * Bindings/children-traversal.html: Added.
1216
1217 2015-08-05  Myles C. Maxfield  <mmaxfield@apple.com>
1218
1219         Add a second font-fallback performance test
1220         https://bugs.webkit.org/show_bug.cgi?id=147692
1221
1222         Reviewed by Ryosuke Niwa.
1223
1224         This test is smaller, but has more realistic content. Also, it uses the "lang" attribute.
1225
1226         * Layout/font-fallback-2.html: Added.
1227         * Layout/resources/font-fallback-2.html: Added.
1228
1229 2015-07-13  Filip Pizlo  <fpizlo@apple.com>
1230
1231         Update JetStream version number to 1.1.
1232
1233         Rubber stamped by Ryosuke Niwa.
1234
1235         * JetStream/create.rb:
1236
1237 2015-06-30  Filip Pizlo  <fpizlo@apple.com>
1238
1239         Update the JetStream documentation to reflect the recent changes
1240         https://bugs.webkit.org/show_bug.cgi?id=146474
1241
1242         Reviewed by Geoffrey Garen.
1243
1244         * JetStream/create.rb: Bump the version.
1245         * JetStream/in-depth-TEMPLATE.html: Add cdjs documentation. Remove cordic documentation. Change documentation for splay and mandreel.
1246
1247 2015-06-26  Filip Pizlo  <fpizlo@apple.com>
1248
1249         [JetStream] Raise the percentile of mandreel-latency and splay-latency
1250         https://bugs.webkit.org/show_bug.cgi?id=146378
1251
1252         Reviewed by Mark Lam.
1253         
1254         The current percentile is 95%.  When I looked at the sample lists in our GC, it was
1255         clear that the worst 5% samples completely amortize our GC pauses.  Our GC pauses can
1256         be quite bad.  Clearly, splay-latency is meant to test whether we have an incremental
1257         GC that ensures that you don't have bad worst-case pauses.  But 95% is too small,
1258         because it doesn't really capture those pauses.  Raising the percentile to above 99%
1259         appears to do the trick.  99.5% or more seems like a good bet.  The trade-off there is
1260         just that if we set it too high, then we won't have enough statistics.  Doing this very
1261         clearly rewards GCs that are incremental, and punishes GCs that aren't (like ours).
1262         That's what we want, since in the future we want to use this test to guide any
1263         improvements to the worst-case performance of our GC.
1264
1265         The way that the percentile is selected will also affect mandreel-latency.  That's a
1266         good thing, because 95% is probably too low for that test as well.  That test ends up
1267         with >10k samples.  The goal of using 95% in the first place was to get enough samples
1268         to have a stable average.  But if we have >10k samples, we can push that percentile up
1269         much higher and still get good statistics while achieving the effect we want - i.e.
1270         getting the worst case.
1271
1272         I don't think that we need to do the same thing for cdjs.  That test only takes 200
1273         samples, so 95% means we report the average of the worst 10 samples.  That's probably
1274         good enough.
1275
1276         * JetStream/Octane2/base.js: Raise the percentile as described above.
1277         (BenchmarkSuite.prototype.RunSingleBenchmark):
1278         * JetStream/Reference.js: Tweak the reference times to bring the latency tests closer to 100ish on my machine.
1279         * JetStream/create.rb: Bump the version.
1280
1281 2015-06-19  Filip Pizlo  <fpizlo@apple.com>
1282
1283         Run CDjs as part of JSC stress testing
1284         https://bugs.webkit.org/show_bug.cgi?id=146174
1285
1286         Reviewed by Geoffrey Garen.
1287
1288         * JetStream/cdjs/cdjs-tests.yaml: Added. This tells JSC stress tests what tests to run. It uses new syntax ("tests" being a list) that I add in this change.
1289         * JetStream/cdjs/main.js: Mark this as a slow test.
1290         * JetStream/create.rb: Don't copy the JSC stress tests artifacts into the JetStream bundle.
1291
1292 2015-06-19  Filip Pizlo  <fpizlo@apple.com>
1293
1294         Unreviewed, fix a small indentation goof.
1295
1296         * JetStream/cdjs/motion.js:
1297         (Motion.prototype.findIntersection):
1298
1299 2015-06-19  Filip Pizlo  <fpizlo@apple.com>
1300
1301         JetStream should include a JavaScript version of the CDx real-time benchmark
1302         https://bugs.webkit.org/show_bug.cgi?id=146156
1303
1304         Reviewed by Geoffrey Garen.
1305         
1306         This adds a JavaScript port of the CDx real-time benchmark to JetStream, and retires
1307         the cordic test because it was previously the smallest and probably least interesting.
1308         
1309         The new test, "cdjs", is mostly a faithful rewrite of the Java code into JavaScript.
1310         I got the Java code from https://www.cs.purdue.edu/sss/projects/cdx/.
1311         
1312         There are some differences:
1313         
1314         - It uses RedBlackTree's for all sets and maps rather than hashtables. This is clearly
1315           more in the spirit of real-time than the CDx benchmark. FWIW, CDx used to use trees
1316           and I don't know why that changed in the latest version.
1317         
1318         - CDjs doesn't attempt to avoid memory allocations, unlike the real-time Java version.
1319           I wrote the code that I wanted to write for aesthetics, rather than the code that I
1320           would have written if I tried to write the fastest code possible. Again, I believe
1321           that this is in the spirit of CDj - it's meant to test what would happen if you wrote
1322           real-timey stuff in a high level language and actually took advantage of that
1323           language to be more productive.
1324         
1325         The test score reflects the average latency of the worst 10 samples out of 200 samples.
1326         The simulation uses 1000 aircraft, flying along paths that result in some detected
1327         collisions every once in a while. The benchmark validates its results by checking the
1328         total number of collisions detected.
1329         
1330         Apart from the integration into the JetStream harness, the CDjs directory contains a
1331         fully self-contained benchmark that could be run either in the jsc shell or in browser.
1332         
1333         This new code uses the same 3-clause BSD license as the Purdue code, and gives
1334         attribution to Purdue in almost all files. I believe that is appropriate since I wrote
1335         most of the JS files by looking at the Purdue Java code and trascribing to JavaScript.
1336         In some cases, I even copy-pasted the Java code, like the complicated math for
1337         four-dimensional intersections and voxel hashing.
1338
1339         * JetStream/CDjsSetup.js: Added.
1340         * JetStream/Octane2Setup.js:
1341         * JetStream/Reference.js:
1342         * JetStream/cdjs: Added.
1343         * JetStream/cdjs/benchmark.js: Added.
1344         (benchmark):
1345         * JetStream/cdjs/call_sign.js: Added.
1346         (CallSign):
1347         (CallSign.prototype.compareTo):
1348         (CallSign.prototype.toString):
1349         * JetStream/cdjs/collision.js: Added.
1350         (Collision):
1351         (Collision.prototype.toString):
1352         * JetStream/cdjs/collision_detector.js: Added.
1353         (CollisionDetector):
1354         (CollisionDetector.prototype.handleNewFrame.get for):
1355         (CollisionDetector.prototype.handleNewFrame):
1356         * JetStream/cdjs/constants.js: Added.
1357         * JetStream/cdjs/main.html: Added.
1358         * JetStream/cdjs/main.js: Added.
1359         * JetStream/cdjs/motion.js: Added.
1360         (Motion):
1361         (Motion.prototype.toString):
1362         (Motion.prototype.delta):
1363         (Motion.prototype.findIntersection):
1364         * JetStream/cdjs/motion_test.js: Added.
1365         (checkDoesIntersect):
1366         (checkDoesNotIntersect):
1367         (makeMotion):
1368         * JetStream/cdjs/red_black_tree.js: Added.
1369         (RedBlackTree):
1370         (RedBlackTree.):
1371         * JetStream/cdjs/red_black_tree_test.js: Added.
1372         (test):
1373         (test.):
1374         * JetStream/cdjs/reduce_collision_set.js: Added.
1375         (drawMotionOnVoxelMap):
1376         (drawMotionOnVoxelMap.):
1377         (.get reduceCollisionSet):
1378         * JetStream/cdjs/reduce_collision_set_test.js: Added.
1379         (makeMotion):
1380         (keys):
1381         (test):
1382         * JetStream/cdjs/simulator.js: Added.
1383         (Simulator):
1384         (Simulator.prototype.simulate):
1385         * JetStream/cdjs/util.js: Added.
1386         (compareNumbers):
1387         (averageAbovePercentile):
1388         (currentTime):
1389         (else.currentTime):
1390         * JetStream/cdjs/vector_2d.js: Added.
1391         (Vector2D):
1392         (Vector2D.prototype.plus):
1393         (Vector2D.prototype.minus):
1394         (Vector2D.prototype.toString):
1395         (Vector2D.prototype.compareTo):
1396         * JetStream/cdjs/vector_3d.js: Added.
1397         (Vector3D):
1398         (Vector3D.prototype.plus):
1399         (Vector3D.prototype.minus):
1400         (Vector3D.prototype.dot):
1401         (Vector3D.prototype.squaredMagnitude):
1402         (Vector3D.prototype.magnitude):
1403         (Vector3D.prototype.times):
1404         (Vector3D.prototype.as2D):
1405         (Vector3D.prototype.toString):
1406         * JetStream/create.rb:
1407         * JetStream/index-TEMPLATE.html:
1408         * JetStream/sunspider/cordic.js: Removed.
1409
1410 2015-06-17  Javier Fernandez  <jfernandez@igalia.com>
1411
1412         [CSS Grid Layout] We should add performance tests for stretching logic
1413         https://bugs.webkit.org/show_bug.cgi?id=146063
1414
1415         Reviewed by Sergio Villar Senin.
1416
1417         Added a new performance test for Grid Layout to ensure there are no
1418         regressions in the stretching alignment logic.
1419
1420         * Layout/fixed-grid-lots-of-stretched-data.html: Added.
1421
1422 2015-06-17  Javier Fernandez  <jfernandez@igalia.com>
1423
1424         [CSS Grid Layout] Performance tests are using the old syntax
1425         https://bugs.webkit.org/show_bug.cgi?id=146061
1426
1427         Reviewed by Sergio Villar Senin.
1428
1429         Adapted tests to the new grid tracks definition syntax.
1430
1431         * Layout/auto-grid-lots-of-data.html:
1432         * Layout/fixed-grid-lots-of-data.html:
1433
1434 2015-06-08  Filip Pizlo  <fpizlo@apple.com>
1435
1436         JetStream should have a more rational story for jitter-oriented latency tests
1437         https://bugs.webkit.org/show_bug.cgi?id=145762
1438
1439         Reviewed by Geoffrey Garen.
1440         
1441         JetStream has some latency tests that are meant to measure jitter.  Prior to this change, they
1442         did this by computing the RMS.  But the RMS is a pretty bad metric.  The thing that it rewards
1443         isn't really the thing that you'd want your browser to do.  These RMS-based tests involve taking
1444         the geomean of the RMS of some samples and the sample average.  The lower the geomean, the better
1445         (in the JetStream harness we then invert the scores so that higher is better, but let's ignore
1446         that for this discussion and assume that lower is better).  Here's an example of how this can go
1447         bad.  A browser that always computes a task in some horribly long time (say, 1000ms) but never
1448         varies that time will perform better than a browser that usually computes the task super quickly
1449         (say, 10ms) and sometimes just a little bit less quickly (say, 15ms).  The former browser will
1450         have an RMS of 0 and an average of 1000.  The latter will have a RMS somewhere around 3.5 and an
1451         average of 12.5 (assuming equal probability of 10ms and 15ms).  The geomean of (0, 1000) is 0.
1452         The geomean of (3.5, 12.5) is 6.6.  Lower is better, so the former browser scores higher - even
1453         though it's obviously never better to have a browser always complete a task in 1000ms when a
1454         different browser can do it in 15ms in the worst case.
1455
1456         JetStream should not have this pathology.  The right way of avoiding it is to replace RMS with
1457         some other metric of how bad things get.  A good metric is the average of the worst percentile.
1458         The worst 1% or the worst 5% would be good things to average.  This will catch cases where the VM
1459         jittered due to JIT or GC, but it never have the pathology that we end up giving the better score
1460         to a VM whose best case is worst than another VM's worst case.
1461         
1462         For now, this change uses the highest samples above the 95% percentile. I'm not yet sure if that
1463         is the best thing - it might include too many scores that are around the best-case performance -
1464         but it's certainly better than RMS and it might be good enough to keep. But because of that
1465         uncertainty, I'm setting the version to be "1.1-alpha1" to indicate that we aren't ready to
1466         release this yet.
1467
1468         * JetStream/Octane2/base.js:
1469         (.this.Setup.setup.setup):
1470         (.this.TearDown.tearDown.tearDown):
1471         (BenchmarkSuite.GeometricMeanTime):
1472         (BenchmarkSuite.AverageAbovePercentile):
1473         (BenchmarkSuite.GeometricMeanLatency):
1474         (BenchmarkSuite.prototype.NotifyStep):
1475         (BenchmarkSuite.prototype.RunSingleBenchmark):
1476         * JetStream/Octane2/mandreel.js:
1477         (setupMandreel):
1478         (updateMandreelStats):
1479         (startMandreelTimer):
1480         (latencyMandreel):
1481         (tearDownMandreel):
1482         (RMSMandreel): Deleted.
1483         * JetStream/Octane2/splay.js:
1484         (GenerateKey):
1485         (SplayUpdateStats):
1486         (InsertNewNode):
1487         (SplayTearDown):
1488         (SplayRMS): Deleted.
1489         * JetStream/create.rb:
1490
1491 2015-06-03  Zalan Bujtas  <zalan@apple.com>
1492
1493         Skip Dromaeo/jslib-modify-prototype.html for now.
1494
1495         Unreviewed gardening.
1496
1497         * Skipped:
1498
1499 2015-05-04  Filip Pizlo  <fpizlo@apple.com>
1500
1501         Large array shouldn't be slow
1502         https://bugs.webkit.org/show_bug.cgi?id=144617
1503
1504         Reviewed by Geoffrey Garen.
1505         
1506         Add the hash-map benchmark to LongSpider. LongSpider was already not a perfect match of
1507         SunSpider. It's not an official benchmark. It contains benchmarks that are relatively
1508         long-running. So, hash-map sort of belongs here.
1509
1510         * LongSpider/hash-map.js: Added.
1511         (HashMap):
1512         (HashMap.):
1513         (.get var):
1514
1515 2015-05-01  Dewei Zhu  <dewei_zhu@apple.com>
1516
1517         Fix typo bug in Speedometer/resources/main.js
1518         https://bugs.webkit.org/show_bug.cgi?id=144504
1519
1520         Reviewed by Ryosuke Niwa. 
1521
1522         * Speedometer/resources/main.js: Fix typo.
1523         (window.benchmarkClient.totalTimeInDisplayUnit):
1524
1525 2015-04-21  Ryosuke Niwa  <rniwa@webkit.org>
1526
1527         Add JetStream to PerformanceTests
1528         https://bugs.webkit.org/show_bug.cgi?id=144024
1529
1530         Rubber-stamped by Filip Pizlo.
1531
1532         * JetStream: Added.
1533         * JetStream/JetStream-Logo.png: Added.
1534         * JetStream/JetStream-Logo@2x.png: Added.
1535         * JetStream/JetStream.css: Added.
1536         * JetStream/JetStreamDriver.js: Added.
1537         * JetStream/LICENSE.txt: Added.
1538         * JetStream/LLVM-test-suite-LICENSE.txt: Added.
1539         * JetStream/Octane: Added.
1540         * JetStream/Octane/base.js: Added.
1541         * JetStream/Octane/code-load.js: Added.
1542         * JetStream/Octane2: Added.
1543         * JetStream/Octane2/base.js: Added.
1544         * JetStream/Octane2/box2d.js: Added.
1545         * JetStream/Octane2/code-load.js: Added.
1546         * JetStream/Octane2/crypto.js: Added.
1547         * JetStream/Octane2/deltablue.js: Added.
1548         * JetStream/Octane2/earley-boyer.js: Added.
1549         * JetStream/Octane2/gbemu-part1.js: Added.
1550         * JetStream/Octane2/gbemu-part2.js: Added.
1551         * JetStream/Octane2/mandreel.js: Added.
1552         * JetStream/Octane2/navier-stokes.js: Added.
1553         * JetStream/Octane2/pdfjs.js: Added.
1554         * JetStream/Octane2/raytrace.js: Added.
1555         * JetStream/Octane2/regexp.js: Added.
1556         * JetStream/Octane2/richards.js: Added.
1557         * JetStream/Octane2/run.js: Added.
1558         * JetStream/Octane2/splay.js: Added.
1559         * JetStream/Octane2/typescript-compiler.js: Added.
1560         * JetStream/Octane2/typescript-input.js: Added.
1561         * JetStream/Octane2/typescript.js: Added.
1562         * JetStream/Octane2/zlib-data.js: Added.
1563         * JetStream/Octane2/zlib.js: Added.
1564         * JetStream/Octane2Setup.js: Added.
1565         * JetStream/OctaneSetup.js: Added.
1566         * JetStream/README: Added.
1567         * JetStream/Reference.js: Added.
1568         * JetStream/SimpleSetup.js: Added.
1569         * JetStream/SunSpiderSetup.js: Added.
1570         * JetStream/Swoosh.png: Added.
1571         * JetStream/Swoosh@2x.png: Added.
1572         * JetStream/TestingSetup.js: Added.
1573         * JetStream/create.rb: Added.
1574         * JetStream/docs: Added.
1575         * JetStream/docs/JetStreamBlogPost.html: Added.
1576         * JetStream/in-depth-TEMPLATE.html: Added.
1577         * JetStream/index-TEMPLATE.html: Added.
1578         * JetStream/simple: Added.
1579         * JetStream/simple/bigfib.cpp: Added.
1580         * JetStream/simple/bigfib.cpp.js: Added.
1581         * JetStream/simple/container.cpp: Added.
1582         * JetStream/simple/container.cpp.js: Added.
1583         * JetStream/simple/dry.c: Added.
1584         * JetStream/simple/dry.c.js: Added.
1585         * JetStream/simple/float-mm.c: Added.
1586         * JetStream/simple/float-mm.c.js: Added.
1587         * JetStream/simple/gcc-loops.cpp: Added.
1588         * JetStream/simple/gcc-loops.cpp.js: Added.
1589         * JetStream/simple/hash-map.js: Added.
1590         * JetStream/simple/n-body.c: Added.
1591         * JetStream/simple/n-body.c.js: Added.
1592         * JetStream/simple/quicksort.c: Added.
1593         * JetStream/simple/quicksort.c.js: Added.
1594         * JetStream/simple/towers.c: Added.
1595         * JetStream/simple/towers.c.js: Added.
1596         * JetStream/sunspider: Added.
1597         * JetStream/sunspider/3d-cube.js: Added.
1598         * JetStream/sunspider/3d-raytrace.js: Added.
1599         * JetStream/sunspider/base64.js: Added.
1600         * JetStream/sunspider/cordic.js: Added.
1601         * JetStream/sunspider/crypto-aes.js: Added.
1602         * JetStream/sunspider/crypto-md5.js: Added.
1603         * JetStream/sunspider/crypto-sha1.js: Added.
1604         * JetStream/sunspider/date-format-tofte.js: Added.
1605         * JetStream/sunspider/date-format-xparb.js: Added.
1606         * JetStream/sunspider/n-body.js: Added.
1607         * JetStream/sunspider/regex-dna.js: Added.
1608         * JetStream/sunspider/tagcloud.js: Added.
1609
1610 2015-04-14  Said Abou-Hallawa  <sabouhallawa@apple.com>
1611
1612         textPath layout performance improvement.
1613         https://bugs.webkit.org/show_bug.cgi?id=141570.
1614
1615         Reviewed by Darin Adler.
1616
1617         Cut down the time spent in traversing the path for text by 50%. Instead
1618         of traversing the path twice at a certain length: one time for the position
1619         and the second time for the angle, we can merge these two passes into one.
1620
1621         * SVG/TextOnPathSimple.html: Added.
1622         * SVG/resources/TextOnPathSimple.svg: Added.
1623
1624 2015-04-13  Zalan Bujtas  <zalan@apple.com>
1625
1626         Clear up the test content when test is done.
1627
1628         Unreviewed fix.
1629
1630         * Layout/simple-line-layout-innertext.html:
1631
1632 2015-04-09  Zalan Bujtas  <zalan@apple.com>
1633
1634         Simple line layout(regression): Calling innerText on RenderFlow with multiple children is slow.
1635         https://bugs.webkit.org/show_bug.cgi?id=143554
1636
1637         Reviewed by Antti Koivisto.
1638
1639         Initialize render flow's segments only when the render flow changes in TextIterator.
1640         The included performance test shows 6x speedup. (from ~10 runs/sec to ~60 runs/sec)
1641
1642         * Layout/simple-line-layout-innertext.html: Added.
1643
1644 2015-03-09  Chris Dumez  <cdumez@apple.com>
1645
1646         [CG] Have Canvas use the IOSurfacePool
1647         https://bugs.webkit.org/show_bug.cgi?id=142417
1648         <rdar://problem/20044440>
1649
1650         Reviewed by Darin Adler.
1651
1652         Lower the number of different canvas sizes from 1000 to 100 so that
1653         the test does not require such a huge cache size. With 100, we now
1654         get over 90% cache hit rate with the default IOSurfacePool size.
1655
1656         * Canvas/reuse.html:
1657
1658 2015-01-28  Said Abou-Hallawa  <sabouhallawa@apple.com>
1659
1660         Poor performance on IE's Chalkboard benchmark.
1661         https://bugs.webkit.org/show_bug.cgi?id=140753.
1662
1663         Reviewed by Zalan Bujtas.
1664
1665         * SVG/UnderTheSeeBenchmark.html: Added
1666         * SVG/WorldcupBenchmark.html: Added.
1667         * SVG/resources/RenderAnimator.css: Added.
1668         * SVG/resources/RenderAnimator.js: Added.
1669         These are benchmarks for the SVG rendering. Mainly we want to measure how fast
1670         the SVG rendering will be when only a small part of it is drawn.
1671         
1672 2015-01-21  Geoffrey Garen  <ggaren@apple.com>
1673
1674         bmalloc: support aligned allocation
1675         https://bugs.webkit.org/show_bug.cgi?id=140732
1676
1677         Reviewed by Andreas Kling.
1678
1679         * MallocBench/MallocBench.xcodeproj/project.pbxproj:
1680         * MallocBench/MallocBench/Benchmark.cpp:
1681         * MallocBench/MallocBench/memalign.cpp:
1682         (test):
1683         (benchmark_memalign): Added a test for specific interesting memalign values.
1684
1685         * MallocBench/MallocBench/stress_aligned.cpp: Added.
1686         (benchmark_stress_aligned):
1687         * MallocBench/MallocBench/stress_aligned.h: Added. Added a stress test
1688         for arbitrary memalign values.
1689
1690 2015-01-16  Geoffrey Garen  <ggaren@apple.com>
1691
1692         bmalloc: added the tiniest bit of testing for aligned allocation
1693         https://bugs.webkit.org/show_bug.cgi?id=140573
1694
1695         Reviewed by Andreas Kling.
1696
1697         Just good enoug to catch two bugs in a preliminary implementation.
1698
1699         * MallocBench/MallocBench.xcodeproj/project.pbxproj:
1700         * MallocBench/MallocBench/Benchmark.cpp:
1701         * MallocBench/MallocBench/mbmalloc.cpp:
1702         * MallocBench/MallocBench/mbmalloc.h:
1703         * MallocBench/MallocBench/memalign.cpp: Added.
1704         (benchmark_memalign):
1705         * MallocBench/MallocBench/memalign.h: Added.
1706
1707 2014-12-09  Myles C. Maxfield  <mmaxfield@apple.com>
1708
1709         Add performance test related to font fallback
1710         https://bugs.webkit.org/show_bug.cgi?id=139332
1711
1712         Reviewed by Simon Fraser.
1713
1714         * Layout/font-fallback.html: Added.
1715         * Layout/resources/font-fallback.html: Added.
1716
1717 2014-12-08  Dean Jackson  <dino@apple.com>
1718
1719         [Apple] Use Accelerate framework to speed-up FEGaussianBlur
1720         https://bugs.webkit.org/show_bug.cgi?id=139310
1721
1722         Reviewed by Simon Fraser.
1723
1724         Add an interactive performance test that measures the speed of a set
1725         of blur operations on a generated images.
1726
1727         * Interactive/blur-filter-timing.html: Added.
1728
1729 2014-11-13  Zalan Bujtas  <zalan@apple.com>
1730
1731         Simple line layout: Add performance test case to measure line layout speed of monolithic text content.
1732         https://bugs.webkit.org/show_bug.cgi?id=138699
1733
1734         Reviewed by Antti Koivisto.
1735
1736         * Layout/line-layout-long-long-text.html: Added.
1737
1738 2014-10-22  Zalan Bujtas  <zalan@apple.com>
1739
1740         Speed up line parsing for simple line layout (part I)
1741         https://bugs.webkit.org/show_bug.cgi?id=137275
1742
1743         Reviewed by Antti Koivisto.
1744
1745         Extend simple line layout performance test with a few more cases.
1746         Now we've got:
1747         <div center
1748         <div right
1749         <div justify
1750         <div white-space: pre (new)
1751         <div overflow-wrap: break-word (new)
1752         <pre
1753         <pre white-space: pre-wrap
1754         <pre white-space: pre-line (new)
1755         <pre white-space: nowrap (new)
1756         <pre white-space: pre-wrap overflow-wrap: break-word
1757         <div + embedded <span etc.
1758         <div + br
1759
1760         * Layout/line-layout-simple.html:
1761
1762 2014-10-15  Andrei Bucur  <abucur@adobe.com>
1763
1764         [Multicol] Start adding performance tests for the multi-column implementation
1765         https://bugs.webkit.org/show_bug.cgi?id=137687
1766
1767         Reviewed by Mihnea Ovidenie.
1768
1769         This patch creates a Multicol folder inside the Layout performance tests suite. It adds only two tests
1770         as described below.
1771
1772         The tests are skipped until the implementation stabilizes.
1773
1774         * Layout/Multicol/MulticolManyColumns.html: Added.
1775         This test verifies the performance of the multi-column implementation with two nested multi-column
1776         containers, the first having 20 columns and the second 10 columns.
1777
1778         * Layout/Multicol/MulticolNested.html: Added.
1779         This test verifies the performance of nesting multi-column containers in the presence
1780         of floats.
1781
1782         * Layout/Multicol/resources/multicol-content-many-columns.html: Added.
1783         * Layout/Multicol/resources/multicol-content-nested.html: Added.
1784         * Skipped: Skip the Multicol folder for now.
1785
1786 2014-09-29  Filip Pizlo  <fpizlo@apple.com>
1787
1788         It should be fun and easy to run every possible JavaScript benchmark from the command line
1789         https://bugs.webkit.org/show_bug.cgi?id=137245
1790
1791         Reviewed by Oliver Hunt.
1792         
1793         This adds the scaffolding for running Octane version 2 inside run-jsc-benchmarks.
1794         In the future we should just land Octane2 in this directory, and run-jsc-benchmarks
1795         should be changed to point directly at this directory instead of requiring the
1796         Octane path to be configured as part of the configuration file.
1797
1798         * Octane: Added.
1799         * Octane/wrappers: Added.
1800         * Octane/wrappers/jsc-box2d.js: Added.
1801         (jscSetUp):
1802         (jscTearDown):
1803         (jscRun):
1804         * Octane/wrappers/jsc-boyer.js: Added.
1805         (jscSetUp):
1806         (jscTearDown):
1807         (jscRun):
1808         * Octane/wrappers/jsc-closure.js: Added.
1809         (jscSetUp):
1810         (jscTearDown):
1811         (jscRun):
1812         * Octane/wrappers/jsc-decrypt.js: Added.
1813         (jscSetUp):
1814         (jscTearDown):
1815         (jscRun):
1816         * Octane/wrappers/jsc-deltablue.js: Added.
1817         (jscSetUp):
1818         (jscTearDown):
1819         (jscRun):
1820         * Octane/wrappers/jsc-earley.js: Added.
1821         (jscSetUp):
1822         (jscTearDown):
1823         (jscRun):
1824         * Octane/wrappers/jsc-encrypt.js: Added.
1825         (jscSetUp):
1826         (jscTearDown):
1827         (jscRun):
1828         * Octane/wrappers/jsc-gbemu.js: Added.
1829         (jscSetUp):
1830         (jscTearDown):
1831         (jscRun):
1832         * Octane/wrappers/jsc-jquery.js: Added.
1833         (jscSetUp):
1834         (jscTearDown):
1835         (jscRun):
1836         * Octane/wrappers/jsc-mandreel.js: Added.
1837         (jscSetUp):
1838         (jscTearDown):
1839         (jscRun):
1840         * Octane/wrappers/jsc-navier-stokes.js: Added.
1841         (jscSetUp):
1842         (jscTearDown):
1843         (jscRun):
1844         * Octane/wrappers/jsc-pdfjs.js: Added.
1845         (jscSetUp.PdfJS_window.console.log):
1846         (jscSetUp):
1847         (jscTearDown):
1848         (jscRun):
1849         * Octane/wrappers/jsc-raytrace.js: Added.
1850         (jscSetUp):
1851         (jscTearDown):
1852         (jscRun):
1853         * Octane/wrappers/jsc-regexp.js: Added.
1854         (jscSetUp):
1855         (jscTearDown):
1856         (jscRun):
1857         * Octane/wrappers/jsc-richards.js: Added.
1858         (jscSetUp):
1859         (jscTearDown):
1860         (jscRun):
1861         * Octane/wrappers/jsc-splay.js: Added.
1862         (jscSetUp):
1863         (jscTearDown):
1864         (jscRun):
1865         * Octane/wrappers/jsc-typescript.js: Added.
1866         (jscSetUp):
1867         (jscTearDown):
1868         (jscRun):
1869         * Octane/wrappers/jsc-zlib.js: Added.
1870         (jscSetUp):
1871         (jscTearDown):
1872         (jscRun):
1873
1874 2014-09-28  Sungmann Cho  <sungmann.cho@navercorp.com>
1875
1876         Fix some minor typos: psuedo -> pseudo
1877         https://bugs.webkit.org/show_bug.cgi?id=137192
1878
1879         Reviewed by Alexey Proskuryakov.
1880
1881         * Speedometer/resources/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js:
1882
1883 2014-09-11  Geoffrey Garen  <ggaren@apple.com>
1884
1885         Some MallocBench refinements
1886         https://bugs.webkit.org/show_bug.cgi?id=136750
1887
1888         Reviewed by Sam Weinig.
1889
1890         * MallocBench/MallocBench/Interpreter.cpp:
1891         (Interpreter::run): Allow for null entries in the object list so that
1892         we can test in modes that exclude large or small allocations.
1893
1894         * MallocBench/MallocBench/churn.cpp:
1895         (benchmark_churn):
1896         * MallocBench/MallocBench/flickr.cpp:
1897         (benchmark_flickr):
1898         * MallocBench/MallocBench/fragment.cpp:
1899         (benchmark_fragment_iterate):
1900         * MallocBench/MallocBench/list.cpp:
1901         (benchmark_list_allocate):
1902         * MallocBench/MallocBench/reddit.cpp:
1903         (benchmark_reddit): Updated test runtimes to weight them more equally,
1904         for the sake of arithmetic mean.
1905
1906         * MallocBench/MallocBench/stress.cpp:
1907         (Object::Object):
1908         (allocate):
1909         (deallocate):
1910         (benchmark_stress): Verify the contents of memory as we go. Also,
1911         force scavenging each time through the loop to test the scavenging path.
1912
1913         * MallocBench/MallocBench/theverge.cpp:
1914         (benchmark_theverge):
1915         * MallocBench/MallocBench/tree.cpp:
1916         (benchmark_tree_churn): Re-weighted, as above.
1917
1918 2014-09-08  Myles C. Maxfield  <mmaxfield@apple.com>
1919
1920         PerformanceTests/SVG/SVG-Text.html has unparsable output
1921         https://bugs.webkit.org/show_bug.cgi?id=136648
1922
1923         Reviewed by Gavin Barraclough.
1924
1925         I need to clean up the arbitrary text on the page before telling
1926         the test runner infrastructure that the test is complete.
1927
1928         * SVG/SVG-Text.html:
1929
1930 2014-09-05  Myles C. Maxfield  <mmaxfield@apple.com>
1931
1932         Laying out a TextRun using an SVG font is O(n^2)
1933         https://bugs.webkit.org/show_bug.cgi?id=136584
1934
1935         Reviewed by Andreas Kling.
1936
1937         Time how long it takes to lay out and render some text using an SVG font.
1938
1939         * SVG/SVG-Text.html: Added.
1940         * SVG/resources/graffiti.svg: Added.
1941
1942 2014-09-02  Geoffrey Garen  <ggaren@apple.com>
1943
1944         MallocBench should have a stress test for correctness
1945         https://bugs.webkit.org/show_bug.cgi?id=136468
1946
1947         Reviewed by Andreas Kling.
1948
1949         Added a stress test that allocates randomized sizes of randomized
1950         lifetimes in randomized order.
1951
1952         This version of the test reproduces the EWS crash seen in bmalloc
1953         (<https://bugs.webkit.org/show_bug.cgi?id=132629>).
1954
1955         * MallocBench/MallocBench.xcodeproj/project.pbxproj:
1956         * MallocBench/MallocBench/Benchmark.cpp: Sort!
1957         * MallocBench/MallocBench/stress.cpp: Added.
1958         (Object::Object):
1959         (SizeStream::SizeStream):
1960         (SizeStream::next):
1961         (benchmark_stress): Usually, we random(0). Surprisingly, though, only
1962         random(1) reproduces the bug I was looking for.
1963         * MallocBench/MallocBench/stress.h: Added.
1964
1965 2014-06-02  Ryosuke Niwa  <rniwa@webkit.org>
1966
1967         Rename DoYouEvenBench 0.17 to Speedometer 1.0 and add a new look.
1968         https://bugs.webkit.org/show_bug.cgi?id=133455
1969
1970         Reviewed by Timothy Hatcher.
1971
1972         * Speedometer/: Renamed from DoYouEvenBench.
1973         * Skipped: Updated the path for InteractiveRunner.html
1974
1975 2014-06-02  Ryosuke Niwa  <rniwa@webkit.org>
1976
1977         Rename DoYouEvenBench 0.17 to Speedometer 1.0 and add a new look.
1978         https://bugs.webkit.org/show_bug.cgi?id=133455
1979
1980         Reviewed by Timothy Hatcher.
1981
1982         Renamed the benchmark to Speedometer and added the new look designed by Timothy Hatcher.
1983
1984         Also changed the unit of measurements from milliseconds to runs-per-minute averaged over the number
1985         of the benchmark suites (7 for 1.0). You can divide 420000 by the old benchmark score (in milliseconds)
1986         to get the new value for the set of tests that are enabled by default in 1.0. You can continue to see
1987         results in milliseconds on Full.html#ms.
1988
1989         * DoYouEvenBench/Full.html: Added a bunch of sections and the description of the benchmark.
1990
1991         * DoYouEvenBench/resources/benchmark-report.js: Remove the newly added content when ran inside a DRT or
1992         WTR so that run-perf-tests wouldn't error.
1993         * DoYouEvenBench/resources/benchmark-runner.js:
1994         (BenchmarkRunner.prototype._appendFrame): Call a newly added willAddTestFrame callback when it exists.
1995
1996         * DoYouEvenBench/resources/gauge.png: Added.
1997         * DoYouEvenBench/resources/gauge@2x.png: Added.
1998         * DoYouEvenBench/resources/logo.png: Added.
1999         * DoYouEvenBench/resources/logo@2x.png: Added.
2000         * DoYouEvenBench/resources/main.css: Replaced the style.
2001
2002         * DoYouEvenBench/resources/main.js:
2003         (window.benchmarkClient.willAddTestFrame): Place the iframe right where #testContainer is shown.
2004         (window.benchmarkClient.willRunTest): Show the name of the suite (e.g. EmberJS-TodoMVC) to run next.
2005         (window.benchmarkClient.didRunSuites):
2006         (window.benchmarkClient.willStartFirstIteration): Initialize _timeValues and _finishedTestCount now that
2007         we have an UI to run the benchmark multiple times without reloading the page.
2008         (window.benchmarkClient.didFinishLastIteration): Split into smaller pieces.
2009         (window.benchmarkClient._computeResults): Computes the mean and the statistics for the given time values,
2010         and also format them in a human readable form.
2011         (window.benchmarkClient._computeResults.totalTimeInDisplayUnit): Converts ms to runs/min.
2012         (window.benchmarkClient._computeResults.sigFigFromPercentDelta): Given a percentage error (e.g. 1%),
2013         returns the number of significant digits required for the mean.
2014         (window.benchmarkClient._computeResults.toSigFigPrecision): Calls toPrecision with the specified precision
2015         constrained to be at least the number of non-decimal digits and at most 6.
2016         (window.benchmarkClient._addDetailedResultsRow): Renamed from _addResult. It now takes the table to which
2017         to add a row and the iteration number.
2018         (window.benchmarkClient._updateGaugeNeedle): Added. Controls the angle of the speed indicator.
2019         (window.benchmarkClient._populateDetailedResults): Added.
2020         (window.benchmarkClient.prepareUI): Added. It adds an event listener to show a specified section when
2021         the push state of the document changes, and shows a warning sign when the view port size is too small.
2022         We do this inside a callback to avoid running it inside DRT / WTR.
2023         (startBenchmark):
2024         (showSection): Added.
2025         (startTest): Added.
2026         (showResultsSummary): Added.
2027         (showResultDetails): Added.
2028         (showAbout): Added.
2029
2030 2014-06-01  Ryosuke Niwa  <rniwa@webkit.org>
2031
2032         DYEBench: Move test states into benchmarkClient and remove the closure
2033         https://bugs.webkit.org/show_bug.cgi?id=133438
2034
2035         Reviewed by Benjamin Poulain.
2036
2037         Moved all local variables in the closure wrapping benchmarkClient onto the object itself
2038         and removed the closure to improve the readability of the code.
2039
2040         * DoYouEvenBench/Full.html:
2041         * DoYouEvenBench/resources/main.js:
2042         (window.benchmarkClient.willRunTest):
2043         (window.benchmarkClient.didRunTest):
2044         (window.benchmarkClient.didRunSuites):
2045         (window.benchmarkClient.willStartFirstIteration):
2046         (window.benchmarkClient.didFinishLastIteration):
2047         (window.benchmarkClient._addResult): Moved.
2048         (.): Deleted.
2049
2050 2014-06-01  Ryosuke Niwa  <rniwa@webkit.org>
2051
2052         DYEBench: Split stylesheets and scripts in Full.html into separate files
2053         https://bugs.webkit.org/show_bug.cgi?id=133437
2054
2055         Reviewed by Benjamin Poulain.
2056
2057         Extracted main.js and main.css.
2058
2059         Also fixed a bug in startBenchmark that disabled suites were counted towards the total number of tests.
2060
2061         * DoYouEvenBench/Full.html:
2062         * DoYouEvenBench/resources/main.css: Added.
2063         * DoYouEvenBench/resources/main.js: Added.
2064         (.addResult):
2065         (window.benchmarkClient):
2066         (startBenchmark): Renamed from startTest.
2067
2068 2014-06-01  Ryosuke Niwa  <rniwa@webkit.org>
2069
2070         DYEBench: CSS parser warning at line 106 of base.css
2071         https://bugs.webkit.org/show_bug.cgi?id=133433
2072
2073         Reviewed by Maciej Stachowiak.
2074
2075         Removed the old filter CSS property for Internet Explorer. The latest Internet Explorer supports -ms-linear-gradient
2076         on background CSS property anyways.
2077
2078         It's interesting that some of the tests only have -webkit- prefixes. Perhaps we should update those subtests.
2079
2080         * DoYouEvenBench/Full.html:
2081         * DoYouEvenBench/resources/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/base.css:
2082         (#header:before):
2083         * DoYouEvenBench/resources/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.css:
2084         (#header:before):
2085         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.css:
2086         (#header:before):
2087         * DoYouEvenBench/resources/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.css:
2088         (#header:before):
2089         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common/base.css:
2090         (#header:before):
2091         * DoYouEvenBench/resources/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/base.css:
2092         (#header:before):
2093         * DoYouEvenBench/resources/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.css:
2094         (#header:before):
2095
2096 2014-05-31  Ryosuke Niwa  <rniwa@webkit.org>
2097
2098         DYEBench: Ember.js assertion hit at line 20593
2099         https://bugs.webkit.org/show_bug.cgi?id=133431
2100
2101         Reviewed by Darin Adler.
2102
2103         The assertion was hit because ToDoMVC includes jQuery 2.1 and Ember.js 1.3.1 only recognizes jQuery 2.0.
2104         Port the assertion from Ember.js 1.5.1 to suppress the assertion.
2105
2106         We should update the entire Ember.js at some point but this would do the job for now.
2107
2108         * DoYouEvenBench/Full.html:
2109         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/ember/ember.js:
2110
2111 2014-05-31  Ryosuke Niwa  <rniwa@webkit.org>
2112
2113         DYEBench: Prevent frame flattening on iOS
2114         https://bugs.webkit.org/show_bug.cgi?id=133428
2115
2116         Reviewed by Andreas Kling.
2117
2118         Prevent frame flattening on iOS by setting scrolling=no.
2119
2120         * DoYouEvenBench/Full.html:
2121         * DoYouEvenBench/resources/benchmark-runner.js:
2122         (BenchmarkRunner.prototype._appendFrame):
2123
2124 2014-05-30  Ryosuke Niwa  <rniwa@webkit.org>
2125
2126         DYEBench spits out 404 errors for learn.json
2127         https://bugs.webkit.org/show_bug.cgi?id=133416
2128
2129         Reviewed by Oliver Hunt.
2130
2131         Add an empty learn.json file so that it won't cause a 404 error when hosted on a http server.
2132
2133         Bumped the version number to 0.12.
2134
2135         * DoYouEvenBench/Full.html:
2136         * DoYouEvenBench/resources/todomvc/learn.json:
2137
2138 2014-05-23  Geoffrey Garen  <ggaren@apple.com>
2139
2140         Performance testing, diamond-square terrain generation + canvas
2141         https://bugs.webkit.org/show_bug.cgi?id=133054
2142
2143         Reviewed by Ryosuke Niwa.
2144
2145         This test was written by Hunter Loftis. It originally appeared on his
2146         blog @ <http://www.playfuljs.com/realistic-terrain-in-130-lines/>.
2147
2148         I did a bit of editing for format and benchmark suitability.
2149
2150         * Canvas/terrain.html: Added.
2151
2152 2014-05-13  Ryosuke Niwa  <rniwa@webkit.org>
2153
2154         DYEBench should run 20 iterations in browser
2155         https://bugs.webkit.org/show_bug.cgi?id=132795
2156
2157         Reviewed by Gavin Barraclough.
2158
2159         Right now, run-perf-tests runs BYEBench 4 times with different instances of DRT/WTR to get
2160         a more stable time and account for differences in the runtime environment, particularly,
2161         ASLR (Address Space Layout Randomization).
2162
2163         While we can't account for the latter effect when the benchmark is ran inside a browser,
2164         we can at least run 20 iterations to get a more stable (but perhaps biased by ALSR) number.
2165
2166         While the sample size of 20 is statistically unsound to compute the arithmetic mean from,
2167         it's MUCH better than the current sample size of 5.
2168
2169         * DoYouEvenBench/Full.html:
2170         (benchmarkClient.iterationCount): Set the default iteration count to 20.
2171         (startTest): Use benchmarkClient.iterationCount as the iteration count.
2172         * DoYouEvenBench/resources/benchmark-report.js:
2173         (benchmarkClient.iterationCount): Continue to use the old iteration count of 5 when ran
2174         inside run-perf-tests.
2175
2176 2014-05-09  Ryosuke Niwa  <rniwa@webkit.org>
2177
2178         DYEBench should show 95th percentile right next to the mean with ±
2179         https://bugs.webkit.org/show_bug.cgi?id=132729
2180
2181         Reviewed by Darin Adler.
2182
2183         Before this patch, Full.html showed the 95th percentile delta for the arthemtic mean in a separate row
2184         but this was confusing for some people. Show it right next to mean in the same row separated by ±.
2185
2186         * DoYouEvenBench/Full.html:
2187
2188 2014-05-08  Ryosuke Niwa  <rniwa@webkit.org>
2189
2190         DYEBench should use TodoMVC to test FlightJS for consistency
2191         https://bugs.webkit.org/show_bug.cgi?id=132727
2192
2193         Reviewed by Andreas Kling.
2194
2195         Add a test suite for the FlightJS version of TodoMVC, and disable FlightJS-MailClient by default.
2196
2197         I initially intended to include a wider variety of demo apps in DYEBench
2198         but that's not happening any time soon so let us use TodoMVC for all frameworks for now.
2199
2200         We can add more demo apps in v2.
2201
2202         * DoYouEvenBench/Full.html: Increment the version to 0.10.
2203         * DoYouEvenBench/InteractiveRunner.html: Don't check disabled suites by default.
2204         * DoYouEvenBench/resources/tests.js:
2205         * DoYouEvenBench/resources/todomvc/dependency-examples: Added.
2206         * DoYouEvenBench/resources/todomvc/dependency-examples/flight: Added.
2207         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/.gitignore: Added.
2208         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/.jshintrc: Added.
2209         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app: Added.
2210         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js: Added.
2211         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/app.js: Added.
2212         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/data: Added.
2213         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/data/stats.js: Added.
2214         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/data/todos.js: Added.
2215         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/main.js: Added.
2216         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/store.js: Added.
2217         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui: Added.
2218         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui/main_selector.js: Added.
2219         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui/new_item.js: Added.
2220         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui/stats.js: Added.
2221         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui/todo_list.js: Added.
2222         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui/toggle_all.js: Added.
2223         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/ui/with_filters.js: Added.
2224         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/js/utils.js: Added.
2225         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/templates: Added.
2226         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/templates/stats.html: Added.
2227         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/app/templates/todo.html: Added.
2228         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower.json: Added.
2229         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components: Added.
2230         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/depot: Added.
2231         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/depot/depot.js: Added.
2232         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/es5-shim: Added.
2233         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/es5-shim/es5-sham.js: Added.
2234         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/es5-shim/es5-shim.js: Added.
2235         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight: Added.
2236         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib: Added.
2237         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/advice.js: Added.
2238         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/base.js: Added.
2239         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/component.js: Added.
2240         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/compose.js: Added.
2241         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/debug.js: Added.
2242         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/index.js: Added.
2243         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/logger.js: Added.
2244         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/registry.js: Added.
2245         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/flight/lib/utils.js: Added.
2246         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/jquery: Added.
2247         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/jquery/jquery.js: Added.
2248         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/requirejs: Added.
2249         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/requirejs-text: Added.
2250         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/requirejs-text/text.js: Added.
2251         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/requirejs/require.js: Added.
2252         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common: Added.
2253         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common/base.css: Added.
2254         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common/base.js: Added.
2255         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/bower_components/todomvc-common/bg.png: Added.
2256         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/index.html: Added.
2257         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/karma.conf.js: Added.
2258         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/package.json: Added.
2259         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/readme.md: Added.
2260         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test: Added.
2261         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/.jshintrc: Added.
2262         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/fixture: Added.
2263         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/fixture/footer.html: Added.
2264         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/fixture/new_todo.html: Added.
2265         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/fixture/toggle_all.html: Added.
2266         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/mock: Added.
2267         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/mock/datastore.js: Added.
2268         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec: Added.
2269         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/data: Added.
2270         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/data/stats_spec.js: Added.
2271         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/data/todos_spec.js: Added.
2272         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/ui: Added.
2273         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/ui/new_item_spec.js: Added.
2274         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/ui/stats_spec.js: Added.
2275         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/spec/ui/toggle_all_spec.js: Added.
2276         * DoYouEvenBench/resources/todomvc/dependency-examples/flight/test/test-main.js: Added.
2277
2278 2014-05-07  Manuel Rego Casasnovas  <rego@igalia.com>
2279
2280         [CSS Grid Layout] Remove runtime feature
2281         https://bugs.webkit.org/show_bug.cgi?id=132382
2282
2283         Reviewed by Benjamin Poulain.
2284
2285         Remove set of WebKitCSSGridLayoutEnabled preference.
2286
2287         * Layout/auto-grid-lots-of-data.html:
2288         * Layout/fixed-grid-lots-of-data.html:
2289
2290 2014-05-06  Radu Stavila  <stavila@adobe.com>
2291
2292         [CSSRegions] Enabled regions performance tests by default
2293         https://bugs.webkit.org/show_bug.cgi?id=128244
2294
2295         Reviewed by Andreas Kling.
2296
2297         Enabled regions performance tests.
2298
2299         * Skipped:
2300
2301 2014-04-25  Andreas Kling  <akling@apple.com>
2302
2303         Bump jQuery to same version that dromaeo.com uses.
2304
2305         Rubber-stamped by Ryosuke Niwa.
2306
2307         * Dromaeo/resources/dromaeo/web/lib/jquery-1.10.2.min.js: Added.
2308         * Dromaeo/resources/dromaeo/web/tests/cssquery-jquery.html:
2309         * Dromaeo/resources/dromaeo/web/tests/jslib-attr-jquery.html:
2310         * Dromaeo/resources/dromaeo/web/tests/jslib-event-jquery.html:
2311         * Dromaeo/resources/dromaeo/web/tests/jslib-modify-jquery.html:
2312         * Dromaeo/resources/dromaeo/web/tests/jslib-style-jquery.html:
2313         * Dromaeo/resources/dromaeo/web/tests/jslib-traverse-jquery.html:
2314
2315 2014-04-18  Geoffrey Garen  <ggaren@apple.com>
2316
2317         Added some more Membuster recordings to MallocBench
2318         https://bugs.webkit.org/show_bug.cgi?id=131862
2319
2320         Reviewed by Sam Weinig.
2321
2322         * MallocBench/MallocBench/Benchmark.cpp:
2323         (Benchmark::Benchmark):
2324         (Benchmark::run):
2325         * MallocBench/MallocBench/Benchmark.h:
2326         * MallocBench/MallocBench/CommandLine.cpp:
2327         * MallocBench/MallocBench/CommandLine.h:
2328         (CommandLine::runs): Added a --runs option, so we can specify zero runs
2329         for memory warning benchmarks. Those benchmarks want zero runs so that
2330         they can perform a single warmup, which does not free all allocated
2331         objects, and then see how far back to 0MB they can get. Running multiple
2332         times would accumulate leaks, which is not representative of the
2333         simulated scenario.
2334
2335         * MallocBench/MallocBench/Interpreter.cpp:
2336         (Interpreter::Interpreter):
2337         (Interpreter::run):
2338         * MallocBench/MallocBench/Interpreter.h: Support not deallocating all
2339         objects allocated during the recording, so we can do low memory warning
2340         memory use measurements, as above.
2341
2342         * MallocBench/MallocBench/flickr.cpp:
2343         (benchmark_flickr_memory_warning):
2344         * MallocBench/MallocBench/main.cpp:
2345         (main):
2346         * MallocBench/MallocBench/reddit.cpp:
2347         (benchmark_reddit_memory_warning):
2348         * MallocBench/MallocBench/theverge.cpp:
2349         (benchmark_theverge_memory_warning): Adopt the API above.
2350
2351         * MallocBench/run-malloc-benchmarks: I took a first pass at listing all
2352         available benchmarks here. Then I commented out the benchmarks that
2353         probably aren't reasonable to run by default.
2354
2355 2014-04-18  Geoffrey Garen  <ggaren@apple.com>
2356
2357         MallocBench: removed the --measure-heap option
2358         https://bugs.webkit.org/show_bug.cgi?id=131854
2359
2360         Reviewed by Sam Weinig.
2361
2362         As of <https://bugs.webkit.org/show_bug.cgi?id=131661>, measuring the
2363         heap is fast, so there's no reason to disable it.
2364
2365         * MallocBench/MallocBench/Benchmark.cpp:
2366         (Benchmark::Benchmark):
2367         (Benchmark::run):
2368         (Benchmark::printReport):
2369         * MallocBench/MallocBench/Benchmark.h:
2370         * MallocBench/MallocBench/CommandLine.cpp:
2371         (CommandLine::printUsage):
2372         * MallocBench/MallocBench/CommandLine.h:
2373         (CommandLine::heapSize):
2374         (CommandLine::measureHeap): Deleted.
2375         * MallocBench/MallocBench/main.cpp:
2376         (main):
2377
2378 2014-04-16  Alexandru Chiculita  <achicu@adobe.com>
2379
2380         Improve performance of the RenderLayerCompositor::OverlapMap
2381         https://bugs.webkit.org/show_bug.cgi?id=115063
2382
2383         Reviewed by Simon Fraser.
2384
2385         Testing the performance of computing the overlap of 5000 layers.
2386
2387         * Layout/layers_overlap_2d.html: Added. Using non-composited layers, to check
2388         that the performance on the non-composited path is not changing with this patch.
2389         * Layout/layers_overlap_3d.html: Added. Records the time to do the layout of 5000
2390         non-overlapping 3D layers.
2391
2392 2014-04-15  Zoltan Horvath  <zoltan@webkit.org>
2393
2394         [CSS Shapes] Linking stylesheet instead of inline style definition has ruined ShapesRegions test
2395         https://bugs.webkit.org/show_bug.cgi?id=131572
2396
2397         Reviewed by Rob Buis.
2398
2399         In r167022 I moved the common CSS selectors into RegionsShapes.css, then I linked it into the perf test
2400         files, but the measurement results dropped down from about 400ms to 10ms. I realized it's caused by the
2401         linked css rule, so I've put the selectors back into every test case, which fixes the test measurements.
2402
2403         * Layout/Shapes/resources/RegionsShapes.css: Removed.
2404         * Layout/Shapes/resources/RegionsShapesContent.html:
2405         * Layout/Shapes/resources/RegionsShapesContentNoRegionsWidth400.html:
2406         * Layout/Shapes/resources/RegionsShapesContentNoRegionsWidth600.html:
2407         * Layout/Shapes/resources/RegionsShapesContentNoRegionsWidth800.html:
2408         * Layout/Shapes/resources/RegionsShapesContentNoShapes.html:
2409
2410 2014-04-14  Geoffrey Garen  <ggaren@apple.com>
2411
2412         MallocBench should scavenge explicitly instead of waiting
2413         https://bugs.webkit.org/show_bug.cgi?id=131661
2414
2415         Reviewed by Andreas Kling.
2416
2417         * MallocBench/MallocBench.xcodeproj/project.pbxproj: Don't build mbmalloc
2418         by default because it will overwrite any other mbmalloc you're working
2419         with in the WebKitBuild directory.
2420
2421         * MallocBench/MallocBench/Benchmark.cpp:
2422         (Benchmark::run): Scavenge explicitly instead of waiting. This is faster,
2423         and it's the only way to get FastMalloc to scavenge. (That's a bug in
2424         FastMalloc, but we don't want it to interfere with broader testing.)
2425
2426         * MallocBench/MallocBench/mbmalloc.cpp:
2427         * MallocBench/MallocBench/mbmalloc.h: Added a scavenge implementation
2428         for system malloc.
2429
2430 2014-04-14  Geoffrey Garen  <ggaren@apple.com>
2431
2432         A few MallocBench record/replay fixes
2433         https://bugs.webkit.org/show_bug.cgi?id=131627
2434
2435         Reviewed by Andreas Kling.
2436
2437         * MallocBench/MallocBench/Interpreter.cpp:
2438         (Interpreter::run): Accept 0-sized allocations without asserting because
2439         WebKit does that sometimes.
2440
2441         * MallocBench/MallocBench/flickr.ops:
2442         * MallocBench/MallocBench/flickr_memory_warning.ops:
2443         * MallocBench/MallocBench/reddit.ops:
2444         * MallocBench/MallocBench/reddit_memory_warning.ops:
2445         * MallocBench/MallocBench/theverge.ops:
2446         * MallocBench/MallocBench/theverge_memory_warning.ops: Updated these
2447         recordings because a bug in the recording mechanism caused one out of
2448         every few thousand slot values to be bogus.
2449
2450 2014-04-13  Geoffrey Garen  <ggaren@apple.com>
2451
2452         Added some website recordings to MallocBench -- taken from Membuster
2453         https://bugs.webkit.org/show_bug.cgi?id=131601
2454
2455         Reviewed by Ryosuke Niwa.
2456
2457         Added flickr, reddit, and theverge -- each recorded from Membuster's
2458         cache, with and without sending Safari a low memory warning.
2459
2460         * MallocBench/MallocBench.xcodeproj/project.pbxproj:
2461         * MallocBench/MallocBench/Benchmark.cpp:
2462         * MallocBench/MallocBench/flickr.cpp: Added.
2463         (benchmark_flickr):
2464         (benchmark_flickr_memory_warning):
2465         * MallocBench/MallocBench/flickr.h: Added.
2466         * MallocBench/MallocBench/flickr.ops: Added.
2467         * MallocBench/MallocBench/flickr_memory_warning.ops: Added.
2468         * MallocBench/MallocBench/reddit.cpp: Added.
2469         (benchmark_reddit):
2470         (benchmark_reddit_memory_warning):
2471         * MallocBench/MallocBench/reddit.h: Added.
2472         * MallocBench/MallocBench/reddit.ops: Added.
2473         * MallocBench/MallocBench/reddit_memory_warning.ops: Added.
2474         * MallocBench/MallocBench/theverge.cpp: Added.
2475         (benchmark_theverge):
2476         (benchmark_theverge_memory_warning):
2477         * MallocBench/MallocBench/theverge.h: Added.
2478         * MallocBench/MallocBench/theverge.ops: Added.
2479         * MallocBench/MallocBench/theverge_memory_warning.ops: Added.
2480
2481 2014-04-13  Geoffrey Garen  <ggaren@apple.com>
2482
2483         MallocBench record/replay should support realloc
2484         https://bugs.webkit.org/show_bug.cgi?id=131598
2485
2486         Reviewed by Ryosuke Niwa.
2487
2488         * MallocBench/MallocBench.xcodeproj/project.pbxproj: Fixed some linkage
2489         issues that caused us not to fully link to system malloc in the default
2490         case. Also marked mbmalloc.dylib as required so the error message will
2491         be clearer if we mess up.
2492
2493         * MallocBench/MallocBench/Interpreter.cpp:
2494         (Interpreter::run):
2495         * MallocBench/MallocBench/Interpreter.h: Added the realloc case, and
2496         upgraded one-letter names to full words.
2497
2498 2014-04-11  Dirk Schulze  <krit@webkit.org>
2499
2500         Optimize Canvas fill and drawImage with SourceIn, DestinationIn, SourceOut, and DestinationAtop using transparencyLayer.
2501         https://bugs.webkit.org/show_bug.cgi?id=79659
2502
2503         Reviewed by Andreas Kling.
2504
2505         Add performance tests for real this time.
2506
2507         * Canvas/compositing-drawimage.html: Added.
2508         * Canvas/compositing-fillRect.html: Added.
2509
2510
2511 2014-04-11  Dirk Schulze  <krit@webkit.org>
2512
2513         Optimize Canvas fill and drawImage with SourceIn, DestinationIn, SourceOut, and DestinationAtop using transparencyLayer.
2514         https://bugs.webkit.org/show_bug.cgi?id=79659
2515
2516         Reviewed by Andreas Kling.
2517
2518         Add performance tests for fillRect() and drawImage() on composited contexts.
2519
2520         * Canvas/compositing-drawimage.html: Added.
2521         * Canvas/compositing-fillRect.html: Added.
2522
2523 2014-04-09  Zoltan Horvath  <zoltan@webkit.org>
2524
2525         [CSS Shapes] Add no shapes version of RegionsShapes performance test
2526         https://bugs.webkit.org/show_bug.cgi?id=131455
2527         
2528         Reviewed by Ryosuke Niwa.
2529
2530         This is a no shapes version of the RegionsShapes performance test. All the content
2531         will wrap around the floating containers. This way we can compare the runtime/memory
2532         usage of the RegionsShapes test with/without shapes. The test is skipped by default.
2533
2534         * Layout/Shapes/RegionsShapesNoShapes.html: Added.
2535         * Layout/Shapes/resources/RegionsShapesContentNoShapes.html: Added.
2536
2537 2014-04-09  Zoltan Horvath  <zoltan@webkit.org>
2538
2539         [CSS Shapes] Add no regions version of RegionsShapes performance test
2540         https://bugs.webkit.org/show_bug.cgi?id=131442
2541
2542         Reviewed by Ryosuke Niwa.
2543
2544         We would like have a no regions version for RegionsShapes performance test. The new
2545         test produces similar layout to RegionsShapes.html without using regions. It is helpful
2546         for us to do further comparisons when necessary. This test is skipped by default.
2547
2548         * Layout/Shapes/RegionsShapesNoRegions.html: Added.
2549         * Layout/Shapes/resources/RegionsShapes.css: Added.
2550         (html, body):
2551         (.shape):
2552         (#circleShape):
2553         (#imageShape):
2554         (#insetShape):
2555         (#roundedInsetShape):
2556         (#triangleLeft):
2557         (#triangleRight):
2558         (#selfIntersectingStar):
2559         (#region1):
2560         (#region2):
2561         (#region3):
2562         * Layout/Shapes/resources/RegionsShapesContent.html:
2563         * Layout/Shapes/resources/RegionsShapesContentNoRegionsWidth400.html: Added.
2564         * Layout/Shapes/resources/RegionsShapesContentNoRegionsWidth600.html: Added.
2565         * Layout/Shapes/resources/RegionsShapesContentNoRegionsWidth800.html: Added.
2566
2567 2014-04-02  Geoffrey Garen  <ggaren@apple.com>
2568
2569         Unreviewed.
2570
2571         Try to ignore some Xcode shmutz in MallocBench.
2572
2573         * MallocBench/MallocBench.xcodeproj: Added property svn:ignore.
2574
2575 2014-04-02  Geoffrey Garen  <ggaren@apple.com>
2576
2577         Let's benchmark malloc
2578         https://bugs.webkit.org/show_bug.cgi?id=131118
2579
2580         Reviewed by Mark Hahnenberg.
2581
2582         I want to replace fastMalloc with something faster (fasterMalloc?).
2583         I wrote these benchmarks to test / drive development.
2584
2585         * MallocBench: Added.
2586         * MallocBench/MallocBench: Added.
2587         * MallocBench/MallocBench.xcodeproj: Added.
2588         * MallocBench/MallocBench.xcodeproj/project.pbxproj: Added.
2589         * MallocBench/MallocBench/Benchmark.cpp: Added.
2590         (allocateHeap):
2591         (deallocateHeap):
2592         (Benchmark::Benchmark):
2593         (Benchmark::printBenchmarks):
2594         (Benchmark::runOnce):
2595         (Benchmark::run):
2596         (Benchmark::printReport):
2597         (Benchmark::currentTimeMS):
2598         (Benchmark::currentMemoryBytes):
2599         * MallocBench/MallocBench/Benchmark.h: Added.
2600         (Benchmark::Memory::Memory):
2601         (Benchmark::Memory::operator-):
2602         (Benchmark::isValid):
2603         * MallocBench/MallocBench/CPUCount.cpp: Added.
2604         (cpuCount):
2605         * MallocBench/MallocBench/CPUCount.h: Added.
2606         * MallocBench/MallocBench/CommandLine.cpp: Added.
2607         (CommandLine::printUsage):
2608         * MallocBench/MallocBench/CommandLine.h: Added.
2609         (CommandLine::isValid):
2610         (CommandLine::benchmarkName):
2611         (CommandLine::isParallel):
2612         (CommandLine::heapSize):
2613         (CommandLine::measureHeap):
2614         * MallocBench/MallocBench/Interpreter.cpp: Added.
2615         (Interpreter::Interpreter):
2616         (Interpreter::~Interpreter):
2617         (Interpreter::run):
2618         * MallocBench/MallocBench/Interpreter.h: Added.
2619         * MallocBench/MallocBench/balloon.cpp: Added.
2620         (benchmark_balloon):
2621         * MallocBench/MallocBench/balloon.h: Added.
2622         * MallocBench/MallocBench/big.cpp: Added.
2623         (benchmark_big):
2624         * MallocBench/MallocBench/big.h: Added.
2625         * MallocBench/MallocBench/churn.cpp: Added.
2626         (HeapDouble::operator new):
2627         (HeapDouble::operator delete):
2628         (HeapDouble::HeapDouble):
2629         (HeapDouble::operator+=):
2630         (benchmark_churn):
2631         * MallocBench/MallocBench/churn.h: Added.
2632         * MallocBench/MallocBench/crash.ops: Added.
2633         * MallocBench/MallocBench/facebook.cpp: Added.
2634         (benchmark_facebook):
2635         * MallocBench/MallocBench/facebook.h: Added.
2636         * MallocBench/MallocBench/facebook.ops: Added.
2637         * MallocBench/MallocBench/fragment.cpp: Added.
2638         (validate):
2639         (benchmark_fragment):
2640         (benchmark_fragment_iterate):
2641         * MallocBench/MallocBench/fragment.h: Added.
2642         * MallocBench/MallocBench/list.cpp: Added.
2643         (benchmark_list_allocate):
2644         (benchmark_list_traverse):
2645         * MallocBench/MallocBench/list.h: Added.
2646         * MallocBench/MallocBench/main.cpp: Added.
2647         (main):
2648         * MallocBench/MallocBench/mbmalloc.cpp: Added.
2649         * MallocBench/MallocBench/mbmalloc.h: Added.
2650         * MallocBench/MallocBench/medium.cpp: Added.
2651         (benchmark_medium):
2652         * MallocBench/MallocBench/medium.h: Added.
2653         * MallocBench/MallocBench/message.cpp: Added.
2654         (benchmark_message_one):
2655         (benchmark_message_many):
2656         * MallocBench/MallocBench/message.h: Added.
2657         * MallocBench/MallocBench/realloc.cpp: Added.
2658         (benchmark_realloc):
2659         * MallocBench/MallocBench/realloc.h: Added.
2660         * MallocBench/MallocBench/tree.cpp: Added.
2661         (benchmark_tree_allocate):
2662         (benchmark_tree_traverse):
2663         (benchmark_tree_churn):
2664         * MallocBench/MallocBench/tree.h: Added.
2665         * MallocBench/run-malloc-benchmarks: Added.
2666
2667 2014-03-29  Mark Lam  <mark.lam@apple.com>
2668
2669         LongSpider 3d-morph result check is inappropriate.
2670         <https://webkit.org/b/130928>
2671
2672         Reviewed by Filip Pizlo.
2673
2674         The LongSpider 3d-morph component expected result check is incorrect.
2675         The existing test checks if the leading digit of a sum starts with "-1".
2676         However, it turned out that the expected sum is in the order of
2677         -1.8735013540549517e-16 (i.e. very close to 0).  With small errors in
2678         the terms of the sum adding up, it is very easy for the resultant sum 
2679         to fluctuate.  There is no guarantee that the resultant sum's most
2680         significant digit will start with -1 either.
2681
2682         The fix is to do a tolerance check on all the terms of the sum as well
2683         as the total sum value instead.  The tolerance should be more lenient
2684         for the sum which accumulates error from the individual terms, then for
2685         individual terms.
2686
2687         * LongSpider/3d-morph.js:
2688         (expect):
2689
2690 2014-03-28  Zoltan Horvath  <zoltan@webkit.org>
2691
2692         [CSS Shapes] Add performance tests for Shapes with Regions
2693         https://bugs.webkit.org/show_bug.cgi?id=129624
2694
2695         Reviewed by Ryosuke Niwa.
2696
2697         This tests introduces a real-life like page, which contains different types of shapes within
2698         shape-outsides. The content flows through regions, which use media queries. The performance test
2699         loads the actual Shapes-Regions test case into iframes with different page sizes (thus the layout
2700         triggers the media queries as well), and measures its load time.
2701
2702         * Layout/RegionsShapes.html: Added.
2703         * Layout/Shapes/resources/RegionsShapesContent.html: Added.
2704
2705 2014-03-20  Zoltan Horvath  <zoltan@webkit.org>
2706
2707         Add option for hiding Confidence Interval Delta on the performance tests results page
2708         https://bugs.webkit.org/show_bug.cgi?id=130483
2709
2710         Reviewed by Ryosuke Niwa.
2711
2712         I've found it useful to hide the confidence interval delta from the results table
2713         sometimes, for example on copying data, or for a clearer look. This patch introduces
2714         a new button for it on the local results page.
2715
2716         * resources/results-template.html:
2717
2718 2014-03-20  Laszlo Vidacs  <lvidacs.u-szeged@partner.samsung.com>
2719
2720         Optimize RenderTable::colToEffCol() for tables without colspans
2721         https://bugs.webkit.org/show_bug.cgi?id=129298
2722
2723         Reviewed by Simon Fraser.
2724
2725         Create an alternative fast path to RenderTable colToEffCol() and effColToCol()
2726         when there is no colspan or colspan does not exceed the width of table.
2727         Blink merge https://codereview.chromium.org/154243002 by rhogan
2728
2729         * Layout/large-table-with-collapsed-borders-and-colspans-wider-than-table.html: Added.
2730         * Layout/large-table-with-collapsed-borders-and-colspans.html: Added.
2731         * Layout/large-table-with-collapsed-borders-and-no-colspans.html: Added.
2732         * Layout/resources/large-table-with-collapsed-borders.css: Added.
2733         * Layout/resources/large-table-with-collapsed-borders.js: Added.
2734
2735 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
2736
2737         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
2738         https://bugs.webkit.org/show_bug.cgi?id=130276
2739         <rdar://problem/16266927>
2740
2741         Reviewed by Simon Fraser.
2742
2743         * Dromaeo/resources/dromaeo/web/tests/sunspider-3d-raytrace.html:
2744         * Dromaeo/resources/dromaeo/web/tests/sunspider-bitops-bitwise-and.html:
2745         * Dromaeo/resources/dromaeo/web/tests/sunspider-math-cordic.html:
2746         * Dromaeo/resources/dromaeo/web/tests/sunspider-string-tagcloud.html:
2747         * LongSpider/3d-morph.js:
2748         * LongSpider/3d-raytrace.js:
2749         * LongSpider/math-cordic.js:
2750         * LongSpider/string-tagcloud.js:
2751         * Parser/resources/html5-8266.html:
2752         * Parser/resources/html5.html:
2753
2754 2014-03-10  Zoltan Horvath  <zoltan@webkit.org>
2755
2756         [CSS Shapes] Add performance tests for SVG shape with shape-margin
2757         https://bugs.webkit.org/show_bug.cgi?id=129930
2758
2759         Reviewed by Ryosuke Niwa.
2760
2761         The test is skipped by default.
2762
2763         * Layout/Shapes/ShapeOutsideSVGWithMargin.html: Added.
2764         * Layout/Shapes/resources/shape.svg: Added.
2765
2766 2014-02-19  Zoltan Horvath  <zoltan@webkit.org>
2767
2768         [CSS Shapes] Add performance test for stacked floats with shape-outsides
2769         https://bugs.webkit.org/show_bug.cgi?id=128821
2770
2771         Reviewed by Brent Fulgham.
2772
2773         This tests generate stacked floats content with shape-outsides.
2774         The test is skipped by default.
2775
2776         * Layout/Shapes/ShapeOutsideStackedPolygons.html: Added.
2777
2778 2014-02-15  Zoltan Horvath  <zoltan@webkit.org>
2779
2780         [CSS Shapes] Add performance test for raster shape with shape-margin
2781         https://bugs.webkit.org/show_bug.cgi?id=128770
2782
2783         Reviewed by Ryosuke Niwa.
2784
2785         This patch introduces a new performance test for image valued shapes,
2786         where shape-margin is applied on the shape.
2787         The test is skipped by default.
2788
2789         * Layout/Shapes/ShapeOutsideRasterWithMargin.html: Added.
2790
2791 2014-02-14  Ryosuke Niwa  <rniwa@webkit.org>
2792
2793         Improve the appearance of DYEBench
2794         https://bugs.webkit.org/show_bug.cgi?id=128866
2795
2796         Reviewed by Antti Koivisto.
2797
2798         Add a div that shows progress during the test. Also show 95th percentile,
2799         and use a table instead of pre to show results.
2800
2801         * DoYouEvenBench/Full.html:
2802         (.addResult): Added. Shows results in a table.
2803         (benchmarkClient.willRunTest): Added to show the progress bar.
2804         (benchmarkClient.didRunTest):
2805         (benchmarkClient.didRunSuites):
2806         (benchmarkClient.didFinishLastIteration): Compute 95th percentile using Statistics.js
2807
2808         * DoYouEvenBench/resources/benchmark-runner.js:
2809         (BenchmarkRunner.prototype._appendFrame): Fix the bug where marginLeft and marginTop
2810         weren't correctly parsed. We were treating top as left and bottom as top somehow.
2811         (BenchmarkRunner.prototype._runTestAndRecordResults): Fixed a typo.
2812
2813 2014-02-13  Zoltan Horvath  <zoltan@webkit.org>
2814
2815         [CSS Shapes] Add performance test for complex polygon with shape-margin
2816         https://bugs.webkit.org/show_bug.cgi?id=128769
2817
2818         Reviewed by Ryosuke Niwa.
2819
2820         This patch modifies the logic of createShapeOutsideTest to accept multiple
2821         CSS properties from the test. The patch adds performance test for complex
2822         polygon shape (self intersecting at multiple places) case, moreover we
2823         apply shape-margin on the polygon also.
2824
2825         * Layout/Shapes/ShapeOutsideContentBox.html:
2826         * Layout/Shapes/ShapeOutsideInset.html:
2827         * Layout/Shapes/ShapeOutsidePolygonWithMargin.html: Added.
2828         * Layout/Shapes/ShapeOutsideRaster.html:
2829         * Layout/Shapes/ShapeOutsideSimplePolygon.html:
2830         * Layout/Shapes/resources/shapes.js:
2831
2832 2014-02-13  Zoltan Horvath  <zoltan@webkit.org>
2833
2834         [CSS Shapes] Add performance test for raster shape
2835         https://bugs.webkit.org/show_bug.cgi?id=128746
2836
2837         Reviewed by Ryosuke Niwa.
2838
2839         This patch adds performance testing for image valued shape-outside.
2840         The test is skipped by default for now.
2841
2842         * Layout/Shapes/ShapeOutsideRaster.html: Added.
2843         * Layout/Shapes/resources/shape.gif: Added.
2844
2845 2014-02-10  Zoltan Horvath  <zoltan@webkit.org>
2846
2847         [CSS Shapes] Add initial performance tests for polygon shape 
2848         https://bugs.webkit.org/show_bug.cgi?id=128554
2849
2850         Reviewed by Ryosuke Niwa.
2851
2852         This patch adds performance testing for simple polygon shape-outside.
2853         The Shapes performance tests directory is skipped by default.
2854
2855         * Layout/Shapes/ShapeOutsideSimplePolygon.html: Added.
2856
2857 2014-02-07  Zoltan Horvath  <zoltan@webkit.org>
2858
2859         [CSS Shapes] Add initial performance tests for inset shape
2860         https://bugs.webkit.org/show_bug.cgi?id=128378
2861
2862         Reviewed by Ryosuke Niwa.
2863
2864         * Layout/Shapes/ShapeOutsideContentBox.html: Move js to shapes.js.
2865         * Layout/Shapes/ShapeOutsideInset.html: Added.
2866         * Layout/Shapes/resources/shapes.js: Added.
2867         (.):
2868
2869 2014-02-04  Ryosuke Niwa  <rniwa@webkit.org>
2870
2871         Undelete the "build" directory erroneously removed in r163427.
2872
2873         * DoYouEvenBench/resources/todomvc/labs/architecture-examples/react/bower_components/director/build:
2874
2875 2014-02-04  Ryosuke Niwa  <rniwa@webkit.org>
2876
2877         Revert the change made in r162216 as it broke the benchmark on shipping Safari.
2878
2879         * DoYouEvenBench/resources/benchmark-runner.js:
2880
2881 2014-02-04  Ryosuke Niwa  <rniwa@webkit.org>
2882
2883         DoYouEvenBench: Update Ember.js test case
2884         https://bugs.webkit.org/show_bug.cgi?id=128227
2885
2886         Reviewed by Benjamin Poulain.
2887
2888         Updated the Ember.js TodoMVC implementation.
2889
2890         * DoYouEvenBench/resources/tests.js:
2891         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower.json:
2892         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/ember-data/ember-data.js: Added.
2893         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter/localstorage_adapter.js:
2894         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/ember/ember.js:
2895         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js:
2896         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/jquery/jquery.js:
2897         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.css:
2898         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.js:
2899         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/index.html:
2900         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/app.js:
2901         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/controllers/todo_controller.js:
2902         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/controllers/todos_controller.js:
2903         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/helpers/pluralize.js: Added.
2904         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/libs/ember-data.js: Removed.
2905         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/models/store.js: Removed.
2906         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/models/todo.js:
2907         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/router.js:
2908         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/views/edit_todo_view.js:
2909         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/views/todos_view.js: Added.
2910         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/readme.md:
2911         * DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/test.html:
2912
2913 2014-02-04  Zoltan Horvath  <zoltan@webkit.org>
2914
2915         [CSS Shapes] Add initial performance test for shape-outside: content-box
2916         https://bugs.webkit.org/show_bug.cgi?id=128190
2917
2918         Reviewed by Ryosuke Niwa.
2919
2920         I've introduced Shapes subdirectory in Layout, every CSS Shapes related performance tests should
2921         go there in the future. The initial performance tests uses 'shape-outside: content-box' in order
2922         to tests the code paths of the Shapes implementation. I also introduced shapes.js, which allows us
2923         to easily add new, simple performance tests for shape-outside.
2924
2925         The entire progress is tracked under #128188 meta bug.
2926
2927         * Layout/Shapes/ShapeOutsideContentBox.html: Added.
2928         * Layout/Shapes/resources/shapes.css: Added.
2929         * Layout/Shapes/resources/shapes.js: Added.
2930         * Skipped: We skip running the tests by default for now.
2931
2932 2014-01-17  Manuel Rego Casasnovas  <rego@igalia.com>
2933
2934         [CSS Regions] Minor fixes in regions performance tests
2935         https://bugs.webkit.org/show_bug.cgi?id=127041
2936
2937         Reviewed by Ryosuke Niwa.
2938
2939         Fix minor issues in CSS Regions performance tests.
2940
2941         * Layout/RegionsAuto.html: Change type to lower case.
2942         * Layout/RegionsAutoMaxHeight.html: Ditto.
2943         * Layout/RegionsFixed.html: Ditto.
2944         * Layout/RegionsFixedShort.html: Ditto.
2945         * Layout/RegionsSelection.html: Ditto. Move test methods from regions.js.
2946         * Layout/resources/regions.js: Remove moved methods.
2947
2948 2014-01-17  Ryosuke Niwa  <rniwa@webkit.org>
2949
2950         Host DoYouEvenBench on webkit.org
2951         https://bugs.webkit.org/show_bug.cgi?id=127185
2952
2953         Reviewed by Benjamin Poulain.
2954
2955         Compute the resources directory relative to the benchmark-runner's location
2956         so that we can load tests even if the runner HTML was located elsewhere.
2957
2958         * DoYouEvenBench/Full.html:
2959         * DoYouEvenBench/resources/benchmark-runner.js:
2960         (BenchmarkState._containingDirectory):
2961
2962 2014-01-17  Ryosuke Niwa  <rniwa@webkit.org>
2963
2964         DoYouEvenBench: Move flightjs-example-app and todomvc into resources
2965         https://bugs.webkit.org/show_bug.cgi?id=127183
2966
2967         Rubber-stamped by Anders Carlsson.
2968
2969         * DoYouEvenBench/InteractiveRunner.html: Copied from PerformanceTests/DoYouEvenBench/benchmark.html.
2970         * DoYouEvenBench/benchmark.html: Removed.
2971         * DoYouEvenBench/flightjs-example-app: Removed.
2972         * DoYouEvenBench/flightjs-example-app/LICENSE.md: Removed.
2973         * DoYouEvenBench/flightjs-example-app/README.md: Removed.
2974         * DoYouEvenBench/flightjs-example-app/app: Removed.
2975         * DoYouEvenBench/flightjs-example-app/app/boot: Removed.
2976         * DoYouEvenBench/flightjs-example-app/app/boot/page.js: Removed.
2977         * DoYouEvenBench/flightjs-example-app/app/component_data: Removed.
2978         * DoYouEvenBench/flightjs-example-app/app/component_data/compose_box.js: Removed.
2979         * DoYouEvenBench/flightjs-example-app/app/component_data/mail_items.js: Removed.
2980         * DoYouEvenBench/flightjs-example-app/app/component_data/move_to.js: Removed.
2981         * DoYouEvenBench/flightjs-example-app/app/component_ui: Removed.
2982         * DoYouEvenBench/flightjs-example-app/app/component_ui/compose_box.js: Removed.
2983         * DoYouEvenBench/flightjs-example-app/app/component_ui/folders.js: Removed.
2984         * DoYouEvenBench/flightjs-example-app/app/component_ui/mail_controls.js: Removed.
2985         * DoYouEvenBench/flightjs-example-app/app/component_ui/mail_items.js: Removed.
2986         * DoYouEvenBench/flightjs-example-app/app/component_ui/move_to_selector.js: Removed.
2987         * DoYouEvenBench/flightjs-example-app/app/component_ui/with_select.js: Removed.
2988         * DoYouEvenBench/flightjs-example-app/app/css: Removed.
2989         * DoYouEvenBench/flightjs-example-app/app/css/custom.css: Removed.
2990         * DoYouEvenBench/flightjs-example-app/app/data.js: Removed.
2991         * DoYouEvenBench/flightjs-example-app/app/templates.js: Removed.
2992         * DoYouEvenBench/flightjs-example-app/components: Removed.
2993         * DoYouEvenBench/flightjs-example-app/components/bootstrap: Removed.
2994         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css: Removed.
2995         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap-responsive.css: Removed.
2996         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap-responsive.min.css: Removed.
2997         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap.css: Removed.
2998         * DoYouEvenBench/flightjs-example-app/components/bootstrap/css/bootstrap.min.css: Removed.
2999         * DoYouEvenBench/flightjs-example-app/components/bootstrap/img: Removed.
3000         * DoYouEvenBench/flightjs-example-app/components/bootstrap/img/glyphicons-halflings-white.png: Removed.
3001         * DoYouEvenBench/flightjs-example-app/components/bootstrap/img/glyphicons-halflings.png: Removed.
3002         * DoYouEvenBench/flightjs-example-app/components/bootstrap/js: Removed.
3003         * DoYouEvenBench/flightjs-example-app/components/bootstrap/js/bootstrap.js: Removed.
3004         * DoYouEvenBench/flightjs-example-app/components/bootstrap/js/bootstrap.min.js: Removed.
3005         * DoYouEvenBench/flightjs-example-app/components/es5-shim: Removed.
3006         * DoYouEvenBench/flightjs-example-app/components/es5-shim/.gitignore: Removed.
3007         * DoYouEvenBench/flightjs-example-app/components/es5-shim/CHANGES: Removed.
3008         * DoYouEvenBench/flightjs-example-app/components/es5-shim/CONTRIBUTORS.md: Removed.
3009         * DoYouEvenBench/flightjs-example-app/components/es5-shim/LICENSE: Removed.
3010         * DoYouEvenBench/flightjs-example-app/components/es5-shim/README.md: Removed.
3011         * DoYouEvenBench/flightjs-example-app/components/es5-shim/component.json: Removed.
3012         * DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-sham.js: Removed.
3013         * DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-sham.min.js: Removed.
3014         * DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-shim.js: Removed.
3015         * DoYouEvenBench/flightjs-example-app/components/es5-shim/es5-shim.min.js: Removed.
3016         * DoYouEvenBench/flightjs-example-app/components/es5-shim/package.json: Removed.
3017         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests: Removed.
3018         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers: Removed.
3019         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers/h-kill.js: Removed.
3020         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers/h-matchers.js: Removed.
3021         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/helpers/h.js: Removed.
3022         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/index.html: Removed.
3023         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib: Removed.
3024         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine-html.js: Removed.
3025         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine.css: Removed.
3026         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine.js: Removed.
3027         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/jasmine_favicon.png: Removed.
3028         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/lib/json2.js: Removed.
3029         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec: Removed.
3030         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-array.js: Removed.
3031         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-date.js: Removed.
3032         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-function.js: Removed.
3033         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-object.js: Removed.
3034         * DoYouEvenBench/flightjs-example-app/components/es5-shim/tests/spec/s-string.js: Removed.
3035         * DoYouEvenBench/flightjs-example-app/components/flight: Removed.
3036         * DoYouEvenBench/flightjs-example-app/components/flight/.travis.yml: Removed.
3037         * DoYouEvenBench/flightjs-example-app/components/flight/lib: Removed.
3038         * DoYouEvenBench/flightjs-example-app/components/flight/lib/advice.js: Removed.
3039         * DoYouEvenBench/flightjs-example-app/components/flight/lib/component.js: Removed.
3040         * DoYouEvenBench/flightjs-example-app/components/flight/lib/compose.js: Removed.
3041         * DoYouEvenBench/flightjs-example-app/components/flight/lib/index.js: Removed.
3042         * DoYouEvenBench/flightjs-example-app/components/flight/lib/logger.js: Removed.
3043         * DoYouEvenBench/flightjs-example-app/components/flight/lib/registry.js: Removed.
3044         * DoYouEvenBench/flightjs-example-app/components/flight/lib/utils.js: Removed.
3045         * DoYouEvenBench/flightjs-example-app/components/flight/tools: Removed.
3046         * DoYouEvenBench/flightjs-example-app/components/flight/tools/debug: Removed.
3047         * DoYouEvenBench/flightjs-example-app/components/flight/tools/debug/debug.js: Removed.
3048         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight: Removed.
3049         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/LICENSE.md: Removed.
3050         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/README.md: Removed.
3051         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/bower.json: Removed.
3052         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/lib: Removed.
3053         * DoYouEvenBench/flightjs-example-app/components/jasmine-flight/lib/jasmine-flight.js: Removed.
3054         * DoYouEvenBench/flightjs-example-app/components/jasmine-jquery: Removed.
3055         * DoYouEvenBench/flightjs-example-app/components/jasmine-jquery/lib: Removed.
3056         * DoYouEvenBench/flightjs-example-app/components/jasmine-jquery/lib/jasmine-jquery.js: Removed.
3057         * DoYouEvenBench/flightjs-example-app/components/jquery: Removed.
3058         * DoYouEvenBench/flightjs-example-app/components/jquery/component.json: Removed.
3059         * DoYouEvenBench/flightjs-example-app/components/jquery/composer.json: Removed.
3060         * DoYouEvenBench/flightjs-example-app/components/jquery/jquery.js: Removed.
3061         * DoYouEvenBench/flightjs-example-app/components/jquery/jquery.min.js: Removed.
3062         * DoYouEvenBench/flightjs-example-app/components/mustache: Removed.
3063         * DoYouEvenBench/flightjs-example-app/components/mustache/mustache.js: Removed.
3064         * DoYouEvenBench/flightjs-example-app/components/requirejs: Removed.
3065         * DoYouEvenBench/flightjs-example-app/components/requirejs/require.js: Removed.
3066         * DoYouEvenBench/flightjs-example-app/index.html: Removed.
3067         * DoYouEvenBench/flightjs-example-app/karma.conf.js: Removed.
3068         * DoYouEvenBench/flightjs-example-app/package.json: Removed.
3069         * DoYouEvenBench/flightjs-example-app/requireMain.js: Removed.
3070         * DoYouEvenBench/resources/benchmark-runner.js:
3071         * DoYouEvenBench/resources/flightjs-example-app: Copied from PerformanceTests/DoYouEvenBench/flightjs-example-app.
3072         * DoYouEvenBench/resources/todomvc: Copied from PerformanceTests/DoYouEvenBench/todomvc.
3073         * DoYouEvenBench/todomvc: Removed.
3074         * DoYouEvenBench/todomvc/architecture-examples: Removed.
3075         * DoYouEvenBench/todomvc/architecture-examples/angularjs: Removed.
3076         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower.json: Removed.
3077         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components: Removed.
3078         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular: Removed.
3079         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular-mocks: Removed.
3080         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular-mocks/angular-mocks.js: Removed.
3081         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/angular/angular.js: Removed.
3082         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common: Removed.
3083         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/base.css: Removed.
3084         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/base.js: Removed.
3085         * DoYouEvenBench/todomvc/architecture-examples/angularjs/bower_components/todomvc-common/bg.png: Removed.
3086         * DoYouEvenBench/todomvc/architecture-examples/angularjs/index.html: Removed.
3087         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js: Removed.
3088         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/app.js: Removed.
3089         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/controllers: Removed.
3090         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/controllers/todoCtrl.js: Removed.
3091         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives: Removed.
3092         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives/todoBlur.js: Removed.
3093         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives/todoEscape.js: Removed.
3094         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/directives/todoFocus.js: Removed.
3095         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/services: Removed.
3096         * DoYouEvenBench/todomvc/architecture-examples/angularjs/js/services/todoStorage.js: Removed.
3097         * DoYouEvenBench/todomvc/architecture-examples/angularjs/readme.md: Removed.
3098         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test: Removed.
3099         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/config: Removed.
3100         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/config/testacular.conf.js: Removed.
3101         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/package.json: Removed.
3102         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/readme.md: Removed.
3103         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/unit: Removed.
3104         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/unit/directivesSpec.js: Removed.
3105         * DoYouEvenBench/todomvc/architecture-examples/angularjs/test/unit/todoCtrlSpec.js: Removed.
3106         * DoYouEvenBench/todomvc/architecture-examples/backbone: Removed.
3107         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower.json: Removed.
3108         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components: Removed.
3109         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone: Removed.
3110         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone.localStorage: Removed.
3111         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone.localStorage/backbone.localStorage.js: Removed.
3112         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/backbone/backbone.js: Removed.
3113         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/jquery: Removed.
3114         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/jquery/jquery.js: Removed.
3115         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common: Removed.
3116         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.css: Removed.
3117         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/base.js: Removed.
3118         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/todomvc-common/bg.png: Removed.
3119         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/underscore: Removed.
3120         * DoYouEvenBench/todomvc/architecture-examples/backbone/bower_components/underscore/underscore.js: Removed.
3121         * DoYouEvenBench/todomvc/architecture-examples/backbone/index.html: Removed.
3122         * DoYouEvenBench/todomvc/architecture-examples/backbone/js: Removed.
3123         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/app.js: Removed.
3124         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/collections: Removed.
3125         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/collections/todos.js: Removed.
3126         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/models: Removed.
3127         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/models/todo.js: Removed.
3128         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/routers: Removed.
3129         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/routers/router.js: Removed.
3130         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/views: Removed.
3131         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/views/app-view.js: Removed.
3132         * DoYouEvenBench/todomvc/architecture-examples/backbone/js/views/todo-view.js: Removed.
3133         * DoYouEvenBench/todomvc/architecture-examples/backbone/readme.md: Removed.
3134         * DoYouEvenBench/todomvc/architecture-examples/emberjs: Removed.
3135         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower.json: Removed.
3136         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components: Removed.
3137         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember: Removed.
3138         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter: Removed.
3139         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter/localstorage_adapter.js: Removed.
3140         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/ember/ember.js: Removed.
3141         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/handlebars: Removed.
3142         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js: Removed.
3143         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/jquery: Removed.
3144         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/jquery/jquery.js: Removed.
3145         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common: Removed.
3146         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.css: Removed.
3147         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.js: Removed.
3148         * DoYouEvenBench/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/bg.png: Removed.
3149         * DoYouEvenBench/todomvc/architecture-examples/emberjs/index.html: Removed.
3150         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js: Removed.
3151         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/app.js: Removed.
3152         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers: Removed.
3153         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers/todo_controller.js: Removed.
3154         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/controllers/todos_controller.js: Removed.
3155         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/libs: Removed.
3156         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/libs/ember-data.js: Removed.
3157         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models: Removed.
3158         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models/store.js: Removed.
3159         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/models/todo.js: Removed.
3160         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/router.js: Removed.
3161         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/views: Removed.
3162         * DoYouEvenBench/todomvc/architecture-examples/emberjs/js/views/edit_todo_view.js: Removed.
3163         * DoYouEvenBench/todomvc/architecture-examples/emberjs/readme.md: Removed.
3164         * DoYouEvenBench/todomvc/architecture-examples/emberjs/test.html: Removed.
3165         * DoYouEvenBench/todomvc/architecture-examples/jquery: Removed.
3166         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower.json: Removed.
3167         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components: Removed.
3168         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/handlebars: Removed.
3169         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/handlebars/handlebars.js: Removed.
3170         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/jquery: Removed.
3171         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/jquery/jquery.js: Removed.
3172         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common: Removed.
3173         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.css: Removed.
3174         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/base.js: Removed.
3175         * DoYouEvenBench/todomvc/architecture-examples/jquery/bower_components/todomvc-common/bg.png: Removed.
3176         * DoYouEvenBench/todomvc/architecture-examples/jquery/css: Removed.
3177         * DoYouEvenBench/todomvc/architecture-examples/jquery/css/app.css: Removed.
3178         * DoYouEvenBench/todomvc/architecture-examples/jquery/index.html: Removed.
3179         * DoYouEvenBench/todomvc/architecture-examples/jquery/js: Removed.
3180         * DoYouEvenBench/todomvc/architecture-examples/jquery/js/app.js: Removed.
3181         * DoYouEvenBench/todomvc/architecture-examples/jquery/readme.md: Removed.
3182         * DoYouEvenBench/todomvc/labs: Removed.
3183         * DoYouEvenBench/todomvc/labs/architecture-examples: Removed.
3184         * DoYouEvenBench/todomvc/labs/architecture-examples/react: Removed.
3185         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower.json: Removed.
3186         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components: Removed.
3187         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director: Removed.
3188         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/LICENSE: Removed.
3189         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/README.md: Removed.
3190         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build: Removed.
3191         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build/director.js: Removed.
3192         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build/director.min.js: Removed.
3193         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/director/build/ender.js: Removed.
3194         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react: Removed.
3195         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/JSXTransformer.js: Removed.
3196         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/bower.json: Removed.
3197         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/react.js: Removed.
3198         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/react/react.min.js: Removed.
3199         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common: Removed.
3200         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/base.css: Removed.
3201         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/base.js: Removed.
3202         * DoYouEvenBench/todomvc/labs/architecture-examples/react/bower_components/todomvc-common/bg.png: Removed.
3203         * DoYouEvenBench/todomvc/labs/architecture-examples/react/index.html: Removed.
3204         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js: Removed.
3205         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js/app.jsx: Removed.
3206         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js/footer.jsx: Removed.
3207         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js/todoItem.jsx: Removed.
3208         * DoYouEvenBench/todomvc/labs/architecture-examples/react/js/utils.jsx: Removed.
3209         * DoYouEvenBench/todomvc/labs/architecture-examples/react/readme.md: Removed.
3210         * DoYouEvenBench/todomvc/license.md: Removed.
3211         * DoYouEvenBench/todomvc/readme.md: Removed.
3212         * DoYouEvenBench/todomvc/vanilla-examples: Removed.
3213         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs: Removed.
3214         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower.json: Removed.
3215         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components: Removed.
3216         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common: Removed.
3217         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.css: Removed.
3218         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/base.js: Removed.
3219         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/bower_components/todomvc-common/bg.png: Removed.
3220         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/index.html: Removed.
3221         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js: Removed.
3222         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/app.js: Removed.
3223         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/controller.js: Removed.
3224         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/helpers.js: Removed.
3225         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/model.js: Removed.
3226         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/store.js: Removed.
3227         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/js/view.js: Removed.
3228         * DoYouEvenBench/todomvc/vanilla-examples/vanillajs/readme.md: Removed.
3229         * Skipped:
3230
3231 2014-01-17  Ryosuke Niwa  <rniwa@webkit.org>
3232
3233         Build fix. Skip HTML files that are not tests.
3234
3235         * Skipped:
3236
3237 2014-01-16  Ryosuke Niwa  <rniwa@webkit.org>
3238
3239         Automate DoYouEvenBench
3240         https://bugs.webkit.org/show_bug.cgi?id=124497
3241
3242         Reviewed by Geoffrey Garen.
3243
3244         Enable DoYouEvenBench/Full.html on perf bots by default.
3245
3246         Put a space between the time and ms, and fixed a typo in runner.js so that the aggregator name will be reported.
3247
3248         * DoYouEvenBench/Full.html:
3249         * Skipped:
3250         * resources/runner.js:
3251
3252 2014-01-15  Manuel Rego Casasnovas  <rego@igalia.com>
3253
3254         [CSS Regions] Add performance tests for selection with mixed content
3255         https://bugs.webkit.org/show_bug.cgi?id=126427
3256
3257         Reviewed by Ryosuke Niwa.
3258
3259         Add new performance tests for selection in CSS Regions mixing regular
3260         content with regions. 2 new tests are added, one checking select all
3261         command and another simulating a user selection passing through all the
3262         paragraphs (similar to Layout/RegionsSelection.html).
3263
3264         Test are skipped for now while implementation of selection in CSS
3265         Regions is still evolving.
3266
3267         * Layout/RegionsExtendingSelectionMixedContent.html: Added.
3268         * Layout/RegionsSelectAllMixedContent.html: Added.
3269         * Layout/resources/regions.css:
3270         (.regular):
3271         * Layout/resources/regions.js:
3272         * Skipped:
3273
3274 2014-01-14  Ryosuke Niwa  <rniwa@webkit.org>
3275
3276         Make DoYouEvenBench runnable by run-perf-tests
3277         https://bugs.webkit.org/show_bug.cgi?id=127030
3278
3279         Reviewed by Andreas Kling.
3280
3281         Added Full.html that runs 5 iterations of DoYouEvenBench. This is the canonical DoYouEvenBench,
3282         which is also runnable by run-perf-tests.
3283
3284         * DoYouEvenBench/Full.html: Added.
3285
3286         * DoYouEvenBench/benchmark.html:
3287         (startTest): Updated the code to account for the fact old measuredValues is pushed down to tests
3288         property and we now have total property so that we don't have to manually compute the total.
3289
3290         * DoYouEvenBench/resources/benchmark-report.js: Added. When we're inside a DRT/WTR, use
3291         PerfTestRunner to output that can be parsed by run-perf-tests. Do the same when the query part
3292         or the fragment part of the current URL is "webkit" for debugging purposes.
3293
3294         * DoYouEvenBench/resources/benchmark-runner.js:
3295         (BenchmarkRunner):
3296         (BenchmarkRunner.prototype._appendFrame): Position the frame at (0, 0) inside DRT and WTR since
3297         we have exactly 800px by 600px inside those two test runners. Also always insert the iframe as
3298         the first child of body to avoid inserting it after the pre inserted by the test runner.
3299         (BenchmarkRunner.prototype.step): Initializes _measuredValues.
3300         (BenchmarkRunner.prototype.runAllSteps): Merged callNextStep in benchmark.html.
3301         (BenchmarkRunner.prototype.runMultipleIterations): Added.
3302         (BenchmarkRunner.prototype._runTestAndRecordResults): Compute the grand total among suites.
3303         Also push down the sync and async time into tests property for consistency.
3304         (BenchmarkRunner.prototype._finalize):
3305
3306         * Dromaeo/resources/dromaeorunner.js:
3307         (DRT.testObject): Renamed dromaeoIterationCount to customIterationCount as this option is also
3308         used by DoYouEvenBench.
3309
3310         * resources/runner.js: Ditto.
3311         (.finish): Spit out the aggregator name.
3312
3313 2014-01-07  Ryosuke Niwa  <rniwa@webkit.org>
3314
3315         DoYouEvenBench: Turn BenchmarkRunner into a real class
3316         https://bugs.webkit.org/show_bug.cgi?id=126613
3317
3318         Reviewed by Stephanie Lewis.
3319
3320         Made BenchmarkRunner an instantiatable class. Made tests.js simply create an array of suite objects
3321         instead of calling BenchmarkRunner.Suite now that we can have mulitple instances of BenchmarkRunner.
3322
3323         * DoYouEvenBench/benchmark.html:
3324         (formatTestName): Moved and renamed from BenchmarkRunner._testName.
3325         (createUIForSuites): Extracted from a giant blob of code.
3326         (startTest): Ditto.
3327         * DoYouEvenBench/resources/benchmark-runner.js:
3328         (BenchmarkRunner): Added.
3329         (BenchmarkRunner.prototype.waitForElement):
3330         (BenchmarkRunner.prototype._removeFrame):
3331         (BenchmarkRunner.prototype._appendFrame):
3332         (BenchmarkRunner.prototype._waitAndWarmUp):
3333         (BenchmarkRunner.prototype._runTest):
3334         (BenchmarkState.prototype.prepareCurrentSuite):
3335         (BenchmarkRunner.prototype.step):
3336         (BenchmarkRunner.prototype._runTestAndRecordResults):
3337         (BenchmarkRunner.prototype._finalize):
3338         * DoYouEvenBench/resources/tests.js:
3339
3340 2014-01-07  Ryosuke Niwa  <rniwa@webkit.org>
3341
3342         DoYouEvenBench: Extract tests and runner code from benchmark.js/html
3343         https://bugs.webkit.org/show_bug.cgi?id=126596
3344
3345         Reviewed by Stephanie Lewis.
3346         
3347         Extracted benchmark-runner.js and tests.js out of benchmark.js and benchmark.html.
3348
3349         Added a "client" interface to BenchmarkRunner so that benchmark.html could register necessary hooks to
3350         update its UI. Also made BenchmarkRunner store a tree of results so that the serialization of test names
3351         could be isolated from BenchmarkRunner itself in the future.
3352
3353         * DoYouEvenBench/benchmark.html:
3354         Moved the code to instantiate and update UI here from benchmark.js. The test code was moved out of this
3355         file into resources/tests.js.
3356
3357         * DoYouEvenBench/resources/benchmark-runner.js: Renamed from PerformanceTests/DoYouEvenBench/benchmark.js.
3358         (SimplePromise): Moved from benchmark.js
3359         (SimplePromise.prototype.then): Ditto.
3360         (SimplePromise.prototype.resolve): Ditto.
3361         (BenchmarkTestStep): Added. Wraps each test step.
3362         (BenchmarkRunner.suite): Moved from benchmark.js.
3363         (BenchmarkRunner.setClient): Added.
3364         (BenchmarkRunner.waitForElement): Moved.
3365         (BenchmarkRunner._removeFrame): Ditto.
3366         (BenchmarkRunner._appendFrame): Ditto. Set the width and the height of the iframe as they're more than
3367         presentational as they affect performance.
3368         (BenchmarkRunner._waitAndWarmUp): Ditto.
3369         (BenchmarkRunner._runTest): Ditto.
3370         (BenchmarkRunner._testName): Ditto.
3371         (BenchmarkState): Ditto.
3372         (BenchmarkState.prototype.currentSuite): Ditto.
3373         (BenchmarkState.prototype.currentTest): Ditto.
3374         (BenchmarkState.prototype.next): Ditto.
3375         (BenchmarkState.prototype.isFirstTest): Ditto.
3376         (BenchmarkState.prototype.prepareCurrentSuite): Ditto.
3377         (BenchmarkRunner.step): Ditto.
3378         (BenchmarkRunner._runTestAndRecordResults): Ditto. Note the code to update the UI has been move to
3379         benchmark.html. Also moved the code to accumulate the totals here from _finalize.
3380         (BenchmarkRunner._finalize): Moved. 
3381
3382         * DoYouEvenBench/resources/tests.js: Copied from PerformanceTests/DoYouEvenBench/benchmark.html.
3383         Uses BenchmarkTestStep instead of an array for each test step.
3384
3385 2014-01-02  Myles C. Maxfield  <mmaxfield@apple.com>
3386
3387         Allow ImageBuffer to re-use IOSurfaces
3388         https://bugs.webkit.org/show_bug.cgi?id=125477
3389
3390         Reviewed by Geoff Garen. 
3391
3392         This test times creating a variety of different sizes of canvases 
3393         once some have already been created. The second creation of the 
3394         canvases should re-use the existing IOSurfaces. 
3395         
3396         * Canvas/reuse.html: Added.
3397
3398 2013-12-23  Commit Queue  <commit-queue@webkit.org>
3399
3400         Unreviewed, rolling out r160945.
3401         http://trac.webkit.org/changeset/160945
3402         https://bugs.webkit.org/show_bug.cgi?id=126164
3403
3404         Seems to have broken multiple canvas tests (Requested by ap on
3405         #webkit).
3406
3407         * Canvas/reuse.html: Removed.
3408
3409 2013-12-09  Myles C. Maxfield  <mmaxfield@apple.com>
3410
3411         Allow ImageBuffer to re-use IOSurfaces
3412         https://bugs.webkit.org/show_bug.cgi?id=125477
3413
3414         Reviewed by Geoff Garen.
3415
3416         This test times creating a variety of different sizes of canvases
3417         once some have already been created. The second creation of the
3418         canvases should re-use the existing IOSurfaces.
3419
3420         * Canvas/reuse.html: Added.
3421
3422 2013-12-15  Ryosuke Niwa  <rniwa@webkit.org>
3423
3424         REGRESSION: 2x regression on Dromaeo DOM query tests
3425         https://bugs.webkit.org/show_bug.cgi?id=125377
3426
3427         Reviewed by Filip Pizlo.
3428
3429         Added a micro-benchmark for updating a named property on document.
3430
3431         * Bindings/update-name-getter.html: Added.
3432         * Skipped:
3433
3434 2013-12-03  Manuel Rego Casasnovas  <rego@igalia.com>
3435
3436         [CSS Regions] Fix Layout/RegionsSelection.html in Mac platform
3437         https://bugs.webkit.org/show_bug.cgi?id=124963
3438
3439         Reviewed by Ryosuke Niwa.
3440
3441         Layout/RegionsSelection.html introduced in r159488 was not working in
3442         Mac platform because of it was trying to use mouse events out of the
3443         window dimensions. Use collapse() and extend() methods from Selection
3444         object to solve the issue.
3445
3446         * Layout/resources/regions.js: Use collapse() and extend() instead of
3447         mouse events.
3448
3449 2013-11-27  Ryosuke Niwa  <rniwa@webkit.org>
3450
3451         Build fix after r159805.
3452
3453         * resources/runner.js:
3454
3455 2013-11-26  Sergio Villar Senin  <svillar@igalia.com>
3456
3457         [CSS Grid Layout] Support grid-definition-{rows|columns} repeat() syntax
3458         https://bugs.webkit.org/show_bug.cgi?id=103312
3459
3460         Reviewed by Andreas Kling.
3461
3462         Use the repeat() syntax to build the huge grids used by the
3463         performance tests.
3464
3465         * Layout/auto-grid-lots-of-data.html:
3466         * Layout/fixed-grid-lots-of-data.html:
3467
3468 2013-11-26  Ryosuke Niwa  <rniwa@webkit.org>
3469
3470         Record subtest values in Dromaeo tests
3471         https://bugs.webkit.org/show_bug.cgi?id=124498
3472
3473         Reviewed by Andreas Kling.
3474
3475         Made Dromaeo's test runner report values in DRT.progress via newly added PerfTestRunner.reportValues.
3476
3477         * Dromaeo/resources/dromaeorunner.js:
3478         (.): Moved the definition out of DRT.setup.
3479         (DRT.setup): Ditto.
3480         (DRT.testObject): Extracted from DRT.setup. Set the subtest name and continueTesting.
3481         continueTesting is set true for subtests; i.e. when name is specified.
3482         (DRT.progress): Call PerfTestRunner.reportValues to report subtest results.
3483         (DRT.teardown): Call PerfTestRunner.reportValues instead of measureValueAsync.
3484
3485         * resources/runner.js: Made various changes for newly added PerfTestRunner.reportValues.
3486         (.): Moved the initialization of completedIterations, results, jsHeapResults, and mallocHeapResults into
3487         start since they need to be initialized before running each subtest. Initialize logLines here since we
3488         need to use the same logger for all subtests.
3489         (.start): Initialize the variables mentioned above here. Also respect doNotLogStart used by reportValues.
3490         (ignoreWarmUpAndLog): Added doNotLogProgress. Used by reportValues since it reports all values at once.
3491         (finish): Compute the metric name such as FrameFrame and Runs from unit. Also don't log or notify done
3492         when continueTesting is set on the test object.
3493         (PerfTestRunner.reportValues): Added. Reports all values for the main/sub test.
3494
3495 2013-11-26  Ryosuke Niwa  <rniwa@webkit.org>
3496
3497         Remove replay performance tests as it's not actively maintained
3498         https://bugs.webkit.org/show_bug.cgi?id=124764
3499
3500         Reviewed by Andreas Kling.
3501
3502         Removed the replay performance tests. We can add them back when time comes.
3503
3504         * Replay/Chinese/chinaz.com.replay: Removed.
3505         * Replay/Chinese/www.163.com.replay: Removed.
3506         * Replay/Chinese/www.alipay.com.replay: Removed.
3507         * Replay/Chinese/www.baidu.com.replay: Removed.
3508         * Replay/Chinese/www.csdn.net.replay: Removed.
3509         * Replay/Chinese/www.douban.com.replay: Removed.
3510         * Replay/Chinese/www.hao123.com.replay: Removed.
3511         * Replay/Chinese/www.xinhuanet.com.replay: Removed.
3512         * Replay/Chinese/www.xunlei.com.replay: Removed.
3513         * Replay/Chinese/www.youku.com.replay: Removed.
3514         * Replay/English/beatonna.livejournal.com.replay: Removed.
3515         * Replay/English/cakewrecks.blogspot.com.replay: Removed.
3516         * Replay/English/chemistry.about.com.replay: Removed.
3517         * Replay/English/digg.com.replay: Removed.
3518         * Replay/English/en.wikipedia.org-rorschach_test.replay: Removed.
3519         * Replay/English/icanhascheezburger.com.replay: Removed.
3520         * Replay/English/imgur.com-gallery.replay: Removed.
3521         * Replay/English/online.wsj.com.replay: Removed.
3522         * Replay/English/stockoverflow.com-best-comment.replay: Removed.
3523         * Replay/English/www.alibaba.com.replay: Removed.
3524         * Replay/English/www.amazon.com-kindle.replay: Removed.
3525         * Replay/English/www.apple.com.replay: Removed.
3526         * Replay/English/www.cnet.com.replay: Removed.
3527         * Replay/English/www.dailymotion.com.replay: Removed.
3528         * Replay/English/www.ehow.com-prevent-fire.replay: Removed.
3529         * Replay/English/www.filestube.com-amy-adams.replay: Removed.
3530         * Replay/English/www.foxnews.replay: Removed.
3531         * Replay/English/www.huffingtonpost.com.replay: Removed.
3532         * Replay/English/www.imdb.com-twilight.replay: Removed.
3533         * Replay/English/www.mozilla.com-all-order.replay: Removed.
3534         * Replay/English/www.php.net.replay: Removed.
3535         * Replay/English/www.reddit.com.replay: Removed.
3536         * Replay/English/www.telegraph.co.uk.replay: Removed.
3537         * Replay/English/www.w3.org-htmlcss.replay: Removed.
3538         * Replay/English/www.w3schools.com-html.replay: Removed.
3539         * Replay/English/www.youtube.com-music.replay: Removed.
3540         * Replay/French/www.orange.fr.replay: Removed.
3541         * Replay/Italian/www.repubblica.it.replay: Removed.
3542         * Replay/Japanese/2ch.net-newsplus.replay: Removed.
3543         * Replay/Japanese/entameblog.seesaa.net.replay: Removed.
3544         * Replay/Japanese/ja.wikipedia.org.replay: Removed.
3545         * Replay/Japanese/www.hatena.ne.jp.replay: Removed.
3546         * Replay/Japanese/www.livedoor.com.replay: Removed.
3547         * Replay/Japanese/www.nicovideo.jp.replay: Removed.
3548         * Replay/Japanese/www.rakuten.co.jp.replay: Removed.
3549         * Replay/Japanese/www.yahoo.co.jp.replay: Removed.
3550         * Replay/Korean/www.naver.com.replay: Removed.
3551         * Replay/Persian/blogfa.com.replay: Removed.
3552         * Replay/Polish/www.wp.pl.replay: Removed.
3553         * Replay/Portuguese/www.uol.com.br.replay: Removed.
3554         * Replay/Russian/lenta.ru.replay: Removed.
3555         * Replay/Russian/vkontakte.ru-help.replay: Removed.
3556         * Replay/Russian/www.ixbt.com.replay: Removed.
3557         * Replay/Russian/www.kp.ru.replay: Removed.
3558         * Replay/Russian/www.liveinternet.ru.replay: Removed.
3559         * Replay/Russian/www.pravda.ru.replay: Removed.
3560         * Replay/Russian/www.rambler.ru.replay: Removed.
3561         * Replay/Russian/www.ucoz.ru.replay: Removed.
3562         * Replay/Russian/www.yandex.ru.replay: Removed.
3563         * Replay/Spanish/www.taringa.net.replay: Removed.
3564         * Replay/Swedish/www.flashback.se.replay: Removed.
3565         * Replay/Swedish/www.tradera.com.replay: Removed.
3566         * Replay/www.google.com.replay: Removed.
3567         * Replay/www.techcrunch.com.replay: Removed.
3568         * Replay/www.youtube.com.replay: Removed.
3569
3570 2013-11-22  Ryosuke Niwa  <rniwa@webkit.org>
3571
3572         Layout Test editing/deleting/password-delete-performance.html is failing
3573         https://bugs.webkit.org/show_bug.cgi?id=124781
3574
3575         Reviewed by Alexey Proskuryakov.
3576
3577         Add a new performance test to replace editing/deleting/password-delete-performance.html.
3578         We skip this test by default since it's a micro benchmark.
3579
3580         * Interactive/DeletingInPasswordField.html: Added.
3581         * Skipped:
3582
3583 2013-11-18  Sergio Villar Senin  <svillar@igalia.com>
3584
3585         [CSS Grid Layout] Improve content-sized track layout
3586         https://bugs.webkit.org/show_bug.cgi?id=124408
3587
3588         Reviewed by Dean Jackson.
3589
3590         From Blink r156122 by <jchaffraix@chromium.org>
3591
3592         New test to check the performance of layouting grids with content sized tracks.
3593
3594         * Layout/auto-grid-lots-of-data.html: Added.
3595
3596 2013-11-08  Sergio Villar Senin  <svillar@igalia.com>
3597
3598         [CSS Grid Layout] Run the content-sized tracks sizing algorithm only when required
3599         https://bugs.webkit.org/show_bug.cgi?id=124039
3600
3601         Reviewed by Dean Jackson.
3602
3603         From Blink r156028 and r156168 by <jchaffraix@chromium.org>.
3604
3605         New performance tests for layouts in grids with fixed size tracks.
3606
3607         * Layout/fixed-grid-lots-of-data.html: Added.
3608
3609 2013-11-19  Manuel Rego Casasnovas  <rego@igalia.com>
3610
3611         [CSS Regions] Add performance test for selection
3612         https://bugs.webkit.org/show_bug.cgi?id=119230
3613
3614         Reviewed by Ryosuke Niwa.
3615
3616         Add new performance test for selection in CSS Regions. It checks a
3617         selection from the first region to the last one, passing through all the
3618         regions.
3619
3620         Test is skipped for now while implementation of selection in CSS Regions
3621         is still evolving.
3622
3623         * Layout/RegionsSelection.html: Added.
3624         * Layout/resources/regions.js:
3625         (.):
3626         * Skipped:
3627
3628 2013-11-18  Ryosuke Niwa  <rniwa@webkit.org>
3629
3630         Simplify and reformat the output of performance tests inside test runners
3631         https://bugs.webkit.org/show_bug.cgi?id=124496
3632
3633         Reviewed by Antti Koivisto.
3634
3635         As a preparation to support subtests for Dromaeo and DoYouEvenBench, simplify the output performance tests generate.
3636         Also modernize the output to better support "metric" concept we introduced a while ago.
3637
3638         New output on Dromaeo/dom-attr looks like this:
3639         -----------------------------------------------
3640         Running 5 times
3641         getAttribute -> [1105, 1108, 1134, 1137, 1154]
3642         element.property -> [1634, 1655, 1685, 1696, 1723]
3643         setAttribute -> [646.3536463536464, 651, 651, 656.3436563436563, 658]
3644         element.property = value -> [934, 949, 963, 964, 974]
3645         element.expando = value -> [419, 419.5804195804196, 421.57842157842157, 425.57442557442556, 429]
3646         element.expando -> [501, 517, 519.4805194805194, 521.4785214785214, 525]
3647
3648             1: 117.40644785571585 runs/s
3649             2: 118.84720469666297 runs/s
3650             3: 119.80547640905021 runs/s
3651             4: 120.51886194758805 runs/s
3652             5: 121.51924380569295 runs/s
3653
3654         :Time -> [117.40644785571585, 118.84720469666297, 119.80547640905021, 120.51886194758805, 121.51924380569295] runs/s
3655             mean: 119.619446942942 runs/s
3656             median: 119.80547640905021 runs/s
3657             stdev: 1.5769040458730506 runs/s
3658             min: 117.40644785571585 runs/s
3659             max: 121.51924380569295 runs/s
3660         -----------------------------------------------
3661
3662         * Dromaeo/resources/dromaeorunner.js:
3663         (DRT.progress): Use the new format for subtest reports.
3664         * resources/runner.js:
3665         (.): Declare verboseLogging, which is set to true outside of test runners.
3666         (PerfTestRunner.logInfo): Use verboseLogging instead of directly checking window.testRunner.
3667         (PerfTestRunner.logDetail): Added. Logs informative text with a label such as "mean: 123 s" with 4-space indentation.
3668         (PerfTestRunner.logStatistics): Use logDetail.
3669         (.start): Initialize verboseLogging. Also log "Running 20 times" as an informative log using logDetail.
3670         (.ignoreWarmUpAndLog): Use logDetail for showing the progress. These logs were useless inside test runners anyway
3671         because perftest didn't get to see any output until the test finished running.
3672         (.finish): Call logStatistics with metric name as opposed to a label. Each metric name is now prefixed with ':' to be
3673         distinguishable from subtests, making the new format forward compatible.
3674
3675 2013-11-18  Ryosuke Niwa  <rniwa@webkit.org>
3676
3677         [Performance tests] Interactive/SelectAll.html throws an exception
3678         https://bugs.webkit.org/show_bug.cgi?id=124495
3679
3680         Reviewed by Antti Koivisto
3681
3682         Return a boolean indicating whether more values are needed or not in
3683         PerfTestRunner.measureValueAsync so that runTest can terminate gracefully.
3684
3685         * Interactive/SelectAll.html:
3686         (runTest): Don't schedule a timer for runTest if we've got enough values.
3687         * resources/runner.js:
3688         (PerfTestRunner.measureValueAsync): Returns true iff more values are needed.
3689
3690 2013-11-13  Antti Koivisto  <antti@apple.com>
3691
3692         This was supposed to test overflow-wrap:break-word instead of word-break:break-all.
3693
3694         Rubber-stamped by Andreas Kling.
3695
3696         * Layout/line-layout-simple.html:
3697
3698 2013-11-12  Andreas Kling  <akling@apple.com>
3699
3700         Remove body onload handler from html5-8266.html that was causing
3701         the test to sometimes finish before doing anything interesting.
3702
3703         Unskip Parser/HTML5-8266-FullRender.html now that it's stable.
3704
3705         Rubber-stamped by Antti Koivisto.
3706
3707         * Parser/resources/html5-8266.html:
3708         * Skipped:
3709
3710 2013-11-12  Andreas Kling  <akling@apple.com>
3711
3712         Neutralize external resource loads in the new HTML5 spec copy.
3713
3714         Skip Parser/HTML5-8266-FullRender.html until I can make it less flaky.
3715
3716         * Parser/resources/html5-8266.html:
3717         * Skipped:
3718
3719 2013-11-12  Andreas Kling  <akling@apple.com>
3720
3721         Import a fresh version of the full HTML5 spec for perf testing.
3722
3723         Rubber-stamped by Antti Koivisto.
3724
3725         * Parser/HTML5-8266-FullRender.html: Added.
3726         * Parser/HTML5-8266-ParseOnly.html: Added.
3727         * Parser/resources/html5-8266.html: Added.
3728
3729 2013-11-09  Antti Koivisto  <antti@apple.com>
3730
3731         Add subtest for word-break:break-all to Layout/line-layout-simple.html
3732         https://bugs.webkit.org/show_bug.cgi?id=124103
3733
3734         Reviewed by Andreas Kling.
3735
3736         * Layout/line-layout-simple.html:
3737
3738         Combination "white-space:pre-wrap; word-break:break-all" is common for pure text.
3739
3740 2013-11-08  Antti Koivisto  <antti@apple.com>
3741
3742         Add line layout performance test that exercises more cases
3743         https://bugs.webkit.org/show_bug.cgi?id=124041
3744         
3745         Reviewed by Anders Carlsson.
3746
3747         The existing line-layout.html covers the most basic left-aligned case only.
3748         Add a test with more coverage for things that are mostly not yet supported by the simple
3749         line layout path:
3750         
3751         - centered text
3752         - right aligned text
3753         - justified text
3754         - pre
3755         - white-space:pre-wrap
3756         - text with simple inlines
3757         - text with br
3758
3759         * Layout/line-layout-simple.html: Added.
3760
3761 2013-10-25  Sergio Villar Senin  <svillar@igalia.com>
3762
3763         Use a Vector instead of HashSet to computed the orderValues in RenderFlexibleBox
3764         https://bugs.webkit.org/show_bug.cgi?id=118620
3765
3766         Reviewed by Antti Koivisto.
3767
3768         From Blink r152960 by <ojan@chromium.org>
3769
3770         New performance test for layouts in flexboxes.
3771
3772         * Layout/flexbox-lots-of-data.html: Added.
3773
3774 2013-10-24  Commit Queue  <commit-queue@webkit.org>
3775
3776         Unreviewed, rolling out r157916.
3777         http://trac.webkit.org/changeset/157916
3778         https://bugs.webkit.org/show_bug.cgi?id=123274
3779
3780         Broke Layout/flexbox-lots-of-data.html on perfbot (Requested
3781         by ap on #webkit).
3782
3783         * Layout/flexbox-lots-of-data.html: Removed.
3784
3785 2013-10-14  Sergio Villar Senin  <svillar@igalia.com>
3786
3787         Use a Vector instead of HashSet to computed the orderValues in RenderFlexibleBox
3788         https://bugs.webkit.org/show_bug.cgi?id=118620
3789
3790         Reviewed by Antti Koivisto.
3791
3792         From Blink r152960 by <ojan@chromium.org>
3793
3794         New performance test for layouts in flexboxes.
3795
3796         * Layout/flexbox-lots-of-data.html: Added.
3797
3798 2013-10-06  Ryosuke Niwa  <rniwa@webkit.org>
3799
3800         DoYouEvenBench: Make it work on Internet Explorer 11 Release Preview
3801         https://bugs.webkit.org/show_bug.cgi?id=122406
3802