[canviz] r361 committed - No longer collect timing information

0 views
Skip to first unread message

can...@googlecode.com

unread,
Feb 1, 2012, 8:36:16 PM2/1/12
to canviz-...@googlegroups.com
Revision: 361
Author: ryandesign.com
Date: Wed Feb 1 17:35:37 2012
Log: No longer collect timing information

http://code.google.com/p/canviz/source/detail?r=361

Modified:
/path/trunk/examples/example1.js

=======================================
--- /path/trunk/examples/example1.js Wed Feb 1 17:13:57 2012
+++ /path/trunk/examples/example1.js Wed Feb 1 17:35:37 2012
@@ -66,19 +66,15 @@
ctx.strokeStyle = 'rgb(100,100,100)';

ctx.beginPath();
- var before = new Date();
for (var i = 0, paths = testPaths[0], pathsLength = paths.length; i <
pathsLength; ++i) {
paths[i].makeDottedPath(ctx, spacing, firstDistance);
}
- var after = new Date();
ctx.stroke();

ctx.beginPath();
- before = new Date();
for (var i = 0, paths = testPaths[1], pathsLength = paths.length; i <
pathsLength; ++i) {
paths[i].makeDashedPath(ctx, spacing, firstDistance, drawFirst);
}
- after = new Date();
ctx.stroke();

ctx.strokeStyle = 'rgba(255,0,0,0.5)';

Reply all
Reply to author
Forward
0 new messages