Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix var names

  • Loading branch information...
commit 3711ce1880ce3f2490fb1bfc97e9ea5c6c5d2e92 1 parent 557d1e5
@ybogdanov authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 benchmarks/index.js
View
8 benchmarks/index.js
@@ -113,8 +113,8 @@ 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);
@@ -122,8 +122,8 @@ loop(0, function(){
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(){
Please sign in to comment.
Something went wrong with that request. Please try again.