summaryrefslogtreecommitdiffstats
path: root/bench/runner.html
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2016-08-04 18:06:22 +0200
committerwout <wout@impinc.co.uk>2016-08-04 18:06:22 +0200
commitf61670db80913e5261811ad36b08e74d03e23771 (patch)
tree1fde1f20bd650c26ee7ea0a2338ada65ba41badd /bench/runner.html
parentf25ba0e7457cc59c6c22714619f8d8ce7526b3e8 (diff)
downloadsvg.js-f61670db80913e5261811ad36b08e74d03e23771.tar.gz
svg.js-f61670db80913e5261811ad36b08e74d03e23771.zip
Added benchmark script
Diffstat (limited to 'bench/runner.html')
-rw-r--r--bench/runner.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/bench/runner.html b/bench/runner.html
new file mode 100644
index 0000000..0ede94f
--- /dev/null
+++ b/bench/runner.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>SVG.js benchmarker</title>
+ <style>
+ body {
+ font-family: 'Helvetica Light', Helvetica, sans-serif;
+ font-weight: 300;
+ }
+ #draw {
+ width: 2px;
+ height: 2px;
+ overflow: hidden;
+ }
+ </style>
+</head>
+<body>
+ <div id="draw"></div>
+ <script src="../dist/svg.js"></script>
+ <script src="svg.bench.js"></script>
+ <script src="tests/element-creation.js"></script>
+ <script>
+ SVG.bench.run()
+ </script>
+</body>
+</html> \ No newline at end of file