1
1
SVG . bench . describe ( 'Generate 10000 rects' , function ( bench ) {
2
- bench . test ( 'using SVG.js v2.5.2 ' , function ( ) {
2
+ bench . test ( 'using SVG.js v2.5.3 ' , function ( ) {
3
3
for ( var i = 0 ; i < 10000 ; i ++ )
4
4
bench . draw . rect ( 100 , 100 )
5
5
} )
@@ -19,7 +19,7 @@ SVG.bench.describe('Generate 10000 rects', function(bench) {
19
19
20
20
21
21
SVG . bench . describe ( 'Generate 10000 rects with fill' , function ( bench ) {
22
- bench . test ( 'using SVG.js v2.5.2 ' , function ( ) {
22
+ bench . test ( 'using SVG.js v2.5.3 ' , function ( ) {
23
23
for ( var i = 0 ; i < 10000 ; i ++ )
24
24
bench . draw . rect ( 100 , 100 ) . fill ( '#f06' )
25
25
} )
@@ -40,7 +40,7 @@ SVG.bench.describe('Generate 10000 rects with fill', function(bench) {
40
40
41
41
42
42
SVG . bench . describe ( 'Generate 10000 rects with position and fill' , function ( bench ) {
43
- bench . test ( 'using SVG.js v2.5.2 ' , function ( ) {
43
+ bench . test ( 'using SVG.js v2.5.3 ' , function ( ) {
44
44
for ( var i = 0 ; i < 10000 ; i ++ )
45
45
bench . draw . rect ( 100 , 100 ) . move ( 50 , 50 ) . fill ( '#f06' )
46
46
} )
@@ -63,7 +63,7 @@ SVG.bench.describe('Generate 10000 rects with position and fill', function(bench
63
63
64
64
65
65
SVG . bench . describe ( 'Generate 10000 rects with gradient fill' , function ( bench ) {
66
- bench . test ( 'using SVG.js v2.5.2 ' , function ( ) {
66
+ bench . test ( 'using SVG.js v2.5.3 ' , function ( ) {
67
67
for ( var i = 0 ; i < 10000 ; i ++ ) {
68
68
var g = bench . draw . gradient ( 'linear' , function ( stop ) {
69
69
stop . at ( 0 , '#000' )
0 commit comments