Page Speed Bryan McQuade Richard Rabbat. Outline  What is Page Speed?  Inception of Page Speed  Cool features  Identify unused JavaScript and CSS.

Slides:



Advertisements
Similar presentations
CS193H: High Performance Web Sites Lecture 1: Introduction Steve Souders Google
Advertisements

High Performance Web Sites Essential Knowledge for Frontend Engineers
CS193H: High Performance Web Sites Lecture 5: Make Fewer HTTP Requests Steve Souders Google
CS193H: High Performance Web Sites Lecture 12: Rule 8 – Make JavaScript and CSS External Steve Souders Google
CS193H: High Performance Web Sites Lecture 10: Rule 6 – Put Scripts at the Bottom Steve Souders Google
Web Performance Meetup 1 Web Performance 101 Jeremy
Web Performance Meetup 1 Web Performance Toolbelt Jeremy
Stevesouders.com/docs/velocity-wpo pptx Disclaimer: This content does not necessarily reflect the opinions of my employer.
Samsung Smart TV is a web-based application running on an application engine installed on digital TVs connected to the Internet.
Page Phase Time Chao (Ray)
CHAPTER 15 WEBPAGE OPTIMIZATION. LEARNING OBJECTIVES How to test your web-page performance How browser and server interactions impact performance What.
CIS101 Introduction to Computing Week 12. Agenda Your questions Solutions to practice text Final HTML/JavaScript Project Copy and paste assignment JavaScript:
CSE 190: Internet E-Commerce Lecture 16: Performance.
Improving Proxy Cache Performance: Analysis of Three Replacement Policies Dilley, J.; Arlitt, M. A journal paper of IEEE Internet Computing, Volume: 3.
High Performance Websites (Based on Steve Souder’s lecture) By Bhoomi Patel.
Disclaimer: This content does not necessarily reflect the opinions of my employer.
Putting the Network to Work
Network. Add speed of light and speed in fiber Inspired by High Performance Browser Networking (Ilya Grigorik) Even Faster Web Sites (Steve Souders)
Mark Phillip markphillip.com 200s, 304s, Expires Headers, HTTP Compression, And You.
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
Performance, SEO, Accessibility Ivan Zhekov Telerik Corporation
Additional Topics. Tutorial #9 Review – Forms Forms Legend and fieldset Fields Text Password Radio buttons, check box, text area, select lists Buttons.
 Zhichun Li  The Robust and Secure Systems group at NEC Research Labs  Northwestern University  Tsinghua University 2.
