MotionMark
MotionMark copied to clipboard
MotionMark Browser Benchmark
``` result[Strings.json.score] = Statistics.geometricMean(testsScores); ``` can be ``` result[Strings.json.score] = Math.geomean(testsScores); ``` And ``` var colorStopStep = Utilities.lerp(gradientStep, -.1, .1); ``` can be ``` var colorStopStep = Math.lerp(gradientStep, -.1, .1);...
This is sometimes confusing and hard to read. ```` this.size = new Point(randSize, randSize); this.minPosition = this.size.center; ``` Can be ``` this.size = new Size(randSize, randSize); this.minPosition = this.size.center; ```
``` this.element = Utilities.createSVGElement("image", attrs, xlinkAttrs, stage.element); ``` can be ``` this.element = document.createSVGElement("image", attrs, xlinkAttrs, stage.element); ``` And ``` var row = Utilities.createElement("tr", {}, this.element); ``` can be ```...
Do not use the string table to access the structure's members. For example: ``` this._results[Strings.json.version] = this._version; ``` can be ``` this._results.version = this._version; ```
Get rid of `SimplePromise` and use the system `Promise`. Use the `await` and `async` syntax to make the code more readable.
The current implementation of the regression calculation has these flaws: 1. When processing (x[0], y[0]), L1 must be any line through (x0, y0) which meets L2 at a point (x’,...
In some small devices the animation is causing that the fps calculation does not get the correct number because the animation is too heavy. This change adds some seconds to...
Reported against: Version 1.3.1 MotionMark requires you to rotate your device into landscape mode and the size of the canvas is determined via media queries. On Chrome and Firefox media...
This test exercises more of the 2D canvas API, intended to subsume Arcs, Paths and Lines.