profile-browsing

Profile Web Vitals and React rerenders across routes via Playwright subagents.

1|1|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/bitsocialnet/bitsocial-web --skill profile-browsing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: profile-browsing
Source: https://github.com/bitsocialnet/bitsocial-web/tree/main/.cursor/skills/profile-browsing
Command: npx skills add https://github.com/bitsocialnet/bitsocial-web --skill profile-browsing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Profile app performance by measuring Web Vitals and React rerenders to identify bottlenecks and optimize user-perceived load times.

Core Features & Use Cases

  • Two-layer profiling that covers browser-level symptoms (Web Vitals, long tasks, layout shifts) and React-level diagnosis (commit counts, render bursts, per-component render data).
  • Orchestrates parallel profiler subagents via playwright-cli to collect navigation timing, tasks, and per-route metrics across multiple sessions.
  • Use Case: profile complex routes to diagnose excessive rerenders and slow interactions, then optimize components and data flows.

Quick Start

Start exactly one dev server and run the profiler across the desired routes using the predefined batch plan.

Frequently Asked Questions about profile-browsing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I profile React rerenders and Web Vitals to find performance bottlenecks?

Profile app performance by measuring Web Vitals and React rerenders to identify bottlenecks. The profiler targets development and QA, diagnosing slow navigations, long tasks, and excessive rerenders across complex routes to optimize user-perceived load times.

Can I measure per-route performance metrics across multiple browser sessions?

Yes, you can measure per-route metrics across multiple sessions. The profiler orchestrates parallel playwright subagents to collect navigation timing, long tasks, and per-view metrics, reading react-scan data to diagnose slow interactions across routes.

What's the best way to diagnose slow navigations and excessive React component rerenders?

The best way to diagnose slow navigations and excessive rerenders is using a two-layer profiling approach. It covers browser-level symptoms like Web Vitals and layout shifts, plus React-level diagnosis including commit counts, render bursts, and per-component render data.

Do I need a dev server running to start profiling browsing performance?

Yes, you need exactly one dev server running to start profiling. Once the dev server is active, you run the profiler across desired routes using the predefined batch plan to collect navigation timing and per-view metrics for analysis.

Does this profiling approach work with Playwright for collecting navigation timing and long tasks?

Yes, it works with Playwright by coordinating browser sessions via playwright subagents. These subagents collect navigation timing, long tasks, and per-route metrics across multiple sessions to export per-view metrics for performance analysis.

When should I use end-to-end browsing performance profiling instead of manual inspection?

Use end-to-end browsing performance profiling when you need to diagnose complex routes with slow navigations, long tasks, or excessive rerenders. It coordinates parallel subagents to measure Web Vitals and React commits that manual inspection cannot easily capture.