Browse Source

benchmark: Add once() function to net-pipe benchmark fixture

v0.9.4-release
isaacs 12 years ago
parent
commit
7742257feb
  1. 2
      benchmark/net-pipe.js

2
benchmark/net-pipe.js

@ -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;

Loading…
Cancel
Save