Skip to content
Back to skills

Threejs Perf

ASecurity

Profile a three.js or WebGL page from a coding agent - frame time (fps), draw calls, triangles and asset size against a budget, and which objects or settings cost the frame. Use when it stutters, has low fps or loads slowly. paprika3d's perf tool.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsjavascriptjavaperformance

Works with

  • mcp

Security analysis

A100/100

Scanned November 23, 2026

npx -y skills add Keeno-Corp/paprika3d --skill threejs-perf --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Threejs Perf?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Threejs Perf
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/keeno-corp-threejs-perf/badge)](https://www.skillsdirectory.com/skills/keeno-corp-threejs-perf)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: threejs-perf
description: Profile a three.js or WebGL page from a coding agent - frame time (fps), draw calls, triangles and asset size against a budget, and which objects or settings cost the frame. Use when it stutters, has low fps or loads slowly. paprika3d's perf tool.
---

# Profile a three.js page

After `open`, `perf` measures the frame against a budget (`desktop` by default; `site` for a 3D website, which also times the first scene frame and counts script and asset megabytes):

- `costs: true` lists triangles, shadow casters, draw calls and texture megabytes by named group.
- `variants` measures each change on a fresh page against the baseline in one call: `{ label: "no trees", hide: ["trees"] }`, a `pixelRatio`, `code` run with `renderer` and `scene`, or a `query` read at load.
- `throttle: 4` slows the page's JavaScript as on a weak laptop.
- `network` (also on `open`) times a cold load before the sample: `"broadband"` (20 Mbps / 40 ms, the target), Chrome's `"fast-4g"`, `"slow-4g"`, `"3g"`, or `{ downKbps, upKbps, latencyMs }`. Under a software renderer judge only the bytes, not the time.

`perf` with `optimize: true` is for a frame `perf` says is over budget, or a user who asks about performance: it tries the `@paprika3d/three-runtime` switches, keeps those that help (a kept `resolution` or `lod` may change the picture and is then marked `lookChanged`) and writes `game-runtime.json` (`../threejs-game/references/optimize.md`).

A `Slow start` line, or a page slow to its first frame, is usually shader compiles: draw a plain first frame, then add each effect (shadows, `foliage()`, `water()`, `post()`, ...) in its own `renderer.compileAsync` batch (`../threejs-game/references/optimize.md`, Load time).

If `open` and `perf` are not among your tools, the paprika3d MCP server is not installed: it runs as `npx -y paprika3d serve` (stdio), and https://paprika3d.com/docs/install?ref=skill has each agent's line.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.