Skip to content
Permalink
Browse files

benchmark: remove double word "then" in comments

PR-URL: #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>
  • Loading branch information
nschonni authored and targos committed Oct 3, 2019
1 parent 5959023 commit e16e3d5b90a966b87510ad84af8c5aad378d0cf2
Showing with 2 additions and 2 deletions.
  1. +1 −1 benchmark/net/net-pipe.js
  2. +1 −1 benchmark/net/tcp-raw-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);
@@ -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);

0 comments on commit e16e3d5

Please sign in to comment.
You can’t perform that action at this time.