Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[compiler] Add simple walltime measurement #32331

Merged
merged 1 commit into from
Feb 7, 2025
Merged

[compiler] Add simple walltime measurement #32331

merged 1 commit into from
Feb 7, 2025

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.

3 participants