projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
854171d
)
benchmark: Add once() function to net-pipe benchmark fixture
author
isaacs
<i@izs.me>
Sun, 9 Dec 2012 23:12:19 +0000
(15:12 -0800)
committer
isaacs
<i@izs.me>
Fri, 14 Dec 2012 18:52:29 +0000
(10:52 -0800)
benchmark/net-pipe.js
patch
|
blob
|
history
diff --git
a/benchmark/net-pipe.js
b/benchmark/net-pipe.js
index
e678c2a
..
0890e29
100644
(file)
--- 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;