User Tools

Site Tools


tutorial:test-kecepatan-web-dengan-curl

Test Kecepatan Website dengan Curl

Berikut ini cara menghitung kecepatan load website dengan curl

Pertama buat

nano curl-format.txt

dan isi dengan

  time_namelookup:  %{time_namelookup}s\n
        time_connect:  %{time_connect}s\n
     time_appconnect:  %{time_appconnect}s\n
    time_pretransfer:  %{time_pretransfer}s\n
       time_redirect:  %{time_redirect}s\n
  time_starttransfer:  %{time_starttransfer}s\n
                     ----------\n
          time_total:  %{time_total}s\n

kemudian jalankan

 curl -w "@curl-format.txt" -o /dev/null -s "http://wordpress.com/"

demikian

Sumber : https://stackoverflow.com/questions/18215389/how-do-i-measure-request-and-response-times-at-once-using-curl

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
tutorial/test-kecepatan-web-dengan-curl.txt · Last modified: 2022/09/25 22:06 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki