SlideShare a Scribd company logo
1 of 117
Mobile Performance Trends and Predictions
Joshua Bixby
Agenda

         Market
         Why is faster better?
         Measuring performance
         Visualizing performance
         How does data work on a mobile network?
         Best practices in action
         Evolution
         Strangeloop study: State of Mobile Ecommerce
        Performance


Ā© 2012 Strangeloop Networks      Strangeloop. Faster Websites. Automatically.   2
Growth of Smartphone Sales
(as % of total mobile phone sales)




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   3
Traffic from Mobile Devices (2011)




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   4
Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   5
Customer Profile

        Top 200 Internet retailer, US based
        Target geography: US and Europe
        $3B in revenue
        30,000 employees




Ā© 2012 Strangeloop Networks        Strangeloop. Faster Websites. Automatically.   6
Page Views by Mobile Device




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   7
Experiment

        Induce delay on HTML
        200msec, 500msec, 1000msec
        Apply to small percentage of traffic
        12 weeks
        Monitor impact on key business metrics




Ā© 2012 Strangeloop Networks      Strangeloop. Faster Websites. Automatically.   8
Results




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   9
Impact on Bounce Rate




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   10
Impact on Returning Visitors




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   11
More Details

          http://www.webperformancetoday.com/
        2011/11/23/case-study-slow-page-load-mobile-
        business-metrics/
          http://velocityconf.com/velocityeu/public/
        schedule/detail/21632




Ā© 2012 Strangeloop Networks      Strangeloop. Faster Websites. Automatically.   12
Performance Measurement



Measuring Page Speed on Mobile Devices




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   13
Measurement

        Mobile measurement is still a challenge
          ā€¢    There are some tools out there
          ā€¢    Still pretty manual
          ā€¢    Less about performance and more about functionality
          ā€¢    Lots of simulation

        More complicated because of the number of
        different platforms and devices that we may need
        to cover
        Things are getting better


Ā© 2012 Strangeloop Networks               Strangeloop. Faster Websites. Automatically.   14
Chrome Remote Debugging (ICS)

        A USB connection lets us see activity of mobile
        Chrome on desktop Chrome
          https://developers.google.com/chrome/mobile/
        docs/debugging




Ā© 2012 Strangeloop Networks        Strangeloop. Faster Websites. Automatically.   15
iWebInspector

        Web Inspector, but for iOS Simulator
               http://www.iwebinspector.com/




Ā© 2012 Strangeloop Networks           Strangeloop. Faster Websites. Automatically.   16
Weinre (Web Inspector Remote)

        Remote debugging from the desktop for what the
        phone is doing
          http://people.apache.org/~pmuellr/weinre/
        docs/latest/Home.html




Ā© 2012 Strangeloop Networks       Strangeloop. Faster Websites. Automatically.   17
Aardwolf

        Remote JavaScript debugging (all platforms)
         http://lexandera.com/aardwolf/




Ā© 2012 Strangeloop Networks       Strangeloop. Faster Websites. Automatically.   18
Mobile Perf Bookmarklet

           More focus on performance
         http://stevesouders.com/mobileperf/
        mobileperfbkm.php
         Super bookmarklet with lots of
        tools built in




Ā© 2012 Strangeloop Networks       Strangeloop. Faster Websites. Automatically.   19
PCAP2HAR

        Turn packet captures to waterfalls
               http://pcapperf.appspot.com/




Ā© 2012 Strangeloop Networks            Strangeloop. Faster Websites. Automatically.   20
Real User Monitoring (RUM)

         RUM tools are increasing in availability
          ā€¢ Google Analytics
          ā€¢ New companies and solutions emerging
         RUM tools are increasing in availability
          ā€¢ Google Analytics
          ā€¢ New companies and solutions emerging
         Measurement on actual devices, for real users
         Need lots of data to draw conclusions
          ā€¢ And must have a way to deal with outliers
        Navigation Timing (only in Chrome for Android right
        now)


Ā© 2012 Strangeloop Networks                Strangeloop. Faster Websites. Automatically.   21
WebPagetest




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   22
WebPagetestā€™s Mobile Agent

        Based on the recently open-sourced Mobitest
        agent
        Interacts with the server just like a standard
        desktop agent
        Available for Android and iOS
          ā€¢    Still in the early stages, but key metrics are reported
          ā€¢    Some features (like scripting) donā€™t work
          ā€¢    Cold cache tests and videos are working fine
          ā€¢    For iOS, it uses UIWebView rather than Safari
        Even with the limitations, still the best tool for
        getting a feel for mobile performance


Ā© 2012 Strangeloop Networks                  Strangeloop. Faster Websites. Automatically.   23
Visualizing Performance




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   24
Visualizing Performance




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   25
Visualizing Performance




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   26
Visualizing Performance




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   27
Visualizing Performance




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   28
Visualizing Performance




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   29
How does data work on a mobile network?




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   30
Stepwise Acceleration
Accelerating a Real Site




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   31
Methodology




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   32
Setup

        All testing done on 3G from Vancouver
          ā€¢ Nexus S with WPT agent
          ā€¢ Rogers Network

        Traffic flows through Strangeloop service
          ā€¢ We apply optimizations in the path
          ā€¢ Used host file entries since DNS overwrite isnā€™t
            available on the agent

        The phone does everything else




Ā© 2012 Strangeloop Networks              Strangeloop. Faster Websites. Automatically.   33
Setup




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   34
Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   35
A Few Points of Clarification

        Weā€™re only choosing oreilly.com for fun
        Weā€™re using it only to show what some
        performance problems are ā€“ this doesnā€™t mean
        the site has these problems
        The real site is somewhere in the middle of this
        blue bar




Ā© 2012 Strangeloop Networks        Strangeloop. Faster Websites. Automatically.   36
Summary of Key Metrics




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   37
Performance Problems

        Too many connections
        Too many bytes
        No CDN
        Too many round trips
        Poor caching (more on this later)
        3rd party calls (marketing tags, analytics, etc)
        Similar to desktop, but impact is different on
        mobile devices

Ā© 2012 Strangeloop Networks         Strangeloop. Faster Websites. Automatically.   38
What Does It Look Like?




                        http://www.youtube.com/watch?v=jo4zxzv3USg
                                                 Text




