Site Speed: To Measure Is To Know. Sava Sertov QA Technical Lead ecommera

Similar documents
How to get a perfect 100 in Google PageSpeed Insights

Web Performance in

Executive Summary. Performance Report for: The web should be fast. How does this affect me?

Executive Summary. Performance Report for: The web should be fast. Top 4 Priority Issues

Executive Summary. Performance Report for: The web should be fast. Top 1 Priority Issues. How does this affect me?

JAVASCRIPT CHARTING. Scaling for the Enterprise with Metric Insights Copyright Metric insights, Inc.

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Website Acceleration with mod_pagespeed

90 Minute Optimization Life Cycle

Creating an Online Catalogue Search for CD Collection with AJAX, XML, and PHP Using a Relational Database Server on WAMP/LAMP Server

Use Page Speed to Optimize Your Web Site for Mobile

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Beneath the Surface. How Web Design Impacts Your Site s Health

Trending with Purpose. Jason Dixon

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues

AJAX Programming Overview. Introduction. Overview

3Q WHITEPAPER SERIES. Page Speed Optimization: Load First or Finish Last. Maty Rice SEO Account Manager, 3Q Digital

<?php function preprocess_drupalcon($presentation) { if ($drupal && $ionic) { if ($ionic[ app ] = Megalomaniac ) { create $presentation } } }?

Keys to Web Front End Performance Optimization

GRITS AJAX & GWT. Trey Roby. GRITS 5/14/09 Roby - 1

Sucuri Webinar Q&A HOW TO IDENTIFY AND FIX A HACKED WORDPRESS WEBSITE. Ben Martin - Remediation Team Lead

Building mobile app using Cordova and AngularJS, common practices. Goran Kopevski

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

How to approach the web platforms. Peter-Paul Koch Nordic Competence Conference, 12 September 2015

amazon.com s Journey to the Cloud Jon Jenkins AWS Summit June 13, 2011

Non Functional Requirements Websites implemented by Dynamicweb Services

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

HTML5 MOCK TEST HTML5 MOCK TEST I

AGENCE WEB MADE IN DOM

DreamFactory Customer Privacy and Security Whitepaper Delivering Secure Applications on Salesforce.com

To Kill a Monolith: Slaying the Demons of a Monolith with Node.js Microservices on CloudFoundry. Tony Erwin,

Ajax Performance Analysis. Ryan Breen

SECRETS OF A GREAT WEBSITE DESIGN

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Google extensions api

SaaS Providers. ThousandEyes for. Summary

How to Use New Relic Browser to Improve Your Web App s User Experience

MOBILE WEB OPTIMIZATION

Todd toddreifsteck

Marketing Insider... 3 Section 1 Your List... 4 AWeber Basics... 4 Create your Account... 5 Exploring AWeber s Members Area...

Matteo Fogli. Web Performance

Google chrome theme background image

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues

Ninja Level Infrastructure Monitoring. Defensive Approach to Security Monitoring and Automation

Simple AngularJS thanks to Best Practices

HTML5 for mobile development.

Mobile & More: Preparing for the Latest Design Trends

A/B Tests in Google Analytics To Make UI Decisions

CONVERSION TRACKING PIXEL GUIDE

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Unifer Documentation. Release V1.0. Matthew S

Using Development Tools to Examine Webpages

FROM EVIDON S OPTIMIZATION DESK: 9 STEPS TO A DIGITAL GOVERNANCE PLAN

1. The Difference Between Success and Failure

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Evolution of the "Web

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Jenkins 2 UX Improvements. Keith Zantow Software Engineer, CloudBees, Inc.

Integrating Facebook. Contents

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

Transitioning from C# to Scala Using Apache Thrift. Twitter Finagle

ThousandEyes for. Application Delivery White Paper

<Insert Picture Here> JavaFX 2.0

WEB DESIGN & DEVELOPMENT

F5 Analytics and Visibility Solutions

Using GWT and Eclipse to Build Great Mobile Web Apps

Copyright 2012 BlogDesigns Web: Meer informatie?

Monitoring MySQL Performance with Percona Monitoring and Management

HTML 5: Fact and Fiction Nathaniel T. Schutta

HTML version of slides:

EmberJS A Fitting Face for a D8 Backend. Taylor Solomon

Beacon Catalog. Categories:

ITP 342 Mobile App Development. APIs

Digital Hothouse.

Mobile Assets. Rainer Borchert, Google. Industry Leader

Online Marketng Checklist

Telerik Test Studio. Web/Desktop Testing. Software Quality Assurance Telerik Software Academy

Business Hacks to grow your list with Social Media Marketing

John Biancamano Inbound Digital LLC InboundDigital.net

Building a Django Twilio Programmable Chat Application

Monitoring Azure Azure Monitor How, What, Why?

Executive Summary. Performance Report for: The web should be fast. Top 5 Priority Issues. How does this affect me?

A WEB BASED OFFICE MARKET. CS 297 Project Report Presented to Dr. Christopher Pollett San José State University

Migration With Duda.

Professional PostgreSQL monitoring made easy. Kaarel Moppel - p2d2.cz 2019 Prague

Google Analytics. Gain insight into your users. How To Digital Guide 1

Automated Testing of Tableau Dashboards

How to develop a website content evaluation plan

Guarding Digital Performance and User Experience. Balancing Third-Party Tags and Website Performance

Website minute read. Understand the business implications, tactics, costs, and creation process of an effective website.

