diff options
Diffstat (limited to 'benchmark/net')
-rw-r--r-- | benchmark/net/net-c2s-cork.js | 4 | ||||
-rw-r--r-- | benchmark/net/net-c2s.js | 4 | ||||
-rw-r--r-- | benchmark/net/net-pipe.js | 4 | ||||
-rw-r--r-- | benchmark/net/net-s2c.js | 4 | ||||
-rw-r--r-- | benchmark/net/net-wrap-js-stream-passthrough.js | 2 | ||||
-rw-r--r-- | benchmark/net/tcp-raw-s2c.js | 4 |
6 files changed, 11 insertions, 11 deletions
diff --git a/benchmark/net/net-c2s-cork.js b/benchmark/net/net-c2s-cork.js index 38a0b17512..34c4b50296 100644 --- a/benchmark/net/net-c2s-cork.js +++ b/benchmark/net/net-c2s-cork.js @@ -1,4 +1,4 @@ -// test the speed of .pipe() with sockets +// Test the speed of .pipe() with sockets 'use strict'; const common = require('../common.js'); @@ -78,7 +78,7 @@ Writer.prototype.write = function(chunk, encoding, cb) { return true; }; -// doesn't matter, never emits anything. +// Doesn't matter, never emits anything. Writer.prototype.on = function() {}; Writer.prototype.once = function() {}; Writer.prototype.emit = function() {}; diff --git a/benchmark/net/net-c2s.js b/benchmark/net/net-c2s.js index 2d6ac85f5d..732bda131d 100644 --- a/benchmark/net/net-c2s.js +++ b/benchmark/net/net-c2s.js @@ -1,4 +1,4 @@ -// test the speed of .pipe() with sockets +// Test the speed of .pipe() with sockets 'use strict'; const common = require('../common.js'); @@ -72,7 +72,7 @@ Writer.prototype.write = function(chunk, encoding, cb) { return true; }; -// doesn't matter, never emits anything. +// Doesn't matter, never emits anything. Writer.prototype.on = function() {}; Writer.prototype.once = function() {}; Writer.prototype.emit = function() {}; diff --git a/benchmark/net/net-pipe.js b/benchmark/net/net-pipe.js index dc0b996dc3..12db1e13b8 100644 --- a/benchmark/net/net-pipe.js +++ b/benchmark/net/net-pipe.js @@ -1,4 +1,4 @@ -// test the speed of .pipe() with sockets +// Test the speed of .pipe() with sockets 'use strict'; const common = require('../common.js'); @@ -75,7 +75,7 @@ Writer.prototype.write = function(chunk, encoding, cb) { return true; }; -// doesn't matter, never emits anything. +// Doesn't matter, never emits anything. Writer.prototype.on = function() {}; Writer.prototype.once = function() {}; Writer.prototype.emit = function() {}; diff --git a/benchmark/net/net-s2c.js b/benchmark/net/net-s2c.js index bb0a3121b9..848168cda4 100644 --- a/benchmark/net/net-s2c.js +++ b/benchmark/net/net-s2c.js @@ -1,4 +1,4 @@ -// test the speed of .pipe() with sockets +// Test the speed of .pipe() with sockets 'use strict'; const common = require('../common.js'); @@ -73,7 +73,7 @@ Writer.prototype.write = function(chunk, encoding, cb) { return true; }; -// doesn't matter, never emits anything. +// Doesn't matter, never emits anything. Writer.prototype.on = function() {}; Writer.prototype.once = function() {}; Writer.prototype.emit = function() {}; diff --git a/benchmark/net/net-wrap-js-stream-passthrough.js b/benchmark/net/net-wrap-js-stream-passthrough.js index abea4b573d..1c597b6ed0 100644 --- a/benchmark/net/net-wrap-js-stream-passthrough.js +++ b/benchmark/net/net-wrap-js-stream-passthrough.js @@ -68,7 +68,7 @@ Writer.prototype.write = function(chunk, encoding, cb) { return true; }; -// doesn't matter, never emits anything. +// Doesn't matter, never emits anything. Writer.prototype.on = function() {}; Writer.prototype.once = function() {}; Writer.prototype.emit = function() {}; diff --git a/benchmark/net/tcp-raw-s2c.js b/benchmark/net/tcp-raw-s2c.js index 73f4d292cf..cc2f69019f 100644 --- a/benchmark/net/tcp-raw-s2c.js +++ b/benchmark/net/tcp-raw-s2c.js @@ -5,9 +5,9 @@ const common = require('../common.js'); const util = require('util'); -// if there are dur=N and len=N args, then +// If there are dur=N and len=N args, then // run the function with those settings. -// if not, then queue up a bunch of child processes. +// If not, then queue up a bunch of child processes. const bench = common.createBenchmark(main, { len: [102400, 1024 * 1024 * 16], type: ['utf', 'asc', 'buf'], |