Explanation of Performance Detection parameters of chrome Developer Tools

Source: Internet
Author: User
Tags chrome developer chrome developer tools

Sending is time spent uploading the data/request to the server. it occurs between blocking and waiting. for example, if I post back An ASPX page this wowould indicate the amount of time it took to upload the request (including the values of the forms and the session state) back to the ASP server.

Waiting is the time after the request has been sent, but before a response from the server has been encoded ed. Basically this is the time spent waiting for a response from the server.

Processing is the time spent downloading the response from the server.

Blocking is the amount of time between the UI thread starting the request and the http get request getting onto the wire.

The order these occur in is:

  1. Blocking *
  2. DNS Lookup
  3. Connecting
  4. Sending
  5. Waiting
  6. Processing ing

* Blocking and DNS lookup might be swapped.

The Network tab does not indicate time spent processing.

If you have long blocking times then the machine running the browser is running slowly. you can fix this by upgrading the machine (more RAM, faster processor, etc .) or by switching its workload (turn off services you do not need, closing programs, etc .).

Long wait times indicate that your server is taking a long time to respond to requests. This either means:

  • The request takes a long time to process (like if you are pulling a large amount of data from the database, large amounts of data need to be sorted, or a file has to be found on an HDD which needs to spin up ).
  • Your server is processing ing too processing requests to handle all requests in a reasonable amount of time (it might take. 02 seconds to process a request, but when you have 1000 requests there will be a noticeable delay ).

The two issues (long waiting + long blocking) are related. if you can reduce the workload on the server by caching, adding new server, and fetch the work required for active pages then you shoshould see improvements in both areas.

 

You can read a detailed official explanation from Google team here. It is a really helpful resource and your info goes underTimeline ViewSection.

Resource Network Timing shows the same information as in resource bar in timeline view. Answering your quesiton:

  • DNS Lookup: Time spent refreshing the DNS lookup. (You Need To Find Out IP address of site.com and this takes time)
  • Blocking: Time the request spent waiting for an already established connection to become available for re-use. As was said in another answer it does not depend on your server-this is client's problem.
  • Connecting: Time it took to establish a connection, including TCP handshakes/retries, DNS lookup, and time connecting to a proxy or negotiating a secure-Socket Layer (SSL). Depends on network congestion.
  • Sending-Time spent sending the request. depends on the size of sent data (which is mostly small because your request is almost always a few bytes limit T if you submit a big image or huge amount of text), network congestion, proximity of client to server
  • Waiting-Time spent waiting for the initial response. this is mostly the time of your server to process and respond to your response. this is how fast if your server calculating things, fetching records from database and so on.
  • Processing ing-Time spent refreshing ing the response data. something similar to the sending, but now you are getting your data from the server (Response size is mostly bigger than request ). so it also depends on the size, connection quality and so on.

Reprinted:

Http://stackoverflow.com/questions/10537399/what-does-the-times-mean-in-google-chromes-timeline-in-the-network-panel

Explanation of Performance Detection parameters of chrome Developer Tools

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.