Ā© 2012 Strangeloop Networks                           Strangeloop. Faster Websites. Automatically.   39
Key Metrics ā€“ Original Site




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   40
Letā€™s Fix it!




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   41
What Are We Going To Do?

        Stepwise acceleration
          ā€¢ Weā€™ll accelerate the page in multiple steps
          ā€¢ Weā€™ll add techniques at each step and evaluate the
            performance impact

        Weā€™ll start with the easy stuff and get more
        advanced with each step
        Try to make the page as fast as possible




Ā© 2012 Strangeloop Networks             Strangeloop. Faster Websites. Automatically.   42
Step 1: Low Hanging Fruit




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   43
Step 1: Optimizations

        Add keep-alive connections
          ā€¢ Address the problem with too many connections
          ā€¢ Lessen the impact of TCP connection setup

        Add HTTP compression
          ā€¢ One way to reduce bytes, and an easy one
          ā€¢ Weā€™ll compress the text-based content (HTML, CSS,
            JS, etc)




Ā© 2012 Strangeloop Networks           Strangeloop. Faster Websites. Automatically.   44
Keep-alive Connections




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   45
HTTP Compression




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   46
Step 1: What Should We Expect

        Fewer total connections
        Fewer bytes
        Impact to performance metrics
          ā€¢    Fewer bytes to onload
          ā€¢    No change to roundtrips
          ā€¢    Better document complete time
          ā€¢    Better start render




Ā© 2012 Strangeloop Networks              Strangeloop. Faster Websites. Automatically.   47
Before and After




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   48
What We Helped

        Connection Count
          ā€¢ 83 connection ļƒ  30 connection

        Key metrics




Ā© 2012 Strangeloop Networks           Strangeloop. Faster Websites. Automatically.   49
Step 1: Improvements




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   50
Step 1: Improvements




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   51
What Does It Look Like?




                        http://www.youtube.com/watch?v=qMGAOqQQqvw




Ā© 2012 Strangeloop Networks                        Strangeloop. Faster Websites. Automatically.   52
Pros and Cons

        Pros
          ā€¢ Really easy to do
          ā€¢ Usually a single configuration option on servers,
            proxies, or load balancers
          ā€¢ Great bang for the buck

        Cons
          ā€¢ Itā€™s still slow!
          ā€¢ These are, by themselves, just not enough




Ā© 2012 Strangeloop Networks              Strangeloop. Faster Websites. Automatically.   53
Step 2: CDN




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   54
CDN




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   55
CDN

        Static resources are served from locations near
        the requesting client (mobile or otherwise)
        Shorter distance between client and content
        means smaller TTFB




Ā© 2012 Strangeloop Networks       Strangeloop. Faster Websites. Automatically.   56
What Should We Expect

        Faster average time to first byte for the objects
        on the page
        Impact to performance metrics
          ā€¢    No change to round trips
          ā€¢    No change to byte count
          ā€¢    Better start render time
          ā€¢    Better document complete time




Ā© 2012 Strangeloop Networks              Strangeloop. Faster Websites. Automatically.   57
Before and After




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   58
Impact on TTFB




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   59
What We Helped




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   60
Step 2: Improvements




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   61
Step 2: Improvements




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   62
What Does It Look Like?




                              http://www.youtube.com/watch?v=aiViEjuVb_g




Ā© 2012 Strangeloop Networks                             Strangeloop. Faster Websites. Automatically.   63
Pros and Cons

        Pros
          ā€¢ CDNs are always a good way to reduce TTFB
          ā€¢ Physics!
          ā€¢ Well-established industry; lots and lots of vendors

        Cons
          ā€¢ Can sometimes be costly
          ā€¢ Why wasnā€™t it faster?




Ā© 2012 Strangeloop Networks              Strangeloop. Faster Websites. Automatically.   64
CDN and speed




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   65
Step 3: Mobile Front End Optimization




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   66
Mobile FEO

        Consolidation of resources
          ā€¢ Images
          ā€¢ CSS
          ā€¢ JavaScript

        Image Compression
        Minification
          ā€¢ JavaScript
          ā€¢ CSS

        Optimal use of localStorage (more on this later)


Ā© 2012 Strangeloop Networks          Strangeloop. Faster Websites. Automatically.   67
Mobile FEO




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   68
What Should We Expect

        Fewer round trips will mean the TTFB problem
        should get a lot better
        Fewer bytes will mean better performance
          ā€¢ Images (from image compression)
          ā€¢ CSS/JS (from minification)

        Impact on performance metrics
          ā€¢ Reduction in round trips
          ā€¢ Reduction in byte count (on top of HTTP
            Compression)
          ā€¢ Better start render time
          ā€¢ Better document complete time


Ā© 2012 Strangeloop Networks            Strangeloop. Faster Websites. Automatically.   69
Before and After




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   70
What We Helped




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   71
Step 3: Improvements




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   72
Step 3: Improvements




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   73
What Does It Look Like?




                              http://www.youtube.com/watch?v=J_gU2Z_b-6I




Ā© 2012 Strangeloop Networks                             Strangeloop. Faster Websites. Automatically.   74
Pros and Cons

        Pros
          ā€¢ Noticeable and significant benefit over easier
            techniques
          ā€¢ The mobile form factor lets us be more aggressive
            with some of the techniques
          ā€¢ Smart use of localStorage

        Cons
          ā€¢ Itā€™s not easy!
          ā€¢ Techniques must survive site changes (regression)




Ā© 2012 Strangeloop Networks             Strangeloop. Faster Websites. Automatically.   75
Step 4: More Mobile FEO




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   76
More Mobile FEO

        Deferral
          ā€¢    Analytics
          ā€¢    Marketing tags
          ā€¢    Ads
          ā€¢    Etc.




Ā© 2012 Strangeloop Networks     Strangeloop. Faster Websites. Automatically.   77
3rd Party Calls




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   78
3rd Party Calls




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   79
What Should We Expect

        Deferral of round trips to after onload
        Impact to performance metrics
          ā€¢    Fewer round trips to onload
          ā€¢    Fewer bytes to onload
          ā€¢    Better start render time
          ā€¢    Better document complete time




