npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gpu-perf-agent

v2.1.0

Published

Agent-oriented WebGPU/WebGL performance, memory, trace, and regression diagnostics.

Readme

GPU Performance Agent

GPU Performance Agent — Make fast measurable.

Profile WebGPU and WebGL apps from your terminal. Get useful diagnostics, compare changes, and give your coding agent real measurements to work with.

Website · npm · Full reference · Agent skill

One command. A useful report.

Start your app, then point the profiler at it:

npx gpu-perf-agent agent --url http://localhost:5173 --out reports/base.json

A short digest lands in your terminal. Full measurements are saved to JSON. No changes to your app required.

Requires Node.js 22+ and Chrome/Chromium. The default runner has zero required npm dependencies. Check your setup with npx gpu-perf-agent doctor --quick.

What you get

  • Find expensive work. Frame pacing, slow frames, draw calls, declared GPU allocations, and actionable warnings.
  • Check whether a change helped. Before/after comparisons, confidence intervals, and regression budgets.
  • Keep agents focused. Compact output, structured JSON, a bundled skill, and a built-in MCP server.
  • Iterate without the startup tax. Reuse Chrome while each capture gets an isolated browser context.

Make a change. Measure it again.

Capture the candidate with the same settings, then compare:

npx gpu-perf-agent agent --url http://localhost:5173 --out reports/candidate.json
npx gpu-perf-agent compare --base reports/base.json --candidate reports/candidate.json --agent

The comparison reports regressions, improvements, and inconclusive results. Invalid measurements are flagged explicitly. Exit codes: 0 valid / passing, 1 regression or command error, 2 invalid or incompatible evidence.

For more confidence, use interleaved A/B runs or enforce a performance budget.

Pick your workflow

| You want to… | Use | | --- | --- | | Inspect a visual report | npx gpu-perf-agent agent --url http://localhost:5173 --html | | Profile a static build | npx gpu-perf-agent agent --file dist/index.html --file-root dist | | Get machine-readable output | Add --json | | Connect an MCP client | npx gpu-perf-agent mcp | | Keep Chrome ready for repeated jobs | npx gpu-perf-agent serve --port 9099 --auto-instrument |

For the persistent server, add --server http://127.0.0.1:9099 to your capture command. Use the Node API to integrate directly, or the agent skill to teach your assistant the workflow.

Know what you’re measuring

Frame timing observes browser cadence. GPU duration needs timing hooks. Allocation tracking estimates declared storage, not physical VRAM residency. Compare the same scene and capture settings; use more samples when results are inconclusive.

Read the full reference →


What’s new · Measured tool overhead · Examples · MIT license