improve time_to_first_byte.py

This commit is contained in:
Jack Robison 2019-02-20 14:16:51 -05:00 committed by Victor Shyba
parent aa41b8b558
commit 1f72e27272

View file

@ -138,7 +138,7 @@ async def main(uris=None, allow_fees=False):
f"Worst first byte time: {round(max(first_byte_times), 2)}\n" \ f"Worst first byte time: {round(max(first_byte_times), 2)}\n" \
f"Best first byte time: {round(min(first_byte_times), 2)}\n" \ f"Best first byte time: {round(min(first_byte_times), 2)}\n" \
f"95% confidence time-to-first-byte: {confidence(first_byte_times, 1.984)}\n" \ f"95% confidence time-to-first-byte: {confidence(first_byte_times, 1.984)}\n" \
f"99% confidence time-to-first-byte: {confidence(first_byte_times, 2.626)}\n" \ f"99% confidence time-to-first-byte: {confidence(first_byte_times, 2.626)}" \
f"Variance: {variance(first_byte_times)}\n" \ f"Variance: {variance(first_byte_times)}\n" \
f"Started {len(first_byte_times)}/{len(resolvable)} streams\n" \ f"Started {len(first_byte_times)}/{len(resolvable)} streams\n" \
f"Downloaded {len(download_successes)}/{len(resolvable)}\n" \ f"Downloaded {len(download_successes)}/{len(resolvable)}\n" \