InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Google Has Open Sourced Page Speed

Posted by Abel Avram on Jun 05, 2009

Sections
Architecture & Design
Topics
Architecture ,
Performance & Scalability
Tags
Firefox ,
Google ,
Firebug

Google has just open sourced Page Speed, a tool used internally by Google to optimize their web sites, especially the speed web pages are loaded with.

Page Speed is a Firefox add-on running in Firebug. The tool runs on Linux, Mac and Windows XP/Vista. When it runs, Page Speed analyzes some of the web server’s configuration plus the code downloaded from the server and creates a list of results including suggestions on how to improve the web pages. The analysis is based on a list of best practices organized in five categories:

These practices consider the page load time, the time between a page request is issued and the moment it is served as seen by the client. The page load time includes creating TCP connections, solving DNS names, sending requests, fetching resources including those from cache, executing scripts, rendering.

The suggestions offered by the tool are:

The suggestions are scored and sorted by priority. An example, when loading Facebook’s home page, the following high priority suggestion is given: “The following external CSS files were included after an external JavaScript file in the document head. To ensure CSS files are downloaded in parallel, always include external CSS before external JavaScript.”

The Page Speed Activity panel shows all browser’s activity including network events and JavaScript code execution measured in ms. This is useful to see where the browser spends most of the time when trying to load a certain page. Overall, Page Speed seems like a must-have tool for web developers.

YSlow? by David Poole Posted
Re: YSlow? by Ignacio Coloma Posted
Re: YSlow? by wang dong Posted
  1. Back to top

    YSlow?

    by David Poole

    So a bit like the YSlow addon produced my Yahoo?

  2. Back to top

    Re: YSlow?

    by Ignacio Coloma

    I just gave it the standard 10-minutes look and it detects more defects than YSlow.

  3. Back to top

    Re: YSlow?

    by wang dong

    could you please list the defects about google speed?

Educational Content

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.

Questions for an Enterprise Architect

Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?

Wrap Your SQL Head Around Riak MapReduce

Sean Cribbs explains what Map-Reduce and Riak are, why and how to use Map-Reduce with Riak, and how to convert SQL queries into their Map-Reduce equivalents.