Updated single-packet timing

This commit is contained in:
Mark Qvist 2023-11-06 11:10:38 +01:00
parent 58b5501e17
commit 5ba789f782

View File

@ -140,7 +140,7 @@ class TestLink(unittest.TestCase):
pstart = time.time() pstart = time.time()
print("Sending "+str(num_packets)+" link packets of "+str(packet_size)+" bytes...") print("Sending "+str(num_packets)+" link packets of "+str(packet_size)+" bytes...")
for i in range(0, num_packets): for i in range(0, num_packets):
time.sleep(0.001) time.sleep(0.003)
b += packet_size b += packet_size
data = os.urandom(packet_size) data = os.urandom(packet_size)
start = time.time() start = time.time()