Using curl to test speed test of url
I like some fast way to test the connection speed from my local host or my server, so I often use this way to test the connect time speed. time curl -o /dev/null -s -w “Connect: %{time_connect}s\nTTFB: %{time_starttransfer}s\nTotal time: %{time_total}s\n” [URL] Replace [URL] with the URL you want to test. Here’s a breakdown of the command: time: This will measure the real elapsed time of the entire command. -o /dev/null: Discards the output of the curl command. -s: Makes curl operate in “silent”[…]
Using curl to test speed test of url Read More »