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