How to get the website Response Time

Source: Internet
Author: User

Obtain the website response time. (Original works, reprint please be sure to indicate the original source of the article: http://xuclv.blog.51cto.com/5503169/1300219)

1: httping

Introduction:

Httping is a ping-like tool for http requests. A URL that tells you how long it takes to connect, send a request, and response time. It is equivalent to the latency of the web server and the network. Details: http://www.vanheusden.com/httping/

Installation:

Mac: brew install httping

Ubuntu: apt-get install httping

Redhat/centos: http://pkgs.repoforge.org/httping/ download rpm PACKAGE installation: rpm-ivh PACKAGE

Common parameters:

-G url: Specify the URl

-H hostname replaces-g and specifies the Host Name

-P portnumber specifies the port number with-h)

-S: display the connection establishment time + server processing and return time

-S displays HTTP status-code (200,404, etc .).

-G uses GET instead of HEAD as the method for obtaining resources. In this case, the entire page/file requested will be transmitted.

-C count how many times to exit the test

-I interval: interval of each test

-Y Enable colors

-X proxyhost [: port] uses a proxy server, which tests the latency of the proxy server.

More: man httping

Example:

Httping-g www.baidu.com-SsG-c 10-I 2

Httping-x xxx. xxx: 80 www.baidu.com-SsG-c 10-I 2


2: curl: Reference: http://curl.haxx.se/docs/manpage.html

Curl-o/dev/null-s-w % {http_code }:%{ http_connect }:%{ time_namelookup }:%{ time_connect }:%{ time_pretransfer }: % {time_starttransfer }:%{ time_total }:%{ size_download }:%{ speed_download} www.baidu.com


3: Monitoring treasure: http://www.jiankongbao.com/


4: firefox Plugin FireBug: http://getfirebug.com/


5: Ali test: http://alibench.com/

Etc...

This article is from the "cclo blog" blog, please be sure to keep this source http://xuclv.blog.51cto.com/5503169/1300219

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.