`
netcome
  • 浏览: 479833 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Web Performance Optimization Use Cases – Part 1 Benchmarking

阅读更多

Web Performance Optimization Use Cases – Part 1 Benchmarking

by Alois Reitbauer, Sep 28, 10

Web Performance Optimization (WPO) constitutes of a set of activities targeted at improving the performance of web applications. First coined by Steve Souders WPO is developing into a growing industry. Every month new companies and projects offering web performance services emerge.

WPO is much more than performance analysis; however, performance analysis is a central part in WPO activities as you must first have the data to decide what you are targeting and even more important to create a business case for web performance in your organization.

Getting started with WPO is really easy and you do not need a big budget. There are numerous free tools on the market that will be of great help. I will focus on how to usedynaTrace Ajax Edition – a free tool for web performance analysis – but you can also useYSlowPageSpeed or one of the other numerous services out there. The beauty of dynaTraceis that it covers a wide variety of WPO use cases.

In this first post I will focus on the first use case – benchmarking. In upcoming posts I will dig into optimization, JavaScript diagnostics and finally performance optimization. I will keep the examples straightforward and focused on real world problems so you easily apply them to your application.

Benchmarking

The first practice we will be discussing is benchmarking. Benchmarking is a standard technique to analyze how you are doing compared to others in the field. Optimization is always a never-ending story. Once you have removed one bottleneck the next one is just ready to appear. So you need some guidance where you are compared to your competition, and whether you need to optimize further or not. Knowing where you are is the first step in deciding where to improve.

Besides helping with technical analysis, benchmarking will also enable you to communicate with business. As I wrote in another post the inability to communicate with business owners is one of the major reasons why performance projects fail.

So let’s start with a practical example, and assume you are a rental car company. Most rental cars today are reserved online and users naturally try to find the best offer either by searching on a couple of sites or by using a third-party service. Normally you also often tweak around how much it would cost to get a bigger car, return it a bit earlier etc. So the performance of your rental car web site is crucial to your business.

So, what is your first step when you want to optimize the performance of your web presence? You will have a look how fast your page is compared to your competition, right? This is what benchmarking is all about. Today there is constantly increasing interest in this field as more and more services providing web benchmarking emerge on the market.

With dynaTrace Ajax Edition we can easily create our own benchmark within minutes. Taking our car rental example from above, we simply browse the major car rental company sites and look at the overview pane of the performance report as shown below.

We see all end-user performance-relevant metrics for the rental car sites we visited. In fact we even validate against two different benchmarks. First, we have a comparison of end-user-relevant timing information across all sites which allow us to compare ourselves against the competition. Second, each metric is compared against best practice thresholds. So let’s have a look at the information we get and how to read it.

 

Comparison of rental car sites (second Avis page is redirect target)

Comparison of rental car sites (second Avis page is redirect target)

The rank column is inspired by similar rankings in tools like YSlow and PageSpeed. The major difference in dynaTrace is that actual timings are included in the rank information as well. So even if you follow all web performance best practices you might still get a bad ranking if your site is slow (which hopefully should not happen)

The additional metrics provide more- detailed insight into the performance of the various sites. First Impression Time indicates the time of the first visual impression of a page, onLoad Time is time when the onLoad event is fired, and the Fully Loaded Time indicates when all content including content dynamically loaded in onLoad handlers has finished downloading. This metric becomes especially important the more you defer loading to a later time in the page lifecycle.

The server and client time metrics finally indicate how much time is spent on the server-side and in client- side JavaScript processing.

The beauty of this information is that it can be used in two different ways. First you can use it to communicate with business and marketing staff supporting your claim that your company needs to optimize its web site’s performance. This information often really helps you to make a business case for web performance. In case you want to go beyond this level of information you might integrate Google Analytics results, as described in another blog.

The information can also be easily copy-and-pasted into Excel so you can easily include it into reports.

Conclusion

Benchmarks really make a difference in how you look at your site’s performance. They serve an important purpose from the business as well as the technology perspective. Comparing yourself against your main competitors only takes you a couple of minutes, and is more than worth that time. It won’t hurt – and if it does wait for the next post on optimization.

http://blog.dynatrace.com/2010/09/28/web-performance-optimization-use-cases-part-1-benchmarking/

分享到:
评论

相关推荐

    Mobile Web Performance Optimization(PACKT,2015)

    Mobile Web Performance Optimization is designed to help you do exactly that – it’s been created to help you build fast, and mobile-user-friendly websites and applications. Featuring guidance ...

    Mobile Web Performance Optimization 无水印pdf

    Mobile Web Performance Optimization 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请...

    Performance Optimization.rar

    《Oracle Database 10g性能调整与优化》 在IT领域,数据库性能优化是一项至关重要的任务,特别是对于大型企业及高并发系统来说,高效的数据库性能是保障业务流畅运行的基础。Oracle Database 10g作为一款广泛应用的...

    Ruby.Performance.Optimization

    This is the first book ever that consolidates all the Ruby performance optimization advice in one place. It's your comprehensive guide to memory optimization, CPU optimization, garbage collector ...

    Pro iOS Apps performance optimization pdf+code

    《Pro iOS Apps Performance Optimization》是一本专注于提升iOS应用性能的专业书籍,它涵盖了多个关键领域,旨在帮助开发者构建更快、更高效、用户体验更好的应用程序。书中结合了理论与实践,提供了丰富的代码示例...

    Pro iOS Apps Performance Optimization2017

    《Pro iOS Apps Performance Optimization2017》是一本专注于iOS应用性能优化的专业书籍,由业界专家撰写,全英文内容深入浅出地引导读者探索iOS应用性能的提升之道。这本书主要针对那些希望提升其iOS应用程序运行...

    高清彩版 Pro iOS Apps Performance Optimization

    ### 高清彩版 Pro iOS Apps Performance Optimization #### 引言:iOS性能优化的重要性 随着智能手机市场的持续扩大和发展,iOS 应用程序的数量也日益增多。对于开发者而言,不仅要拥有创新的应用理念,还需要确保...

    System.Web.Optimization程序集

    标题中的"System.Web.Optimization程序集"是ASP.NET框架中的一个重要组件,它主要用于Web应用程序的性能优化。这个程序集包含了一系列工具和类,能够帮助开发者整合、压缩和管理Web应用中的JavaScript和CSS资源,...

    Web Performance in Action

    Web Performance in Action: Building Faster Web Pages by Jeremy Wagner English | 2017 | ISBN: 1617293776 | 376 pages | PDF The content of the web is maturing and increasing in complexity, but internet...

    Ruby Performance Optimization, Why Ruby is Slow, and How to Fix It

    Ruby Performance Optimization: Why Ruby is Slow, and How to Fix It By 作者: Alexander Dymo ISBN-10 书号: 1680500694 ISBN-13 书号: 9781680500691 Edition 版本: 1 出版日期: 2015-11-29 pages 页数: (202) ...

    Performance Optimization of Numerically Intensive Codes

    1. 内存对齐:确保数据在内存中的位置对齐到缓存行边界,减少因跨缓存行读取带来的额外开销。 2. 预取:预测未来需要的数据并提前加载到缓存,减少等待时间。 3. 数据局部性:尽可能保持连续的内存访问,利用局部性...

    System.Web.Optimization.dll

    System.Web.Optimization.dll error CS0234: 命名空间“System.Web”中不存在类型或命名空间名称“Optimization”(是否缺少程序集引用?)“,“data“:null} 文章地址:...

    sappress_bw_performance_optimization_guide_080.pdf

    《SAP BW Performance Optimization Guide》是一本由Thomas Schröder编写的书籍,专注于提升SAP Business Warehouse(BW)系统的性能。这本书详细介绍了数据仓库和SAP BW的基础知识,以及SAP BW架构的基本原理和...

    Aspnet-asp.net-demo-System.Web.Optimization.zip

    Aspnet-asp.net-demo-System.Web.Optimization.zip,网络表单js csswebform css演示,asp.net是一个开源的web框架,用于使用.net构建现代web应用和服务。asp.net创建基于html5、css和javascript的网站,这些网站简单、...

    Pro iOS Apps Performance Optimization(iOS应用性能优化)

    【英文原版】本书介绍了调优和优化iPhone和iPad应用时常见但难解的问题和高效解决方法:解决iPhone应用常见问题的基本知识;iPhone应用中数据结构、算法、多线程和网络数据的高级知识;比较了Android和Windows Phone...

    Convex Analysis and Optimization - Bertsekas part1

    Convex Analysis and Optimization - Bertsekas part1

Global site tag (gtag.js) - Google Analytics