# Openwebf App Performance JS

> Measure and optimize WebF app performance from the JavaScript side (performance.mark/measure, bundle size, code splitting, debouncing, CSS transforms). Use when the user mentions performance.mark/measure, JS profiling, heavy JS work, bundle size, code splitting, debouncing, or animation performance.

- Skill: `majiayu000/openwebf-app-performance-js` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/openwebf-app-performance-js`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/openwebf-app-performance-js/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/openwebf-app-performance-js

---


# OpenWebF App: Performance (JavaScript Side)

## Instructions

1. Establish a measurement baseline (prefer production builds for accuracy).
2. Add minimal instrumentation (`performance.mark/measure`) around suspected hot paths.
3. Apply high-leverage best practices:
   - reduce sync work on critical path
   - debounce expensive operations
   - split bundles and monitor size
4. Use MCP docs for recommended practices and code snippets.

If the user’s question is primarily about host-side FP/FCP/LCP wiring or `dumpLoadingState`, prefer `openwebf-host-performance-metrics`.

More:
- [reference.md](reference.md)
- [doc-queries.md](doc-queries.md)
- [examples.md](examples.md)

