Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/addyosmani/puppeteer-webperf
/ functions
Functions
10 in github.com/addyosmani/puppeteer-webperf
⨍
Functions
10
◇
Types & classes
2
↓ 2 callers
Function
calculateUsedBytes
(type, coverage)
code-coverage.js:19
↓ 2 callers
Function
countObjects
(page)
measure-memory-leaks.js:5
↓ 1 callers
Function
getCLS
* Get cumulative layout shift for a URL * @param {String} url - url to measure * @return {Number} - cumulative layout shift
cumulative-layout-shift.js:38
↓ 1 callers
Function
getLCP
* Get LCP for a provided URL * @param {*} url * @return {Number} lcp
largest-contentful-paint.js:34
↓ 1 callers
Function
lighthouseFromPuppeteer
* * Perform a Lighthouse run * @param {String} url - url The URL to test * @param {Object} options - Optional settings for the Lighthouse run * @p
lighthouse-report.js:24
↓ 1 callers
Function
lighthouseFromPuppeteer
* * Perform a Lighthouse run * @param {String} url - url The URL to test * @param {Object} options - Optional settings for the Lighthouse run * @p
lighthouse-metrics.js:23
Function
calculateLCP
* Measure LCP
largest-contentful-paint.js:9
Function
calculateShifts
* Measure layout shifts
cumulative-layout-shift.js:9
Method
constructor
()
measure-memory-leaks.js:27
Function
onMessage
()
measure-memory-leaks.js:35