DESIGNING RESPONSIVE DASHBOARDS. Best Practices for Building Responsive Analytic Applications

Beyond the Annual Report

What does "Monitoring" mean?

AD218 Working with Customers via the IBM Lotus Sametime Links Toolkit. Carl Tyler Instant Technologies

Transcription:

Site Speed: To Measure Is To Know Sava Sertov QA Technical Lead ecommera

We want to be faster than our competitors

"80-90% of the end-user response time is spent on the front-end. Start there. Someone (not me )

The WHY The HOW The WHAT

The

User Experience We all want fast web sites 47% of users expect load time <2s https://blog.kissmetrics.co m/loading-time/

Time is Money $100,000 per day: 1 second delay = $2.5 million lost per year https://blog.kissmetrics.com/l oading-time/

The

Site Speed

What s out there Chrome Lighthouse

Google PageSpeed Insights - https://developers.google.com/speed/pagespeed/insights/ Useful to get optimization recommendations although WebPagetest does recommend possible recommendations as well. Some clients receive reports based on this score so it has some significance. You can also download optimized resources for your sites from the results page. Chrome Lighthouse Plugin there is rapid development for this plugin as part of a Google initiative Do Better Web. It has several audits, all of them worth checking out accessibility, good practices, etc. Requires a browser but can be run headless. JSON results available - https://github.com/googlechrome/lighthouse

WebPagetest (www.webpagetest.org)

WebPagetest (www.webpagetest.org) Different locations / browsers / devices Ability to run a test from a remote location is a strong benefit of WPT tests are more representative or real usage (mostly due to latency). Google are using WPT to validate performance improvements on Chrome. WebPagetest supports network throttling for more stable benchmarks. There are various other options simulating mobile viewport and UA, running on actual mobile devices, A/B tests, getting the Chrome timeline, labelling tests, scripting, etc.

WebPagetest (www.webpagetest.org) Different locations / browsers / devices Free, open source, private instance Has pre-configured AWS images the WPT server and agents easiest to spin up. Already has a linux agent and the creator

WebPagetest (www.webpagetest.org) Different locations / browsers / devices Free, open source, private instance Visual Comparison

WebPagetest (www.webpagetest.org) Different locations / browsers / devices Free, open source, private instance Visual Comparison Request Waterfall A lot more information on each request in the waterfall headers, body, etc.

WebPagetest (www.webpagetest.org) Different locations / browsers / devices Free, open source, private instance Visual Comparison Request Waterfall User Journeys User journeys (workflows) are done using the scripting functionality

WebPagetest (www.webpagetest.org) Different locations / browsers / devices Free, open source, private instance Visual Comparison Request Waterfall User Journeys SPOF (single point of failure) testing

Bad Render-blocking javascript: <script src="//www.thirdparty.com/asdf.js"> </script> Synchronous javascript blocks the HTML parser and rendering of anything after the script. The browser must wait for the file to be downloaded and executed.

SPOF testing It happens!!! AWS outage a month ago; Google DPF failure in 2014 results in 55000 blank sites; it s much worse in China because the great firewall of China blocks a lot of domains.

Good Defer until the DOM is ready: <script src="//www.thirdparty.com/asdf.js" defer> </script> Deferred scripts execute after the DOM is ready at dominteractive but before DOMContentLoaded they actually block DOMContentLoaded but this isn t an issue. Defer preserves execution order. The async attribute is not as good as defer. The js file will be executed when it s downloaded, which could still be a wrong time to execute it. Also, it doesn t preserve execution order another js which depends on it can execute before it.

Scheduling

Jenkins (https://jenkins.io/)

Visualisation

(www.splunk.com) Dashboards Email notifications Account management Other Big Data tools will do as well. The ELK stack is becoming more used than Splunk and it s free. Graphite + Grafana is another free option.

WebPagetest REST API is documented very well and gives more options than the UI: https://sites.google.com/a/webpagetest.org/docs/advancedfeatures/webpagetest-restful-apis

Actually a Splunk forwarder watches for changes in files/dirs and sends the new json pieces to its indexer (the process that converts the data and inserts it into the Splunk internal DB)

The

Too many metrics. They don t reflect the user perceived performance. Page Load (onload event) Is the most popular metric to measure performance. This is wrong and there are examples that Show how this can be cheated or returns false positives or is irrelevant - https://www.stevesouders.com/blog/2013/05/13/moving-beyond-window-onload/

Perceived Performance

Speed Index The issue with Speed Index is that it treats all pixels as equals, while some content is of secondary importance. Also, it is a bit difficult to explain how it is calculated and what the value means. Also, it gives false positives where there are carousels spinning constantly or when last-minute pop-ups appear or content shifts.

First Meaningful Paint

Hero Image Hero images are FMP for most e-commerce types of pages (home, Product Details, etc.). They are a big visual change on the screen, the user feels as if the site is almost loaded and dares to go on and interact with it. A similar metric is Time to Inrecactive = Time to First Meaningful Paint + appearance of a call-to-action item (a menu or a button to reveal a menu, for example).

User Timing API Almost all browsers support it - http://caniuse.com/#feat=user-timing. More info and examples: https://speedcurve.com/blog/user-timing-and-custommetrics/ onload= performance.mark( mark_hero_img )

The WHY The HOW The WHAT

Thank you! Sava Sertov QA Technical Lead ecommera www.qachallengeaccepted.com

Resources Steve Souders blogs https://blog.kissmetrics.com/loading-time/