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