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