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