Skip to content

Commit

Permalink
benchmark: remove double word "then" in comments
Browse files Browse the repository at this point in the history
PR-URL: #29823
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Jiawen Geng <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
nschonni authored and Trott committed Oct 11, 2019
1 parent 2664dac commit e6c389c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmark/net/net-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion benchmark/net/tcp-raw-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e6c389c

Please sign in to comment.