Skip to content

Commit

Permalink
benchmark: Add once() function to net-pipe benchmark fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Dec 14, 2012
1 parent 854171d commit 7742257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/net-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Writer.prototype.write = function(chunk, encoding, cb) {

// doesn't matter, never emits anything.
Writer.prototype.on = function() {};

Writer.prototype.once = function() {};
Writer.prototype.emit = function() {};

var statCounter = 0;
Expand Down

0 comments on commit 7742257

Please sign in to comment.