Posted By

adkatrit on 02/21/10


speed audit

Versions (?)

Speed Check w/ dns throughput, load time, and page size

 / Published in: Bash

adkatrit$ ./ DNS 0.027s conn 0.083s time 0.301s Speed 26350.000bps Size 7932bytes

  1. #!/bin/sh
  2. URL="$1";curl -L --w "$URL\nDNS %{time_namelookup}s conn %{time_connect}s time %{time_total}s\nSpeed %{speed_download}bps Size %{size_download}bytes\n" -o/dev/null -s $URL

Report this snippet  

You need to login to post a comment.