pocket-nexus/pocketjs/pocketjs-psp-benchmark
Claude Code and agent skill by pocket-nexus/pocketjs
- community
Checking that the SKILL.md file is still in the repository.
Benchmark PocketJS demos on PSP or PPSSPP, including per-frame timing, renderer phase costs, bundle and pak sizes, arena high-water memory, and minimum passing arena scans. Use when asked to profile PSP performance, compare demo frame budgets, measure memory headroom, find the minimum safe heap for demos, or preserve benchmark evidence in dist/bench.
Install
npx vskill@latest install pocket-nexus/pocketjs/pocketjs-psp-benchmarkSKILL.md
The same SKILL.md was published earlier as pocket-nexus/pocketjs/pocketjs-psp-benchmark.
PocketJS PSP Benchmark
Overview
Use this skill to produce repeatable PocketJS PSP benchmark evidence instead of ad hoc emulator runs. Prefer tools/bench-ppsspp.ts for local PPSSPP measurements; use tools/hw.ts only when the user explicitly asks for real PSP hardware proof.
Standard Workflow
- Confirm the worktree is on the intended branch and inspect local changes with
git status --short --branch. - Confirm host dependencies before long runs:
- Run a focused benchmark while iterating:
- Run the full suite and memory scan for release-quality evidence:
- For a cross-framework comparison (Solid vs Vue Vapor vs Octane), pass a
framework axis; the first framework is the ratio baseline and --bootstrap=N adds 95% percentile CIs to the geomean ratios:
The summary JSON then nests per-framework metrics (apps[app][framework]) and adds a comparison block; --memory-scan stays single-framework. Render the matrix chart with bun tools/bench-chart.ts <summary.json> <out.svg>.
- Preserve the generated evidence paths from
dist/bench/in the final answer, PR body, or handoff. The.jsonfile is authoritative; the.mdfile is for human review;.raw.jsonlkeeps per-sample and memory-probe records.
Memory Scans
Use --memory-scan when the user asks for minimum memory, heap headroom, safe arena sizing, or whether all demos fit. The runner first measures uncapped arena high-water, then probes capped POCKETJS_ARENA_BYTES values in --memory-step-kib increments. The reported suite requirement is the maximum safe arena across selected apps.
Default safety policy is:
Override it only when the user specifies a different margin:
Interpreting Results
Use avg_work_us against the 60 Hz budget of about 16667us. max_work_us can spike on transitions, but a sustained average over budget is a performance finding.
Use arena_bump_bytes as the allocator high-water for the run. Use min_pass_arena_bytes as the probed lower bound at the configured step size, and safe_arena_bytes as the answer when the user asks for a minimum with safety margin.
Read references/metrics.md when you need field definitions, caveats, or exact wording for a benchmark report.
Reporting
Always include:
- command run
- report path
- selected apps and sample count
- PPSSPP revision and git revision from the report
- suite safe arena when
--memory-scanwas used - any app whose
avg_work_usexceeds the frame budget
Do not claim real hardware proof from a PPSSPP run. State PPSSPP evidence as emulator evidence unless tools/hw.ts or a real PSP run was actually used.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pocketjs-psp-benchmark/SKILL.md
Popularity
- Repository stars
- 1,692
- Repository forks
- 98
- 7-day trend score
- 37
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pocket-nexus/pocketjs/pocketjs-psp-benchmark)