This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix bug in io benchmark

  • Loading branch information...
1 parent 1bf704a commit 6e5217d3208f6792a500fc408b4dcef0a17c5412 @piscisaureus piscisaureus committed Jun 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 benchmark/io.js
View
@@ -62,7 +62,7 @@ function readtest(size, bsize) {
function wt(tsize, bsize, done) {
var start = Date.now();
- s = writetest(tsize, bsizes[0]);
+ s = writetest(tsize, bsize);
s.addListener('close', function() {
var end = Date.now();
var diff = end - start;
@@ -73,7 +73,7 @@ function wt(tsize, bsize, done) {
function rt(tsize, bsize, done) {
var start = Date.now();
- s = readtest(tsize, bsizes[0]);
+ s = readtest(tsize, bsize);
s.addListener('close', function() {
var end = Date.now();
var diff = end - start;

0 comments on commit 6e5217d

Please sign in to comment.