Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2019-10-03 04:44:14 +0300
committerRich Trott <rtrott@gmail.com>2019-10-11 07:37:16 +0300
commite6c389cb3cb1888773c3d505ca954d5e846541aa (patch)
treed915efb0badaebc74cc8d437193c0b4006e5dc3e /benchmark
parent2664dacf7e0e13dc24485836e66081fb07ee1289 (diff)
benchmark: remove double word "then" in comments
PR-URL: https://github.com/nodejs/node/pull/29823 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/net/net-pipe.js2
-rw-r--r--benchmark/net/tcp-raw-pipe.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/net/net-pipe.js b/benchmark/net/net-pipe.js
index c4e1da3f6f0..f19e30b5450 100644
--- a/benchmark/net/net-pipe.js
+++ b/benchmark/net/net-pipe.js
@@ -49,7 +49,7 @@ function main({ dur, len, type }) {
setTimeout(() => {
// Multiply by 2 since we're sending it first one way
- // then then back again.
+ // then back again.
const bytes = writer.received * 2;
const gbits = (bytes * 8) / (1024 * 1024 * 1024);
bench.end(gbits);
diff --git a/benchmark/net/tcp-raw-pipe.js b/benchmark/net/tcp-raw-pipe.js
index 89db42dc4f3..4420cc2e6dc 100644
--- a/benchmark/net/tcp-raw-pipe.js
+++ b/benchmark/net/tcp-raw-pipe.js
@@ -106,7 +106,7 @@ function main({ dur, len, type }) {
setTimeout(() => {
// Multiply by 2 since we're sending it first one way
- // then then back again.
+ // then back again.
bench.end(2 * (bytes * 8) / (1024 * 1024 * 1024));
process.exit(0);
}, dur * 1000);