Skip to content

Commit 3090053

Browse files
vmiurasmfr
authored andcommitted
Make the 'Paths' test workload more consistent
This test fixes a gradual change in the number of points having isSplit=true from 5% to 50% of points by starting with 50% of points with isSplit=true. Fixes #30
1 parent 9edd41a commit 3090053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MotionMark/tests/core/resources/canvas-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ CanvasLinePoint = Utilities.createClass(
110110
var colors = ["#101010", "#808080", "#c0c0c0", "#101010", "#808080", "#c0c0c0", "#e01040"];
111111
this.color = Stage.randomElementInArray(colors);
112112
this.width = Math.pow(Pseudo.random(), 5) * 20 + 1;
113-
this.isSplit = Pseudo.random() > 0.95;
113+
this.isSplit = Pseudo.random() > 0.5;
114114

115115
var nextPoint;
116116
if (stage.objects.length)

0 commit comments

Comments
 (0)