← all repositories

nucliweb/webperf-snippets

A collection of tested JavaScript snippets for measuring and debugging web performance, runnable by AI agents, in a CLI, or in DevTools.

★1.5k stars JavaScript Coding Assistants
Collecting fresh signals — velocity needs a few days of history.
star history

WebPerf Snippets provides tested JavaScript snippets that measure Core Web Vitals and other performance metrics, each returning structured data under a shared schema. The same snippets run in the browser console, a CLI, a DevTools extension, and as Agent Skills for AI agents such as Claude Code. The fixed, CI-tested measurement code lets an agent reason about the results instead of writing measurement code itself.

Frequently asked

What is nucliweb/webperf-snippets?
A collection of tested JavaScript snippets for measuring and debugging web performance, runnable by AI agents, in a CLI, or in DevTools.
Is webperf-snippets open source?
Yes — nucliweb/webperf-snippets is open source, released under the MIT license.
What language is webperf-snippets written in?
nucliweb/webperf-snippets is primarily written in JavaScript.
How popular is webperf-snippets?
nucliweb/webperf-snippets has 1.5k stars on GitHub.
Where can I find webperf-snippets?
nucliweb/webperf-snippets is on GitHub at https://github.com/nucliweb/webperf-snippets.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.