mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
benchmark: Add once() function to net-pipe benchmark fixture
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user