analyze_compiler_efficacy
Evaluate React Compiler or manual React.memo by tracking spurious renders and calculating an Invalidation Index to identify unstable prop references causing wasteful renders.
Instructions
Evaluates React Compiler or manual React.memo efficacy by tracking spurious renders. Calculates the Invalidation Index for each component to identify where unstable prop references trigger wasteful renders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile_path | Yes | Absolute path to the React DevTools Profiler export (.json) | |
| invalid_threshold | No | Minimum invalidation index threshold to report (default: 10) |