Skip to content

Measure the performance to create a faster and better experience for all your users on high-speed Wi-Fi or the mobile user with a weak signal

Notifications You must be signed in to change notification settings

rproenza86/web-performance-pptimization-apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-performance-optimization-apis

Overview

With the Performance APIs built into modern browsers, you can measure the performance of your websites and applications and make "live" changes to the content, page navigation, and more.

This allows you to create a faster and better experience for all your users: for the desktop user on high-speed Wi-Fi or the mobile user with a weak signal.

This repository shows how to collect real metrics from real devices with the four most useful APIs: Performance Timeline, Navigation Timing, User Timing, and Resource Timing.

The implementation shows how to access and apply the APIs with vanilla JavaScript, and use reactive programming techniques—such as beacons and multithreading—to optimize code so it executes as efficiently as possible.

Objectives

  • Understanding the Performance APIs
  • Navigation Timing
  • Calculate milestones in the Performance Timeline
  • Measuring the timing of navigation, resources, servers, and more
  • Reading network and device information
  • Optimizing code

About

Measure the performance to create a faster and better experience for all your users on high-speed Wi-Fi or the mobile user with a weak signal

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published