Measure performance

Measure performance in JavaScript — with the four heights of help laid out: do it now, make it easier for the next person to accept, work out the right move when you are stuck, and learn the pattern so it stops coming back.

4prompt heights
Open it in the interactive atlas →

The four heights

The same task, four distances: today's deadline, the next reviewer, the stuck moment, the pattern.

Execute — do the immediate task

+
I need the page load and API timings for the new dashboard component measured end-to-end; run…
I need the page load and API timings for the new dashboard component measured end-to-end; run Lighthouse and the browser timing suite against the dashboard route, capture First Contentful Paint, Time to Interactive, and API RTTs for the authenticated endpoints, and hand me a short list of the three slowest requests to fix before Tuesday's demo.

Improve — make it easier to accept

+
Before I hand this to the performance team, make the measurements reviewer-friendly: put the key…
Before I hand this to the performance team, make the measurements reviewer-friendly: put the key metrics (FCP, TTI, Largest Contentful Paint) at the top, include a short explanation of the test environment (Chrome stable, throttling: 4x CPU, 1x network), and highlight any requests or scripts that add more than 300ms to interactive time. Flag any single script over 50 KB parsed size.

Decide — diagnose the stuck moment

+
Users reported the dashboard feels sluggish only on older laptops; I ran traces in staging and saw…

Dashboard feels sluggish for some users

Users reported the dashboard feels sluggish only on older laptops; I ran traces in staging and saw TTI jump from 1.2s to 3.8s on those devices. I don't know whether heavy parsing, main-thread work, or network congestion is the main culprit. Which diagnostic should I run next to pinpoint the dominant cause and what exact metric will show it?

Become — change the pattern

+
Every release I find myself firefighting a single slowdown that slipped past review and cost a…

Performance regressions appear late in the sprint

Every release I find myself firefighting a single slowdown that slipped past review and cost a hotfix. I repeatedly wait until the demo to notice regressions. Where am I most likely failing in our review process and what single habit change would prevent these last-minute performance surprises?

Next to this one

Other programming language work people do in JavaScript.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.