Puppeteer
Basic cards
Basic cards are the simplest widgets available.
Content Card
Supports no metrics – you can simply use content.before
and content.after
to
render markdown to add any comments or explanations throughout your dashboard.
All other widgets support the same behavior on content.before
and content.after
as the Content Card.
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Performance
Puppeteer is a Node.js library that provides a high-level API to control Chrome/Chromium, allowing us to measure real browser performance metrics in a controlled environment.
- Good (< 2.5s)
- Needs improvement (2.5s to 4s)
- Poor (> 4s)
Values are measured directly in Chrome and may vary between runs. The
thresholds follow the same guidelines as Lighthouse and CrUX for consistency.
Number Value
Supports 1 or more records and displays the value (in the unit selected) as well as
the relative threshold for good
, needs to improve
, or poor
.
You can read more about thresholds in the Thresholds documentation.
If you use a single metric, you can use markdown content to render its label and explanation
LCP / Largest Contentful Paint
These all use `VARIABLE` for device/url meaning it will show what ever the user currently selects (phone or desktop, origin or exact page)
LCP / Largest Contentful Paint
You can render different metrics of the same record by using URL `VARIABLE`, and they will render a label above each.
Time To First Byte0.62sgood
First Contentful Paint3.79spoor
Largest Contentful Paint3.79sto improve
Interaction to Next Paint–
Cumulative Layout Shift0.02good
Or you can repeat the metrics for each of the URLs in a measurement by using URL `EACH_PAGE`.
Largest Contentful Paint3.79sto improve
[home]
Interaction to Next Paint–
[home]
Cumulative Layout Shift0.02good
[home]
Largest Contentful Paint3.79sto improve
[article]
Interaction to Next Paint–
[article]
Cumulative Layout Shift0.47poor
[article]
Or you can repeat for each of the runs in a measurement by using Run `EACH_RUN`.
Largest Contentful Paint2.53sto improve
[run 0]
Interaction to Next Paint–
[run 0]
Cumulative Layout Shift0.00good
[run 0]
Largest Contentful Paint4.05spoor
[run 1]
Interaction to Next Paint–
[run 1]
Cumulative Layout Shift0.02good
[run 1]
Largest Contentful Paint3.79sto improve
[run 2]
Interaction to Next Paint–
[run 2]
Cumulative Layout Shift0.02good
[run 2]
Or you can even repeat for each of the runs on each of the URLs in a measurement by using both `EACH_RUN` and `EACH_PAGE`.
Largest Contentful Paint2.53sto improve
[run 0 – home]
Interaction to Next Paint–
[run 0 – home]
Cumulative Layout Shift0.00good
[run 0 – home]
Largest Contentful Paint4.05spoor
[run 1 – home]
Interaction to Next Paint–
[run 1 – home]
Cumulative Layout Shift0.02good
[run 1 – home]
Largest Contentful Paint3.79sto improve
[run 2 – home]
Interaction to Next Paint–
[run 2 – home]
Cumulative Layout Shift0.02good
[run 2 – home]
Largest Contentful Paint1.78sgood
[run 0 – article]
Interaction to Next Paint–
[run 0 – article]
Cumulative Layout Shift0.47poor
[run 0 – article]
Largest Contentful Paint3.79sto improve
[run 1 – article]
Interaction to Next Paint–
[run 1 – article]
Cumulative Layout Shift0.47poor
[run 1 – article]
Largest Contentful Paint3.98sto improve
[run 2 – article]
Interaction to Next Paint–
[run 2 – article]
Cumulative Layout Shift0.47poor
[run 2 – article]
Time to First Byte (TTFB)
First Contentful Paint (FCP)
Largest Contentful Paint (LCP)
Interaction to Next Paint (INP)
Cumulative Layout Shift (CLS)