Skip to content

A curated list of snippets to get Web Performance metrics to use in the browser console or as snippets on Chrome DevTools.

License

Notifications You must be signed in to change notification settings

B2-krunalrana/webperformance_snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Webperformance Snippets

A curated list of snippets to get Web Performance metrics to use in the browser console or as snippets on Chrome DevTools.


image

How to use

Requirements All the snippets are tested in Google Chrome browser, so use this browser to garantize the correct funcionality.

Run in the browser console

You can copy any snippet and then paste in the browser console and run it to get the result

Run as snippet in Chrome DevTools

You can use the webperf-snippets as a Snippet in the Chrome DevTools Sources tab.
  1. Copy any of the WebPerf Snippets
  2. Open Chrome DevTools
  3. Select the Sources tab
  4. Select the Snippets sub tab
  5. Click the New snippet button, e.g., LCP
  6. Write the snippet name, LCP
  7. Paste the copied code into the right area
  8. Run the snippet

About

A curated list of snippets to get Web Performance metrics to use in the browser console or as snippets on Chrome DevTools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published