benchmark: Add once() function to net-pipe benchmark fixture
This commit is contained in:
parent
854171dc6f
commit
7742257feb
@ -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…
x
Reference in New Issue
Block a user