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