projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add fillGraph option to gadget
[dygraphs.git]
/
tests
/
perf.html
diff --git
a/tests/perf.html
b/tests/perf.html
index
1ed85c7
..
6515dee
100644
(file)
--- a/
tests/perf.html
+++ b/
tests/perf.html
@@
-1,6
+1,6
@@
<html>
<head>
<html>
<head>
- <title>
noise
</title>
+ <title>
perf
</title>
<!--[if IE]>
<script type="text/javascript" src="excanvas.js"></script>
<![endif]-->
<!--[if IE]>
<script type="text/javascript" src="excanvas.js"></script>
<![endif]-->
@@
-10,7
+10,7
@@
<script type="text/javascript" src="data.js"></script>
</head>
<body>
<script type="text/javascript" src="data.js"></script>
</head>
<body>
- <div id="g" style="width:600px; height:300px;"></div>
+ <div id="
div_
g" style="width:600px; height:300px;"></div>
<div id="status"></div>
<script type="text/javascript">
<div id="status"></div>
<script type="text/javascript">
@@
-21,7
+21,7
@@
for (var i = 0; i < num_tests; i++) {
var this_start = new Date;
g = new Dygraph(
for (var i = 0; i < num_tests; i++) {
var this_start = new Date;
g = new Dygraph(
- document.getElementById("g"),
+ document.getElementById("
div_
g"),
NoisyData, {
rollPeriod: 7,
errorBars: true
NoisyData, {
rollPeriod: 7,
errorBars: true
@@
-35,7
+35,7
@@
document.getElementById("status").innerHTML = "Elapsed time: " + (end - start)/num_tests + " ms/instantiation";
new Dygraph(
document.getElementById("status").innerHTML = "Elapsed time: " + (end - start)/num_tests + " ms/instantiation";
new Dygraph(
- document.getElementById("g"),
+ document.getElementById("
div_
g"),
times, {
labels: [ "Iteration", "Time (ms)" ]
}
times, {
labels: [ "Iteration", "Time (ms)" ]
}