From: isaacs Date: Sun, 9 Dec 2012 23:12:19 +0000 (-0800) Subject: benchmark: Add once() function to net-pipe benchmark fixture X-Git-Tag: v0.9.4~42^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7742257febb511b97d8859cc03df9e09d8b7e0c3;p=platform%2Fupstream%2Fnodejs.git benchmark: Add once() function to net-pipe benchmark fixture --- diff --git a/benchmark/net-pipe.js b/benchmark/net-pipe.js index e678c2a..0890e29 100644 --- a/benchmark/net-pipe.js +++ b/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;