JavaScript & jQuery the missing manual Chapter 11
Building Highly Scalable Websites Karol Jarkovsky Sr. Solution Architect
User Side Factors. Download Speed Download speed from a user’s side, is how long it takes a webpage to load, once requested. The measurement for time.
Wien, January Infrastructure for Spatial Information in the European Community The INSPIRE Community Geoportal EC INSPIRE GEOPORTAL TEAM European.
Global NetWatch Copyright © 2003 Global NetWatch, Inc. Factors Affecting Web Performance Getting Maximum Performance Out Of Your Web Server.
Chapter 19: Adding JavaScript
Web Overview The birth of Web: 1989 Now Web is about everything – Business (HR systems, e.g. NUHR) – Online Shopping (Amazon), Banking (Citibank, Chase)
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
Embedded Software SKKU 14 1 Sungkyunkwan University Tizen v2.3 Application Profiling & Debugging.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
Department of Computer Science Internet Performance Measurements using Firefox Extensions Scot L. DeDeo Professor Craig Wills.
Webview and Web services. Web Apps You can make your web content available to users in two ways in a traditional web browser in an Android application,
PERFORMANCE ENHANCEMENT IN ASP.NET By Hassan Tariq Session #1.
Putting Performance Best Practices Together to Create the Perfect SPA Chris Love2Dev.com.
NEXT GEN YSLOW Marcel Duran Betty Tso Exceptional Performance Team.
Restricted © Siemens AG All rights reserved A Developer’s Insights Into Performance Optimizations for Mobile Web Apps CT DC AA EM LP2 | June 2015.
LESSON 15 – UNIT 0 ADAPTING YOUR WEB SITE FOR MOBILE DEVICES.
Document Object Model Nasrullah. DOM When a page is loaded,browser creates a Document Object Model of the Page.
IE Developer Tools Jonathan Seitel Program Manager.
WebScan: Implementing QueryServer 2.0 Karl Geiger, Amgen Inc. BRS NA UG August 1999.
What is Seo? SEO stands for “search engine optimization.” It is the process of getting traffic from the “free,” “organic,” “editorial” or “natural” search.
WHAT'S THE DIFFERENCE BETWEEN A WEB APPLICATION STREAMING NETWORK AND A CDN? INSTART LOGIC.
Project: Web Designer. Phase 1: The World Wide Web.
Website: Contact:
History Before designing web pages it is important to know how it all came about… History Channel – The Invention of the Internet History Channel – The.
Msdevcon.ru#msdevcon. ИЗ ПЕРВЫХ РУК: КАК СДЕЛАТЬ ВАШ КОД БЫСТРЫМ ПРОФАЙЛИНГ КЛИЕНТСКИХ И СЕРВЕРНЫХ ПРИЛОЖЕНИЙ В VISUAL STUDIO 2012 MAXIM GOLDIN Senior.
Site Speed: The Ultimate UX Feature… for SEO. A case study on how to increase search engine crawling and online conversion Jonathon Colman In-House SEO.
MICROSOFT AJAX CDN (CONTENT DELIVERY NETWORK) Make Your ASP.NET site faster to retrieve.
IF STARBUCKS USED INSTART LOGIC, THEY WOULD HAVE A FASTER RESPONSIVE WEBSITE BY PETER BLUM.
Enhance Your Page Load Speed And Improve Traffic.
Technology for Mobile Network Operators Business Case: Improve Overall Service Quality and Customer Experience While Dramatically Lowering Carrier Costs.
JQuery Fundamentals Introduction Tutorial Videos
Business Case: Improve Overall Service Quality and Customer Experience
Debugging Front-end Performance
50 Performance Tricks to Make your HTML5 apps and sites Faster
3 Best Website Speed and Performance Checking Tools
AJAX.
Tips for Website Speed Optimization
Hints and tips for faster web apps
Episerver Performance A-Z
History Before designing web pages it is important to know how it all came about… History Channel – The Invention of the Internet Start at 17mins.
PHP + Oracle = Data-Driven Websites
Web & Mobile optimization
jQuery The Easy JavaScript Nikolay Chochev Technical Trainer
Web-Applications & AJAX
High Performance Mobile
Yale Digital Conference 2019
Presentation transcript:

Page Speed Bryan McQuade Richard Rabbat

Outline  What is Page Speed?  Inception of Page Speed  Cool features  Identify unused JavaScript and CSS  Pointing out inefficient CSS selectors  The activity panel  Demo

What is Page Speed  Firefox/Firebug add-on  Inspired by Yahoo’s YSlow  Open source, open code.google.com/p/page- speed  Optimizations done by the add-on when possible  Optimized images  Minified JavaScript  Page Speed tells you what JavaScript you should defer  Nice stats: 100k downloads in 10 days, 1000’s of tweets, 100’s of blog posts

Inception of Page Speed  Google teams developed their own optimizations independently  Best practices being relearned by new apps as we developed them  Scouring the Internet gave us great ideas  Implemented to make sure that as we developed our pages, we didn’t add regressions  Spent a lot of time carefully testing, crafting implementation  Proxies, browsers

Identifying unused JavaScript  x% of a site’s JavaScript loaded by a page that had not been invoked by the time the OnLoad handler completed  Why it’s good to fix  Scripts downloaded, parsed and executed before rendering a web page  When JavaScript is being processed, browser blocks all other resources from being downloaded  Complex web apps have sizeable latency impact when JavaScript not properly modularized

Pointing out Inefficient Selectors  Universal selectors are inefficient  Rules with descendant selectors such as body * {...}  Rules with child or adjacent selectors such as body > * {...}  Best to  avoid universal key selector  Make rules specific when possible  Get rid of redundant qualifiers, and others…  Refer to Hyatt’s excellent documentation “Writing efficient CSS…”

The Activity Panel  Records a timeline of network and local events  DNS, connection wait, connect, request wait, connected  Cache hit, data available, JavaScript parse and JavaScript execute  Coming soon  Paint events  Screen snapshots over time  Developers can do before/after analysis to see how their changes affect the activity stream

Activity Panel Screenshots  Shows where time is spent during page load.  Page load serialized on JavaScript download, parse, execution.  DNS lookups for JS add significant latency. news.bbc.co.uk gmail.com