Skip to content

Conversation

@poteto
Copy link
Member

@poteto poteto commented Feb 7, 2025

Adds a new Timing logger event to the compiler which currently only records the walltime of running the compiler from the time the babel plugin's Program visitor enters to the time it exits.

To enable, run the compiler with ENABLE_REACT_COMPILER_TIMINGS=1 ... or export ENABLE_REACT_COMPILER_TIMINGS=1 to set it by default.

Adds a new Timing logger event to the compiler which currently only records the walltime of running the compiler from the time the babel plugin's Program visitor enters to the time it exits.

To enable, run the compiler with `ENABLE_REACT_COMPILER_TIMINGS=1 ...` or `export ENABLE_REACT_COMPILER_TIMINGS=1` to set it by default.
@poteto poteto merged commit 989b0cc into main Feb 7, 2025
22 of 23 checks passed
@poteto poteto deleted the pr32331 branch February 7, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants