Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Fix bug in io benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Jun 21, 2012
1 parent 1bf704a commit 6e5217d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/io.js
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 6e5217d

Please sign in to comment.