From e6c389cb3cb1888773c3d505ca954d5e846541aa Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Wed, 2 Oct 2019 21:44:14 -0400 Subject: [PATCH] benchmark: remove double word "then" in comments PR-URL: https://github.com/nodejs/node/pull/29823 Reviewed-By: Richard Lau Reviewed-By: Jiawen Geng Reviewed-By: Rich Trott Reviewed-By: Colin Ihrig Reviewed-By: Trivikram Kamat Reviewed-By: Ruben Bridgewater --- benchmark/net/net-pipe.js | 2 +- benchmark/net/tcp-raw-pipe.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/net/net-pipe.js b/benchmark/net/net-pipe.js index c4e1da3f6f0c8b..f19e30b5450785 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 89db42dc4f3e72..4420cc2e6dcc17 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);