Chapter 3

Understanding ASP.NET MVC 4 Performance Optimization Techniques

CONCEPTS

IN THIS CHAPTER

  • How to set a performance baseline
  • Online tools for performance testing and optimization tips
  • All about bundling and minification
  • How to scale a Windows Azure Cloud Service
  • How to improve performance

You can find some very interesting statistics about customer behavior based on a website’s performance and responsiveness on the Internet. This includes the fact that more than 40 percent of website visitors will leave your website if the page takes more than three seconds to render. And that, in most cases, visitors to a website expect the page to render in two seconds or less. Also, 65 percent of shoppers dissatisfied with the performance of a website will never return, and will go someplace else next time. Performance of a website is one of the most important reasons visitors remain loyal (see Figure 3-1).

The normal human being can notice an event that takes approximately 500 ms or one-half a second, and will not notice anything that happens in less time than that. However, according to Amazon.com, an increase in the response of Amazon’s system by as little as 100 ms results in a 1 percent loss in sales. In dollar terms, that’s in the millions. Yahoo! also found that an increase of load time by 400 ms resulted in a 5–9 percent drop in its traffic.

Customers and visitors ...

Get Windows Azure and ASP.NET MVC Migration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.