Ā© 2012 Strangeloop Networks              Strangeloop. Faster Websites. Automatically.   80
Before and After




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   81
Before and After




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   82
Before and After




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   83
What We Helped




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   84
Step 4: Improvements




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   85
Step 4: Improvements




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   86
What Does It Look Like?




                              http://www.youtube.com/watch?v=e0oFr0pSRn8




Ā© 2012 Strangeloop Networks                             Strangeloop. Faster Websites. Automatically.   87
Pros and Cons

        Pros
          ā€¢ Gives you the control that your marketing team may
            have given away!
          ā€¢ Solves a very difficult problem, resulting in
            improvements to all key metrics
          ā€¢ Much better visual experience

        Cons
          ā€¢ Again, not easy!
          ā€¢ Must understand what the purpose of each 3rd party
            call is



Ā© 2012 Strangeloop Networks            Strangeloop. Faster Websites. Automatically.   88
Quick Summary of Stepwise Acceleration




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   89
Overall Improvements




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   90
Overall Improvements




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   91
Mobile Caching




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   92
Stating the Obvious




                    Caching is good!!!



Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   93
First View of a Page




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   94
Repeat View with Terrible Caching




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   95
Repeat View with Validations Only




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   96
Repeat View with Good Caching




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   97
Mobile Caching

        The primary issues with mobile caching
          ā€¢ Where to put the objects
          ā€¢ The size of the cache
        Some good reading
          ā€¢ Device Cache Sizes
                  - Wink toolkit study: http://www.winktoolkit.org/blog/204/
                  - YUI study: http://www.yuiblog.com/blog/2010/06/28/mobile-
                    browser-cache-limits/
                  - Blaze study: http://www.guypo.com/mobile/understanding-mobile-
                    cache-sizes/
          ā€¢ Individual Files
                  - Steve Souders: http://www.stevesouders.com/blog/2010/07/12/
                    mobile-cache-file-sizes/
                  - More from YUI: http://www.yuiblog.com/blog/2010/07/12/mobile-
                    browser-cache-limits-revisited/



Ā© 2012 Strangeloop Networks                        Strangeloop. Faster Websites. Automatically.   98
Mobile Cache Sizes

        Cache sizes are much smaller than desktop
          ā€¢ Android (2.x) about 5-7MB
          ā€¢ iOS is larger (>50MB)
        We need to think about:
          ā€¢ Total cache size limit
          ā€¢ Individual object size limit
          ā€¢ HTML pages

        User behavior may affect whatā€™s served from
        cache
        Things are getting better, but not at the pace we
        want

Ā© 2012 Strangeloop Networks                Strangeloop. Faster Websites. Automatically.   99
Some More Findings

        Android
          ā€¢ Firefox and Opera (Gingerbread): ~10MB
          ā€¢ Stock browser in ICS: 25MB
          ā€¢ Chrome on ICS: much larger and based on amount of
            space available
                  ā€¢ http://gent.ilcore.com/2012/02/chrome-fast-for-android.html

        Android and iOS
          ā€¢ When thereā€™s room available, saw aggressive caching
            behavior




Ā© 2012 Strangeloop Networks                        Strangeloop. Faster Websites. Automatically.   100
Comparison to Desktop

        IE
          ā€¢ http://blogs.msdn.com/b/ie/archive/2011/03/17/
            internet-explorer-9-network-performance-
            improvements.aspx
          ā€¢ Defaults
                  ā€¢ IE 6/7/8 ļƒ 1/32 of disk, cap of 50MB
                  ā€¢ IE9 ļƒ  1/256 of disk (bigger disks), cap of 250MB

        Chrome
          ā€“ Spot checked: >300MB
        Firefox
          ā€“ Spot checked: >700MB
               From Steve: http://stevesouders.com/cache.php

Ā© 2012 Strangeloop Networks                       Strangeloop. Faster Websites. Automatically.   101
HTML5 localStorage

        W3Cā€™s Web Storage Spec:
          ā€“ http://dev.w3.org/html5/webstorage/
        Per domain storage
          ā€¢ Key/value pairs
          ā€¢ ~2.5MB
          ā€¢ Test it: http://dev-test.nemikor.com/web-storage/
            support-test/
        Programmable
          ā€¢ It can be used for whatever you want
          ā€¢ This includes acting as a programmable object cache!



Ā© 2012 Strangeloop Networks              Strangeloop. Faster Websites. Automatically.   102
Evolution




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   103
Evolution: Mobile Networks




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   104
The Phone matters




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   105
Browsers: Slow and Steady Growth




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   106
Responsive Images




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   107
Make Full Site Available




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   108
Full Site Matters




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   109
Full Site Matters




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   110
Enhance with Javascript




Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   111
State of Mobile Ecommerce Performance
How fast do leading m-commerce sites load for real users
on 3G?




Ā© 2012 Strangeloop Networks      Strangeloop. Faster Websites. Automatically.   112
Report: Key Areas of Exploration

ā€¢ Speed
          ā€“ How fast are web pages on a 3G connection?

ā€¢ Devices
          ā€“ What is faster: Android or iPhone?
          ā€“ What is faster: iPad or Android tablet?

ā€¢ Usability
          ā€“ Do companies have mobile-specific sites?
          ā€“ Who do they serve them to?
          ā€“ Do they let people view the full site from a mobile
            site?
Ā© 2012 Strangeloop Networks             Strangeloop. Faster Websites. Automatically.   113
Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   114
Ā© 2012 Strangeloop Networks   Strangeloop. Faster Websites. Automatically.   115
Ā© 2012 Strangeloop Networks
  2011                        Strangeloop. Faster Websites. Automatically.
                                                                Strangeloop. Faster Websites. Automatically.   116
Ā© 2012 Strangeloop Networks
  2011                        Strangeloop. Faster Websites. Automatically.
                                                                Strangeloop. Faster Websites. Automatically.   117

More Related Content

Similar to O'Reilly webcast: Joshua Bixby on Mobile Performance Trends and Predictions

