Case of the Curl command: output is usually HTML code, sent to the/dev/null.-s parameter with the-o parameter to remove all state information.-W parameter lets curl output timer state information
Time_connect: The time taken to establish a TCP connection to the server
Time_starttransfer: The time it takes for the WEB server to return the first byte of data after a request is made
Time_Total: Time spent completing the request
These timers are relative to the start time of the transaction, even before the Domain Name Service (DNS) query. Therefore, after the request is made,
The time spent by the WEB server processing the request and starting to send back data is 0.016–00.013 = 0.003 seconds.
The time the client downloaded the data from the server was 0.359–0.016 = 0.343 seconds.
By observing the curl data and its changing trend over time, it is possible to understand the responsiveness of the site to users.
Of course, the Web site is not just made up of pages. It also has images, JavaScript code, CSS, and cookies to deal with.
Curl is good for understanding the response time of a single element, but sometimes you need to know the load speed of the entire page.
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.