diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-07 01:03:53 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-10 00:44:40 +0100 |
commit | f8763bb077db2f0be74e353c0b4f9e353c0fffa8 (patch) | |
tree | c73128074daa65d2e72e4d2a86a5b08059888144 /benchmark/net | |
parent | 01a5300f3f4f788a043f6b5fe72e2b7b641dfb6c (diff) | |
download | android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.gz android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.bz2 android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.zip |
benchmark,doc,lib,test: capitalize comments
PR-URL: https://github.com/nodejs/node/pull/26483
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
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'], |