Velocity 2012: The 90-Minute Mobile Optimization Life Cycle
Velocity 2012: The 90-Minute Mobile Optimization Life CycleVelocity 2012: The 90-Minute Mobile Optimization Life Cycle
Velocity 2012: The 90-Minute Mobile Optimization Life CycleStrangeloop
Ā 
Performance Optimization for Mobile Web | Fresh Tilled Soil
Performance Optimization for Mobile Web | Fresh Tilled SoilPerformance Optimization for Mobile Web | Fresh Tilled Soil
Performance Optimization for Mobile Web | Fresh Tilled SoilFresh Tilled Soil
Ā 
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User Experience
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User ExperienceNagios Conference 2012 - Nathan Vonnahme - Monitoring the User Experience
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User ExperienceNagios
Ā 
Mobile Performance Testing - Testing the Server
Mobile Performance Testing  - Testing the ServerMobile Performance Testing  - Testing the Server
Mobile Performance Testing - Testing the ServerXBOSoft
Ā 
STPCon fall 2012: The Testing Renaissance Has Arrived
STPCon fall 2012: The Testing Renaissance Has ArrivedSTPCon fall 2012: The Testing Renaissance Has Arrived
STPCon fall 2012: The Testing Renaissance Has ArrivedSOASTA
Ā 
Testing Mobile App Performance
Testing Mobile App PerformanceTesting Mobile App Performance
Testing Mobile App PerformanceTechWell
Ā 
Riding The N Train: How we dismantled Groupon's Ruby on Rails Monolith
Riding The N Train: How we dismantled Groupon's Ruby on Rails MonolithRiding The N Train: How we dismantled Groupon's Ruby on Rails Monolith
Riding The N Train: How we dismantled Groupon's Ruby on Rails MonolithSean McCullough
Ā 
Improving frontend performance
Improving frontend performanceImproving frontend performance
Improving frontend performanceSagar Desarda
Ā 
Cloud Connect Santa Clara 2013: Web Acceleration and Front-End Optimization (...
Cloud Connect Santa Clara 2013: Web Acceleration and Front-End Optimization (...Cloud Connect Santa Clara 2013: Web Acceleration and Front-End Optimization (...
Cloud Connect Santa Clara 2013: Web Acceleration and Front-End Optimization (...Strangeloop
Ā 
20 tips for website performance
20 tips for website performance20 tips for website performance
20 tips for website performanceAndrew Siemer
Ā 
Angular Ivy- An Overview
Angular Ivy- An OverviewAngular Ivy- An Overview
Angular Ivy- An OverviewJalpesh Vadgama
Ā 
State of jQuery - AspDotNetStorefront Conference
State of jQuery - AspDotNetStorefront ConferenceState of jQuery - AspDotNetStorefront Conference
State of jQuery - AspDotNetStorefront Conferencedmethvin
Ā 
How BiggerPockets runs experiments faster with performance edge
How BiggerPockets runs experiments faster with performance edgeHow BiggerPockets runs experiments faster with performance edge
How BiggerPockets runs experiments faster with performance edgeOptimizely
Ā 
Step by Step Mobile Optimization
Step by Step Mobile OptimizationStep by Step Mobile Optimization
Step by Step Mobile OptimizationGuy Podjarny
Ā 
How to Monitor Your Java & .NET Applications with eG Enterprise
How to Monitor Your Java & .NET Applications with eG EnterpriseHow to Monitor Your Java & .NET Applications with eG Enterprise
How to Monitor Your Java & .NET Applications with eG EnterpriseeG Innovations
Ā 
London web performance WPO Lessons from the field June 2013
London web performance   WPO Lessons from the field June 2013London web performance   WPO Lessons from the field June 2013
London web performance WPO Lessons from the field June 2013Stephen Thair
Ā 
Enterprise Monitoring 2018: Converged Application & Infrastructure Monitoring...
Enterprise Monitoring 2018: Converged Application & Infrastructure Monitoring...Enterprise Monitoring 2018: Converged Application & Infrastructure Monitoring...
Enterprise Monitoring 2018: Converged Application & Infrastructure Monitoring...eG Innovations
Ā 
Doug Sillars on App Optimization
Doug Sillars on App OptimizationDoug Sillars on App Optimization
Doug Sillars on App Optimizationwipjam
Ā 
Web Performance & Latest in React
Web Performance & Latest in ReactWeb Performance & Latest in React
Web Performance & Latest in ReactTalentica Software
Ā 
Getting started w ct lite load_testing 21.05.14
Getting started w ct lite load_testing 21.05.14Getting started w ct lite load_testing 21.05.14
Getting started w ct lite load_testing 21.05.14SOASTA
Ā 

Similar to O'Reilly webcast: Joshua Bixby on Mobile Performance Trends and Predictions (20)

Velocity 2012: The 90-Minute Mobile Optimization Life Cycle
Velocity 2012: The 90-Minute Mobile Optimization Life CycleVelocity 2012: The 90-Minute Mobile Optimization Life Cycle
Velocity 2012: The 90-Minute Mobile Optimization Life Cycle
Ā 
Performance Optimization for Mobile Web | Fresh Tilled Soil
Performance Optimization for Mobile Web | Fresh Tilled SoilPerformance Optimization for Mobile Web | Fresh Tilled Soil
Performance Optimization for Mobile Web | Fresh Tilled Soil
Ā 
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User Experience
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User ExperienceNagios Conference 2012 - Nathan Vonnahme - Monitoring the User Experience
Nagios Conference 2012 - Nathan Vonnahme - Monitoring the User Experience
Ā 
Mobile Performance Testing - Testing the Server
Mobile Performance Testing  - Testing the ServerMobile Performance Testing  - Testing the Server
Mobile Performance Testing - Testing the Server
Ā 
STPCon fall 2012: The Testing Renaissance Has Arrived
STPCon fall 2012: The Testing Renaissance Has ArrivedSTPCon fall 2012: The Testing Renaissance Has Arrived
STPCon fall 2012: The Testing Renaissance Has Arrived
Ā 
Testing Mobile App Performance
Testing Mobile App PerformanceTesting Mobile App Performance
Testing Mobile App Performance
Ā 
Riding The N Train: How we dismantled Groupon's Ruby on Rails Monolith
Riding The N Train: How we dismantled Groupon's Ruby on Rails MonolithRiding The N Train: How we dismantled Groupon's Ruby on Rails Monolith
Riding The N Train: How we dismantled Groupon's Ruby on Rails Monolith
Ā 
Improving frontend performance
Improving frontend performanceImproving frontend performance
Improving frontend performance
Ā 
Cloud Connect Santa Clara 2013: Web Acceleration and Front-End Optimization (...
Cloud Connect Santa Clara 2013: Web Acceleration and Front-End Optimization (...Cloud Connect Santa Clara 2013: Web Acceleration and Front-End Optimization (...
Cloud Connect Santa Clara 2013: Web Acceleration and Front-End Optimization (...
Ā 
20 tips for website performance
20 tips for website performance20 tips for website performance
20 tips for website performance
Ā 
Angular Ivy- An Overview
Angular Ivy- An OverviewAngular Ivy- An Overview
Angular Ivy- An Overview
Ā 
State of jQuery - AspDotNetStorefront Conference
State of jQuery - AspDotNetStorefront ConferenceState of jQuery - AspDotNetStorefront Conference
State of jQuery - AspDotNetStorefront Conference
Ā 
How BiggerPockets runs experiments faster with performance edge
How BiggerPockets runs experiments faster with performance edgeHow BiggerPockets runs experiments faster with performance edge
How BiggerPockets runs experiments faster with performance edge
Ā 
Step by Step Mobile Optimization
Step by Step Mobile OptimizationStep by Step Mobile Optimization
Step by Step Mobile Optimization
Ā 
How to Monitor Your Java & .NET Applications with eG Enterprise
How to Monitor Your Java & .NET Applications with eG EnterpriseHow to Monitor Your Java & .NET Applications with eG Enterprise
How to Monitor Your Java & .NET Applications with eG Enterprise
Ā 
London web performance WPO Lessons from the field June 2013
London web performance   WPO Lessons from the field June 2013London web performance   WPO Lessons from the field June 2013
London web performance WPO Lessons from the field June 2013
Ā 
Enterprise Monitoring 2018: Converged Application & Infrastructure Monitoring...
Enterprise Monitoring 2018: Converged Application & Infrastructure Monitoring...Enterprise Monitoring 2018: Converged Application & Infrastructure Monitoring...
Enterprise Monitoring 2018: Converged Application & Infrastructure Monitoring...
Ā 
Doug Sillars on App Optimization
Doug Sillars on App OptimizationDoug Sillars on App Optimization
Doug Sillars on App Optimization
Ā 
Web Performance & Latest in React
Web Performance & Latest in ReactWeb Performance & Latest in React
Web Performance & Latest in React
Ā 
Getting started w ct lite load_testing 21.05.14
Getting started w ct lite load_testing 21.05.14Getting started w ct lite load_testing 21.05.14
Getting started w ct lite load_testing 21.05.14
Ā 

More from Strangeloop

37 Lessons I've Learned on the Performance Front Lines [WebPerfDays 2012]
37 Lessons I've Learned on the Performance Front Lines [WebPerfDays 2012]37 Lessons I've Learned on the Performance Front Lines [WebPerfDays 2012]
37 Lessons I've Learned on the Performance Front Lines [WebPerfDays 2012]Strangeloop
Ā 
Front End Optimization [Cloud Connect 2012]
Front End Optimization [Cloud Connect 2012]Front End Optimization [Cloud Connect 2012]
Front End Optimization [Cloud Connect 2012]Strangeloop
Ā 
Advanced Mobile Optimization: How does it work? How do we measure success?
Advanced Mobile Optimization: How does it work? How do we measure success?Advanced Mobile Optimization: How does it work? How do we measure success?
Advanced Mobile Optimization: How does it work? How do we measure success?Strangeloop
Ā 
London Web Performance Meetup: Performance for mortal companies
London Web Performance Meetup: Performance for mortal companiesLondon Web Performance Meetup: Performance for mortal companies
London Web Performance Meetup: Performance for mortal companiesStrangeloop
Ā 
Performance in business terms
Performance in business termsPerformance in business terms
Performance in business termsStrangeloop
Ā 
Web Performance Automation - NY Web Performance Meetup
Web Performance Automation - NY Web Performance MeetupWeb Performance Automation - NY Web Performance Meetup
Web Performance Automation - NY Web Performance MeetupStrangeloop
Ā 
Velocity 2010: Performance Impact, Part Two: More Findings from the Front Lin...
Velocity 2010: Performance Impact, Part Two: More Findings from the Front Lin...Velocity 2010: Performance Impact, Part Two: More Findings from the Front Lin...
Velocity 2010: Performance Impact, Part Two: More Findings from the Front Lin...Strangeloop
Ā 

More from Strangeloop (7)

37 Lessons I've Learned on the Performance Front Lines [WebPerfDays 2012]
37 Lessons I've Learned on the Performance Front Lines [WebPerfDays 2012]37 Lessons I've Learned on the Performance Front Lines [WebPerfDays 2012]
37 Lessons I've Learned on the Performance Front Lines [WebPerfDays 2012]
Ā 
Front End Optimization [Cloud Connect 2012]
Front End Optimization [Cloud Connect 2012]Front End Optimization [Cloud Connect 2012]
Front End Optimization [Cloud Connect 2012]
Ā 
Advanced Mobile Optimization: How does it work? How do we measure success?
Advanced Mobile Optimization: How does it work? How do we measure success?Advanced Mobile Optimization: How does it work? How do we measure success?
Advanced Mobile Optimization: How does it work? How do we measure success?
Ā 
London Web Performance Meetup: Performance for mortal companies
London Web Performance Meetup: Performance for mortal companiesLondon Web Performance Meetup: Performance for mortal companies
London Web Performance Meetup: Performance for mortal companies
Ā 
Performance in business terms
Performance in business termsPerformance in business terms
Performance in business terms
Ā 
Web Performance Automation - NY Web Performance Meetup
Web Performance Automation - NY Web Performance MeetupWeb Performance Automation - NY Web Performance Meetup
Web Performance Automation - NY Web Performance Meetup
Ā 
Velocity 2010: Performance Impact, Part Two: More Findings from the Front Lin...
Velocity 2010: Performance Impact, Part Two: More Findings from the Front Lin...Velocity 2010: Performance Impact, Part Two: More Findings from the Front Lin...
Velocity 2010: Performance Impact, Part Two: More Findings from the Front Lin...
Ā 

Recently uploaded

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
Ā 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
Ā 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
Ā 
Bun (KitWorks Team Study ė…øė³„ė§ˆė£Ø ė°œķ‘œ 2024.4.22)
Bun (KitWorks Team Study ė…øė³„ė§ˆė£Ø ė°œķ‘œ 2024.4.22)Bun (KitWorks Team Study ė…øė³„ė§ˆė£Ø ė°œķ‘œ 2024.4.22)
Bun (KitWorks Team Study ė…øė³„ė§ˆė£Ø ė°œķ‘œ 2024.4.22)Wonjun Hwang
Ā 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
Ā 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
Ā 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
Ā 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
Ā 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
Ā 
Nellā€™iperspazio con Rocket: il Framework Web di Rust!
Nellā€™iperspazio con Rocket: il Framework Web di Rust!Nellā€™iperspazio con Rocket: il Framework Web di Rust!
Nellā€™iperspazio con Rocket: il Framework Web di Rust!Commit University
Ā 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
Ā 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
Ā 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
Ā 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
Ā 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
Ā 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
Ā 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
Ā 
"Subclassing and Composition ā€“ A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition ā€“ A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition ā€“ A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition ā€“ A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
Ā 

Recently uploaded (20)

Hot Sexy call girls in Panjabi Bagh šŸ” 9953056974 šŸ” Delhi escort Service
Hot Sexy call girls in Panjabi Bagh šŸ” 9953056974 šŸ” Delhi escort ServiceHot Sexy call girls in Panjabi Bagh šŸ” 9953056974 šŸ” Delhi escort Service
Hot Sexy call girls in Panjabi Bagh šŸ” 9953056974 šŸ” Delhi escort Service
Ā 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Ā 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Ā 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Ā 
Bun (KitWorks Team Study ė…øė³„ė§ˆė£Ø ė°œķ‘œ 2024.4.22)
Bun (KitWorks Team Study ė…øė³„ė§ˆė£Ø ė°œķ‘œ 2024.4.22)Bun (KitWorks Team Study ė…øė³„ė§ˆė£Ø ė°œķ‘œ 2024.4.22)
Bun (KitWorks Team Study ė…øė³„ė§ˆė£Ø ė°œķ‘œ 2024.4.22)
Ā 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
Ā 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
Ā 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Ā 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
Ā 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Ā 
Nellā€™iperspazio con Rocket: il Framework Web di Rust!
Nellā€™iperspazio con Rocket: il Framework Web di Rust!Nellā€™iperspazio con Rocket: il Framework Web di Rust!
Nellā€™iperspazio con Rocket: il Framework Web di Rust!
Ā 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
Ā 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Ā 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
Ā 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
Ā 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Ā 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Ā 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
Ā 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
Ā 
"Subclassing and Composition ā€“ A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition ā€“ A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition ā€“ A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition ā€“ A Pythonic Tour of Trade-Offs", Hynek Schlawack
Ā 

O'Reilly webcast: Joshua Bixby on Mobile Performance Trends and Predictions

  • 1. Mobile Performance Trends and Predictions Joshua Bixby
  • 2. Agenda Market Why is faster better? Measuring performance Visualizing performance How does data work on a mobile network? Best practices in action Evolution Strangeloop study: State of Mobile Ecommerce Performance Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 2
  • 3. Growth of Smartphone Sales (as % of total mobile phone sales) Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 3
  • 4. Traffic from Mobile Devices (2011) Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 4
  • 5. Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 5
  • 6. Customer Profile Top 200 Internet retailer, US based Target geography: US and Europe $3B in revenue 30,000 employees Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 6
  • 7. Page Views by Mobile Device Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 7
  • 8. Experiment Induce delay on HTML 200msec, 500msec, 1000msec Apply to small percentage of traffic 12 weeks Monitor impact on key business metrics Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 8
  • 9. Results Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 9
  • 10. Impact on Bounce Rate Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 10
  • 11. Impact on Returning Visitors Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 11
  • 12. More Details http://www.webperformancetoday.com/ 2011/11/23/case-study-slow-page-load-mobile- business-metrics/ http://velocityconf.com/velocityeu/public/ schedule/detail/21632 Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 12
  • 13. Performance Measurement Measuring Page Speed on Mobile Devices Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 13
  • 14. Measurement Mobile measurement is still a challenge ā€¢ There are some tools out there ā€¢ Still pretty manual ā€¢ Less about performance and more about functionality ā€¢ Lots of simulation More complicated because of the number of different platforms and devices that we may need to cover Things are getting better Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 14
  • 15. Chrome Remote Debugging (ICS) A USB connection lets us see activity of mobile Chrome on desktop Chrome https://developers.google.com/chrome/mobile/ docs/debugging Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 15
  • 16. iWebInspector Web Inspector, but for iOS Simulator http://www.iwebinspector.com/ Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 16
  • 17. Weinre (Web Inspector Remote) Remote debugging from the desktop for what the phone is doing http://people.apache.org/~pmuellr/weinre/ docs/latest/Home.html Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 17
  • 18. Aardwolf Remote JavaScript debugging (all platforms) http://lexandera.com/aardwolf/ Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 18
  • 19. Mobile Perf Bookmarklet More focus on performance http://stevesouders.com/mobileperf/ mobileperfbkm.php Super bookmarklet with lots of tools built in Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 19
  • 20. PCAP2HAR Turn packet captures to waterfalls http://pcapperf.appspot.com/ Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 20
  • 21. Real User Monitoring (RUM) RUM tools are increasing in availability ā€¢ Google Analytics ā€¢ New companies and solutions emerging RUM tools are increasing in availability ā€¢ Google Analytics ā€¢ New companies and solutions emerging Measurement on actual devices, for real users Need lots of data to draw conclusions ā€¢ And must have a way to deal with outliers Navigation Timing (only in Chrome for Android right now) Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 21
  • 22. WebPagetest Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 22
  • 23. WebPagetestā€™s Mobile Agent Based on the recently open-sourced Mobitest agent Interacts with the server just like a standard desktop agent Available for Android and iOS ā€¢ Still in the early stages, but key metrics are reported ā€¢ Some features (like scripting) donā€™t work ā€¢ Cold cache tests and videos are working fine ā€¢ For iOS, it uses UIWebView rather than Safari Even with the limitations, still the best tool for getting a feel for mobile performance Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 23
  • 24. Visualizing Performance Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 24
  • 25. Visualizing Performance Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 25
  • 26. Visualizing Performance Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 26
  • 27. Visualizing Performance Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 27
  • 28. Visualizing Performance Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 28
  • 29. Visualizing Performance Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 29
  • 30. How does data work on a mobile network? Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 30
  • 31. Stepwise Acceleration Accelerating a Real Site Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 31
  • 32. Methodology Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 32
  • 33. Setup All testing done on 3G from Vancouver ā€¢ Nexus S with WPT agent ā€¢ Rogers Network Traffic flows through Strangeloop service ā€¢ We apply optimizations in the path ā€¢ Used host file entries since DNS overwrite isnā€™t available on the agent The phone does everything else Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 33
  • 34. Setup Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 34
  • 35. Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 35
  • 36. A Few Points of Clarification Weā€™re only choosing oreilly.com for fun Weā€™re using it only to show what some performance problems are ā€“ this doesnā€™t mean the site has these problems The real site is somewhere in the middle of this blue bar Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 36
  • 37. Summary of Key Metrics Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 37
  • 38. Performance Problems Too many connections Too many bytes No CDN Too many round trips Poor caching (more on this later) 3rd party calls (marketing tags, analytics, etc) Similar to desktop, but impact is different on mobile devices Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 38
  • 39. What Does It Look Like? http://www.youtube.com/watch?v=jo4zxzv3USg Text Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 39
  • 40. Key Metrics ā€“ Original Site Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 40
  • 41. Letā€™s Fix it! Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 41
  • 42. What Are We Going To Do? Stepwise acceleration ā€¢ Weā€™ll accelerate the page in multiple steps ā€¢ Weā€™ll add techniques at each step and evaluate the performance impact Weā€™ll start with the easy stuff and get more advanced with each step Try to make the page as fast as possible Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 42
  • 43. Step 1: Low Hanging Fruit Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 43
  • 44. Step 1: Optimizations Add keep-alive connections ā€¢ Address the problem with too many connections ā€¢ Lessen the impact of TCP connection setup Add HTTP compression ā€¢ One way to reduce bytes, and an easy one ā€¢ Weā€™ll compress the text-based content (HTML, CSS, JS, etc) Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 44
  • 45. Keep-alive Connections Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 45
  • 46. HTTP Compression Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 46
  • 47. Step 1: What Should We Expect Fewer total connections Fewer bytes Impact to performance metrics ā€¢ Fewer bytes to onload ā€¢ No change to roundtrips ā€¢ Better document complete time ā€¢ Better start render Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 47
  • 48. Before and After Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 48
  • 49. What We Helped Connection Count ā€¢ 83 connection ļƒ  30 connection Key metrics Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 49
  • 50. Step 1: Improvements Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 50
  • 51. Step 1: Improvements Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 51
  • 52. What Does It Look Like? http://www.youtube.com/watch?v=qMGAOqQQqvw Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 52
  • 53. Pros and Cons Pros ā€¢ Really easy to do ā€¢ Usually a single configuration option on servers, proxies, or load balancers ā€¢ Great bang for the buck Cons ā€¢ Itā€™s still slow! ā€¢ These are, by themselves, just not enough Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 53
  • 54. Step 2: CDN Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 54
  • 55. CDN Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 55
  • 56. CDN Static resources are served from locations near the requesting client (mobile or otherwise) Shorter distance between client and content means smaller TTFB Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 56
  • 57. What Should We Expect Faster average time to first byte for the objects on the page Impact to performance metrics ā€¢ No change to round trips ā€¢ No change to byte count ā€¢ Better start render time ā€¢ Better document complete time Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 57
  • 58. Before and After Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 58
  • 59. Impact on TTFB Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 59
  • 60. What We Helped Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 60
  • 61. Step 2: Improvements Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 61
  • 62. Step 2: Improvements Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 62
  • 63. What Does It Look Like? http://www.youtube.com/watch?v=aiViEjuVb_g Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 63
  • 64. Pros and Cons Pros ā€¢ CDNs are always a good way to reduce TTFB ā€¢ Physics! ā€¢ Well-established industry; lots and lots of vendors Cons ā€¢ Can sometimes be costly ā€¢ Why wasnā€™t it faster? Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 64
  • 65. CDN and speed Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 65
  • 66. Step 3: Mobile Front End Optimization Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 66
  • 67. Mobile FEO Consolidation of resources ā€¢ Images ā€¢ CSS ā€¢ JavaScript Image Compression Minification ā€¢ JavaScript ā€¢ CSS Optimal use of localStorage (more on this later) Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 67
  • 68. Mobile FEO Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 68
  • 69. What Should We Expect Fewer round trips will mean the TTFB problem should get a lot better Fewer bytes will mean better performance ā€¢ Images (from image compression) ā€¢ CSS/JS (from minification) Impact on performance metrics ā€¢ Reduction in round trips ā€¢ Reduction in byte count (on top of HTTP Compression) ā€¢ Better start render time ā€¢ Better document complete time Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 69
  • 70. Before and After Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 70
  • 71. What We Helped Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 71
  • 72. Step 3: Improvements Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 72
  • 73. Step 3: Improvements Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 73
  • 74. What Does It Look Like? http://www.youtube.com/watch?v=J_gU2Z_b-6I Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 74
  • 75. Pros and Cons Pros ā€¢ Noticeable and significant benefit over easier techniques ā€¢ The mobile form factor lets us be more aggressive with some of the techniques ā€¢ Smart use of localStorage Cons ā€¢ Itā€™s not easy! ā€¢ Techniques must survive site changes (regression) Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 75
  • 76. Step 4: More Mobile FEO Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 76
  • 77. More Mobile FEO Deferral ā€¢ Analytics ā€¢ Marketing tags ā€¢ Ads ā€¢ Etc. Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 77
  • 78. 3rd Party Calls Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 78
  • 79. 3rd Party Calls Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 79
  • 80. What Should We Expect Deferral of round trips to after onload Impact to performance metrics ā€¢ Fewer round trips to onload ā€¢ Fewer bytes to onload ā€¢ Better start render time ā€¢ Better document complete time Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 80
  • 81. Before and After Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 81
  • 82. Before and After Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 82
  • 83. Before and After Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 83
  • 84. What We Helped Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 84
  • 85. Step 4: Improvements Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 85
  • 86. Step 4: Improvements Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 86
  • 87. What Does It Look Like? http://www.youtube.com/watch?v=e0oFr0pSRn8 Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 87
  • 88. Pros and Cons Pros ā€¢ Gives you the control that your marketing team may have given away! ā€¢ Solves a very difficult problem, resulting in improvements to all key metrics ā€¢ Much better visual experience Cons ā€¢ Again, not easy! ā€¢ Must understand what the purpose of each 3rd party call is Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 88
  • 89. Quick Summary of Stepwise Acceleration Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 89
  • 90. Overall Improvements Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 90
  • 91. Overall Improvements Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 91
  • 92. Mobile Caching Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 92
  • 93. Stating the Obvious Caching is good!!! Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 93
  • 94. First View of a Page Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 94
  • 95. Repeat View with Terrible Caching Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 95
  • 96. Repeat View with Validations Only Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 96
  • 97. Repeat View with Good Caching Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 97
  • 98. Mobile Caching The primary issues with mobile caching ā€¢ Where to put the objects ā€¢ The size of the cache Some good reading ā€¢ Device Cache Sizes - Wink toolkit study: http://www.winktoolkit.org/blog/204/ - YUI study: http://www.yuiblog.com/blog/2010/06/28/mobile- browser-cache-limits/ - Blaze study: http://www.guypo.com/mobile/understanding-mobile- cache-sizes/ ā€¢ Individual Files - Steve Souders: http://www.stevesouders.com/blog/2010/07/12/ mobile-cache-file-sizes/ - More from YUI: http://www.yuiblog.com/blog/2010/07/12/mobile- browser-cache-limits-revisited/ Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 98
  • 99. Mobile Cache Sizes Cache sizes are much smaller than desktop ā€¢ Android (2.x) about 5-7MB ā€¢ iOS is larger (>50MB) We need to think about: ā€¢ Total cache size limit ā€¢ Individual object size limit ā€¢ HTML pages User behavior may affect whatā€™s served from cache Things are getting better, but not at the pace we want Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 99
  • 100. Some More Findings Android ā€¢ Firefox and Opera (Gingerbread): ~10MB ā€¢ Stock browser in ICS: 25MB ā€¢ Chrome on ICS: much larger and based on amount of space available ā€¢ http://gent.ilcore.com/2012/02/chrome-fast-for-android.html Android and iOS ā€¢ When thereā€™s room available, saw aggressive caching behavior Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 100
  • 101. Comparison to Desktop IE ā€¢ http://blogs.msdn.com/b/ie/archive/2011/03/17/ internet-explorer-9-network-performance- improvements.aspx ā€¢ Defaults ā€¢ IE 6/7/8 ļƒ 1/32 of disk, cap of 50MB ā€¢ IE9 ļƒ  1/256 of disk (bigger disks), cap of 250MB Chrome ā€“ Spot checked: >300MB Firefox ā€“ Spot checked: >700MB From Steve: http://stevesouders.com/cache.php Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 101
  • 102. HTML5 localStorage W3Cā€™s Web Storage Spec: ā€“ http://dev.w3.org/html5/webstorage/ Per domain storage ā€¢ Key/value pairs ā€¢ ~2.5MB ā€¢ Test it: http://dev-test.nemikor.com/web-storage/ support-test/ Programmable ā€¢ It can be used for whatever you want ā€¢ This includes acting as a programmable object cache! Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 102
  • 103. Evolution Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 103
  • 104. Evolution: Mobile Networks Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 104
  • 105. The Phone matters Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 105
  • 106. Browsers: Slow and Steady Growth Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 106
  • 107. Responsive Images Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 107
  • 108. Make Full Site Available Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 108
  • 109. Full Site Matters Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 109
  • 110. Full Site Matters Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 110
  • 111. Enhance with Javascript Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 111
  • 112. State of Mobile Ecommerce Performance How fast do leading m-commerce sites load for real users on 3G? Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 112
  • 113. Report: Key Areas of Exploration ā€¢ Speed ā€“ How fast are web pages on a 3G connection? ā€¢ Devices ā€“ What is faster: Android or iPhone? ā€“ What is faster: iPad or Android tablet? ā€¢ Usability ā€“ Do companies have mobile-specific sites? ā€“ Who do they serve them to? ā€“ Do they let people view the full site from a mobile site? Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 113
  • 114. Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 114
  • 115. Ā© 2012 Strangeloop Networks Strangeloop. Faster Websites. Automatically. 115
  • 116. Ā© 2012 Strangeloop Networks 2011 Strangeloop. Faster Websites. Automatically. Strangeloop. Faster Websites. Automatically. 116
  • 117. Ā© 2012 Strangeloop Networks 2011 Strangeloop. Faster Websites. Automatically. Strangeloop. Faster Websites. Automatically. 117

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. \n
  46. \n
  47. \n
  48. \n
  49. \n
  50. \n
  51. \n
  52. \n
  53. \n
  54. \n
  55. \n
  56. \n
  57. \n
  58. \n
  59. \n
  60. \n
  61. \n
  62. \n
  63. \n
  64. \n
  65. \n
  66. \n
  67. \n
  68. \n
  69. \n
  70. \n
  71. \n
  72. \n
  73. \n
  74. \n
  75. \n
  76. \n
  77. \n
  78. \n
  79. \n
  80. \n
  81. \n
  82. \n
  83. \n
  84. \n
  85. \n
  86. \n
  87. \n
  88. \n
  89. \n
  90. \n
  91. \n
  92. \n
  93. \n
  94. \n
  95. \n
  96. \n
  97. \n
  98. \n
  99. \n
  100. \n
  101. \n
  102. \n
  103. \n
  104. \n
  105. \n
  106. \n
  107. \n
  108. \n
  109. \n
  110. \n
  111. \n
  112. \n
  113. \n
  114. \n
  115. \n
  116. Twitter @joshuabixby\n
  117. Twitter @joshuabixby\n