OpenWebF App: Performance (JavaScript Side)
Instructions
- •Establish a measurement baseline (prefer production builds for accuracy).
- •Add minimal instrumentation (
performance.mark/measure) around suspected hot paths. - •Apply high-leverage best practices:
- •reduce sync work on critical path
- •debounce expensive operations
- •split bundles and monitor size
- •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: