Website Performance Guide (ii): Website performance measurement artifact

Source: Internet
Author: User
Keywords Measurement performance refers to I say more off

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

I talked a lot about Fiddler in the last chapter. There are many detection tools available, such as Fiddler, Chrome, firebug, receptacle Monitor, IIS, and some third-party service.

First, let's go back to the Fiddler function.

"Fiddler"

Tracking tools, especially for HTTP

Show the completed request and response

You can save the session archive

  

Before I improve the performance of my site, I first save the information about the website. After I optimize, I can take out to compare. Oh, the original performance of my site has improved so much!

Page load time-consuming timeline

Statistics。 Take Microsoft's website for example:

  

We can see exactly what types of files are loaded and the size of the file.

"Chrome Browser"

Chrome is a Google-developed browser for developers. It can also measure the performance of a Web site,

Now a Chrome browser, and press F12. You can see a lot of developer options. We can see the following tools:

  

Let's try what they can do, and the function may be around, because our section focuses on performance-related features only.

Element: lets you see which HTML elements the current page contains.

Resource: What resources are referenced.

Receptacle and timeline: functions similar to fiddler. About HTTP request, response, and timeline

  

Profiles: Can collect three kinds of profile. Like how much CPU the JavaScript uses. Don't try to do it yourself.

  

Audits is even cooler. It can offer optimization suggestions for your site. Just like the picture below. He offered some advice. Turn on gzip compression, use browser caching to remove unused CSS references, and so on. This is the page I used when I was blogging. So our yard can also improve performance:

  

"Firebug"

Due to the limited space, I do not detail here, the function and chrome similar. After downloading a Firefox browser, install the Firebug plugin to use. Exhaled is also F12 (reminds me of the legend of the plug-in when I was a child. )

With the last figure:

  

Microsoft Receptacle Monitor

Universal Network tracking tool for a variety of protocols. HTTP, TCP/IP, and so on.

The hook for the network adapter.

Look at the structure of the network at multiple levels.

Apply different filters for specific protocols, IP addresses, and so on.

Here is the address for this free tool: http://www.microsoft.com/en-us/download/details.aspx?id=4865

See the friends here to download and try it.

First create a new Capture in the Capture-toolbar. Then click on the top green triangle start. Switch to IE browser. Access to www.microsoft.com. Then switch back and click Stop.

We can find a lot of information. Contains many protocols. Now we add a filter: http

  

The first message is Sohu Mail. It does not matter, it must be regularly sent HTTP request to get mail information.

We can see location actual access to ***/mail/check. Yes, we're right. It's just checking the mail.

I'm just trying to get a point here. If you are interested in Microsoft receptacle Monitor. See also: Http://en.wikipedia.org/wiki/Microsoft_Network_Monitor

IIS log files

IIS provides 2 feature for performance measurement:

Time spent

Log Profiling

Common methods Query IIS log files, event logs, etc.

Query syntax is particularly close to SQL statements

Record Site health information

Time spent

We can perform our performance analysis with IIS log files. First Open iis-> selected site->logging (log)

  

Click the Select field. And tick the time and the fields you're interested in.

  

Click OK, whenever a request comes to your IIS server. IIS will record a detailed log for you.

Log Profiling

LogParser is a command-line tool that allows you to analyze the logs through SQL statements. You can analyze IIS logs, and you can analyze system event logs, Csv,xml, and other format logs

The basic usage is as follows:

Logparser–i: Input file format –o: output format "SQL statement"

For example, the following example is the IP with Log Parser to access the largest number of IIS sites:

LOGPARSER.EXE-I:IISW3C SELECT the Cs-uri-stem as URL, COUNT (*) as Hits from c:\inetpub\logs\logfiles\w3svc1\* GROUP by Cs-uri-stem ORDER BY Hits DESC

If you are interested in logparser. Can read this article again: http://blogs.msdn.com/b/carlosag/archive/2010/03/25/analyze-your-iis-log-files-favorite-log-parser-queries.aspx

"Third-party services"

Keynote http://www.keynote.com/, Gomez (surcharge)

provides profiling services.

Allows us to compare our own and other site performance differences

Provide agent services

Response time and validity per X-minute.

Well, thanks for reading. In the next chapter we will introduce "infrastructure performance".

Original: http://www.cnblogs.com/techborther/archive/2012/08/02/2618933.html

Related Article

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.