aboutsummaryrefslogtreecommitdiffstats
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/runner.html10
-rw-r--r--bench/svg.bench.js2
2 files changed, 10 insertions, 2 deletions
diff --git a/bench/runner.html b/bench/runner.html
index 4c40208..0e005f1 100644
--- a/bench/runner.html
+++ b/bench/runner.html
@@ -4,8 +4,10 @@
<title>SVG.js benchmarker</title>
<style>
body {
- font-family: 'Helvetica Light', Helvetica, sans-serif;
+ font-family: 'Menlo', monospace;
font-weight: 300;
+ color: #999;
+ font-size: 14px;
}
svg {
width: 2px;
@@ -14,6 +16,12 @@
position: fixed;
right: 0;
}
+ span.name {
+ color: #B7CD3E;
+ }
+ span.ms {
+ color: #FF0066;
+ }
</style>
</head>
<body>
diff --git a/bench/svg.bench.js b/bench/svg.bench.js
index 653d438..0cf46cc 100644
--- a/bench/svg.bench.js
+++ b/bench/svg.bench.js
@@ -57,7 +57,7 @@
, write: function(name, ms) {
var test = document.createElement('div')
test.className = 'test'
- test.innerHTML = 'Compleded "' + name + '" in ' + ms + 'ms'
+ test.innerHTML = 'Compleded <span class="name">' + name + '</span> in <span class="ms">' + ms + 'ms</span>'
this.pad().appendChild(test)