Permalink
Browse files

fix var names

  • Loading branch information...
1 parent 557d1e5 commit 3711ce1880ce3f2490fb1bfc97e9ea5c6c5d2e92 @ybogdanov committed Jun 25, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 benchmarks/index.js
View
@@ -113,17 +113,17 @@ loop(0, function(){
for(var i = 0; i <= max; i++) {
sumAsync.sync(null, 3, 4);
}
- var asyncTime = new Date - start;
- console.log('async().sync() took %d ms (x%d)', asyncTime, ~~ (asyncTime / nativeTime));
+ var asyncSyncTime = new Date - start;
+ console.log('async().sync() took %d ms (x%d)', asyncSyncTime, ~~ (asyncSyncTime / nativeTime));
var Future = require('fibers/future');
var sumFuture = Future.wrap(sum);
var start = new Date();
for(var i = 0; i <= max; i++) {
Future.wait(sumFuture(3, 4));
}
- var asyncTime = new Date - start;
- console.log('Fibers.future took %d ms (x%d)', asyncTime, ~~ (asyncTime / nativeTime));
+ var fibersFutureTime = new Date - start;
+ console.log('Fibers.future took %d ms (x%d)', fibersFutureTime, ~~ (fibersFutureTime / nativeTime));
// Test Fibers
Fiber(function(){

0 comments on commit 3711ce1

Please sign in to comment.