<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;
position: fixed;
right: 0;
}
+ span.name {
+ color: #B7CD3E;
+ }
+ span.ms {
+ color: #FF0066;
+ }
</style>
</head>
<body>
, 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)