Today the average website loads more than 1.5MB of assets including images, scripts and other external data. This causes frustrating delays for site visitors and often leads to abandoned visits. As mobile data is expensive in many developing countries, cost for each page view is also significant consideration.
A number of tools exist to help optimize sites and we’ll introduce and setup a private instance of the popular WebPagetest tool. WPT covers load time, web server compression and caching settings, and timeline based screen shots through the duration of the page load.
2. About Me
Bill Condo (@mavrck)
Mostly have been a LAMP Stack
developer since 1995
Organize ColumbusPHP
Agency & Startup Experience
Currently running HustleWorks
3. What we’re covering
• What is [Front-End] Performance Testing?
• What are the challenges?
• What tooling is available?
• WebPage Test
• How to setup a testing environment
• Next Steps
7. SPEED INDEX
“The Speed Index is the average
time at which visible parts of
the page are displayed. It is
expressed in milliseconds and
dependent on size of the view
port.”
- webpagetest.org
29. Webpage test
• Public website that you can request a
test for any publicly available website
• Requests limited per day
• Can test from locations around the
world and from within providers such
as Amazon Web Services (AWS)
• Provides results from a single test or
you can aggregate from multiple runs
webpagetest.org
30. History
“WebPagetest is an open source project that is primarily being
developed and supported by Google as part of our efforts to make
the web faster.
WebPagetest is a tool that was originally developed by AOL for use
internally and was open-sourced in 2008 under a BSD license.”
- webpagetest.org
39. Because timing can be different on virtual machines we go
into this understanding that our results will be off compared
to real world numbers
Quick Note
48. Notes
• WebPagetest Documentation https://sites.google.com/a/webpagetest.org/docs/private-instances
• Tim Kadlec: Budget Metrics http://timkadlec.com/2014/11/performance-budget-metrics/
• WPT: Speed Index https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/metrics/speed-index
• Patrick Meenan: WPT Data Center Tour
http://blog.patrickmeenan.com/2014/09/updated-webpagetest-data-center-tour.html
• Patrick Meenan: WebPagetest Private Instances (Slides) http://www.slideshare.net/patrickmeenan/velocity-2014-nyc-
web-pagetest-private-instances