Skip to content

Commit

Permalink
AHA
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Jul 4, 2020
1 parent f6f285f commit 1a49224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/throughput_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def tcp(deno_exe, megs):
time.sleep(5) # wait for deno to wake up. TODO racy.
try:
start = time.time()
nc_cmd = "nc " + CLIENT_ADDR
nc_cmd = "nc -N " + CLIENT_ADDR
cmd = ("head -c %s /dev/zero " % size) + " | " + nc_cmd
print cmd
subprocess.check_output(cmd, shell=True)
Expand Down

0 comments on commit 1a49224

Please sign in to comment.