React Compiler Optimization Profiles

Deep dive into the React Compiler (formerly React Forget) to tune automatic memoization and optimization profiles.

majiayu000 Updated 567 repo stars

File contents

React Compiler Optimization Profiles

Summary

Deep dive into the React Compiler (formerly React Forget) to tune automatic memoization and optimization profiles.

Key Capabilities

  • Analyze compiler output to verify memoization boundaries.
  • Identify distinct optimization de-opt bailouts.
  • Configure compiler passes for specific code patterns.

PhD-Level Challenges

  • Quantify the overhead of compiler-injected memoization slots.
  • Construct cases where manual memoization outperforms the compiler.
  • Analyze the impact of compiler optimizations on cold-start time.

Acceptance Criteria

  • Provide compilation reports for critical components.
  • Demonstrate a reduction in manual useMemo usage.
  • Document de-optimization triggers discovered.

majiayu000/claude-skill-registry-data/tree/main/data/react-compiler-optimization-profiles commit b223c1c4a5

Frequently asked questions

npx skillmds@latest add majiayu000/react-compiler-optimization-profiles