GeezerVison is showing github.com — benchmark: Fix crash in net benchmarks · nodejs/node@7b9ae70
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: benchmark/net/net-c2s-cork.js +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -62,6 +62,7 @@ Writer.prototype.write = function(chunk, encoding, cb) { |
62 | 62 | Writer.prototype.on = function() {}; |
63 | 63 | Writer.prototype.once = function() {}; |
64 | 64 | Writer.prototype.emit = function() {}; |
| 65 | +Writer.prototype.prependListener = function() {}; |
65 | 66 |
|
66 | 67 | function server() { |
67 | 68 | var writer = new Writer(); |
|
Collapse file
Copy file name to clipboardExpand all lines: benchmark/net/net-c2s.js +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -62,6 +62,7 @@ Writer.prototype.write = function(chunk, encoding, cb) { |
62 | 62 | Writer.prototype.on = function() {}; |
63 | 63 | Writer.prototype.once = function() {}; |
64 | 64 | Writer.prototype.emit = function() {}; |
| 65 | +Writer.prototype.prependListener = function() {}; |
65 | 66 |
|
66 | 67 |
|
67 | 68 | function Reader() { |
|
Collapse file
Copy file name to clipboardExpand all lines: benchmark/net/net-pipe.js +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -62,6 +62,7 @@ Writer.prototype.write = function(chunk, encoding, cb) { |
62 | 62 | Writer.prototype.on = function() {}; |
63 | 63 | Writer.prototype.once = function() {}; |
64 | 64 | Writer.prototype.emit = function() {}; |
| 65 | +Writer.prototype.prependListener = function() {}; |
65 | 66 |
|
66 | 67 |
|
67 | 68 | function Reader() { |
|
Collapse file
Copy file name to clipboardExpand all lines: benchmark/net/net-s2c.js +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -62,6 +62,7 @@ Writer.prototype.write = function(chunk, encoding, cb) { |
62 | 62 | Writer.prototype.on = function() {}; |
63 | 63 | Writer.prototype.once = function() {}; |
64 | 64 | Writer.prototype.emit = function() {}; |
| 65 | +Writer.prototype.prependListener = function() {}; |
65 | 66 |
|
66 | 67 |
|
67 | 68 | function Reader() { |
|