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