summaryrefslogtreecommitdiffstats
path: root/bench/tests
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-04-17 17:13:50 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2017-04-17 17:13:50 +0200
commit230d2a2fa4ab2d73ddbeb4894b1620dc779d3a96 (patch)
tree7fc148bd1bb2cb01a1ec83d3d2603c62a08bf7b6 /bench/tests
parent5058edee3b479e23462a7021648f1dfd3e351b2f (diff)
downloadsvg.js-230d2a2fa4ab2d73ddbeb4894b1620dc779d3a96.tar.gz
svg.js-230d2a2fa4ab2d73ddbeb4894b1620dc779d3a96.zip
bump 2.5.32.5.3
Diffstat (limited to 'bench/tests')
-rw-r--r--bench/tests/10000-circles.js4
-rw-r--r--bench/tests/10000-pathArrays.js6
-rw-r--r--bench/tests/10000-paths.js2
-rw-r--r--bench/tests/10000-rects.js8
4 files changed, 10 insertions, 10 deletions
diff --git a/bench/tests/10000-circles.js b/bench/tests/10000-circles.js
index 28fd609..f090281 100644
--- a/bench/tests/10000-circles.js
+++ b/bench/tests/10000-circles.js
@@ -1,5 +1,5 @@
SVG.bench.describe('Generate 10000 circles', function(bench) {
- bench.test('using SVG.js v2.5.2', function() {
+ bench.test('using SVG.js v2.5.3', function() {
for (var i = 0; i < 10000; i++)
bench.draw.circle(100,100)
})
@@ -18,7 +18,7 @@ SVG.bench.describe('Generate 10000 circles', function(bench) {
})
SVG.bench.describe('Generate 10000 circles with fill', function(bench) {
- bench.test('using SVG.js v2.5.2', function() {
+ bench.test('using SVG.js v2.5.3', function() {
for (var i = 0; i < 10000; i++)
bench.draw.circle(100,100).fill('#f06')
})
diff --git a/bench/tests/10000-pathArrays.js b/bench/tests/10000-pathArrays.js
index 871d022..a4c0fdc 100644
--- a/bench/tests/10000-pathArrays.js
+++ b/bench/tests/10000-pathArrays.js
@@ -5,17 +5,17 @@ SVG.bench.describe('Generate 10000 pathArrays', function(bench) {
var data3 = 'M10 10-45-30.5.5 .89L2e-2.5.5.5-.5C.5.5.5.5.5.5L-3-4z'
- bench.test('using SVG.js v2.5.2', function() {
+ bench.test('using SVG.js v2.5.3', function() {
for (var i = 0; i < 10000; i++)
new SVG.PathArray(data)
})
- bench.test('using SVG.js v2.5.2 more data', function() {
+ bench.test('using SVG.js v2.5.3 more data', function() {
for (var i = 0; i < 10000; i++)
new SVG.PathArray(data2)
})
- bench.test('using SVG.js v2.5.2 complicated data', function() {
+ bench.test('using SVG.js v2.5.3 complicated data', function() {
for (var i = 0; i < 10000; i++)
new SVG.PathArray(data3)
})
diff --git a/bench/tests/10000-paths.js b/bench/tests/10000-paths.js
index dcfbc43..cdf1d22 100644
--- a/bench/tests/10000-paths.js
+++ b/bench/tests/10000-paths.js
@@ -1,7 +1,7 @@
SVG.bench.describe('Generate 10000 paths', function(bench) {
var data = 'M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100'
- bench.test('using SVG.js v2.5.2', function() {
+ bench.test('using SVG.js v2.5.3', function() {
for (var i = 0; i < 10000; i++)
bench.draw.path(data)
})
diff --git a/bench/tests/10000-rects.js b/bench/tests/10000-rects.js
index 15fc94c..aea0c79 100644
--- a/bench/tests/10000-rects.js
+++ b/bench/tests/10000-rects.js
@@ -1,5 +1,5 @@
SVG.bench.describe('Generate 10000 rects', function(bench) {
- bench.test('using SVG.js v2.5.2', function() {
+ bench.test('using SVG.js v2.5.3', function() {
for (var i = 0; i < 10000; i++)
bench.draw.rect(100,100)
})
@@ -19,7 +19,7 @@ SVG.bench.describe('Generate 10000 rects', function(bench) {
SVG.bench.describe('Generate 10000 rects with fill', function(bench) {
- bench.test('using SVG.js v2.5.2', function() {
+ bench.test('using SVG.js v2.5.3', function() {
for (var i = 0; i < 10000; i++)
bench.draw.rect(100,100).fill('#f06')
})
@@ -40,7 +40,7 @@ SVG.bench.describe('Generate 10000 rects with fill', function(bench) {
SVG.bench.describe('Generate 10000 rects with position and fill', function(bench) {
- bench.test('using SVG.js v2.5.2', function() {
+ bench.test('using SVG.js v2.5.3', function() {
for (var i = 0; i < 10000; i++)
bench.draw.rect(100,100).move(50,50).fill('#f06')
})
@@ -63,7 +63,7 @@ SVG.bench.describe('Generate 10000 rects with position and fill', function(bench
SVG.bench.describe('Generate 10000 rects with gradient fill', function(bench) {
- bench.test('using SVG.js v2.5.2', function() {
+ bench.test('using SVG.js v2.5.3', function() {
for (var i = 0; i < 10000; i++) {
var g = bench.draw.gradient('linear', function(stop) {
stop.at(0, '#000')