WebPerf Snippets started as a collection of snippets to paste into the DevTools console. With version 2.0, they are also built for AI agents to run webperf-snippets.net 🧵 #WebPerf #AI
Post
webperf-snippets.netWebPerf SnippetsTested JavaScript snippets that measure and debug web performance. Your AI agent runs them for you, or you run them yourself in DevTools: the same code every time.
That shared contract (status, value, rating, issues) is why this is a major version: if you read the output from code, some fields have changed. 56 snippets, 7 of them new: compression, Early Hints, Speculation Rules, third-party impact by domain, and more.
0 reposts0 likes
The CLI reaches 1.0: audit, loading and interaction workflows, CrUX data, and a GitHub Action with LCP and CLS budgets. `npx webperf-snippets example.com` webperf-snippets.net/CLI #CLI
Also new: 17 interactive demos, the browser support of each snippet, and a DevTools extension in beta. webperf-snippets.net/extension
And a new domain: webperf-snippets.net If you try it, I'd like to hear what's missing
webperf-snippets.netWebPerf SnippetsTested JavaScript snippets that measure and debug web performance. Your AI agent runs them for you, or you run them yourself in DevTools: the same code every time.