Usage bash test.sh "<url>" <no_samples>
url
- sample URL to test.no_samples
- no of samples to run. Default: 10
$ bash test.sh "https://example.com" 5
0.015165 0.214462 0.630342 0.630874 0.000000 0.831220 0.831465
0.010218 0.209856 0.627238 0.628216 0.000000 0.827366 0.827506
0.008061 0.204611 0.612787 0.612946 0.000000 0.810696 0.811175
0.010656 0.209876 0.622439 0.622684 0.000000 0.823202 0.823371
0.008611 0.206133 0.626103 0.626606 0.000000 0.826558 0.826718
-----------------------------
url: https://example.com
samples: 5
-----------------------------
time_namelookup: 0.0105422
time_connect: 0.208988
time_appconnect: 0.623782
time_pretransfer: 0.624266
time_redirect: 0
time_starttransfer: 0.82381
time_total: 0.824048
-----------------------------