Skip to content

perf: avoid calling process.report.getReport() on startup #99

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

Merged
merged 5 commits into from
Jan 23, 2025

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Jan 23, 2025

As discovered and diagnosed by @jakebailey. The process.report.getReport() call takes several seconds on WSL probably due to vscode proxying all of node's networking code.

Co-authored-by: Jake Bailey [email protected]

@dsherret dsherret changed the title fix: avoid calling process.report.getReport() on startup perf: avoid calling process.report.getReport() on startup Jan 23, 2025
@dsherret dsherret merged commit 3826838 into main Jan 23, 2025
1 check passed
@dsherret dsherret deleted the fix_avoid_node_process_report branch January 23, 2025 19:17
dsherret added a commit that referenced this pull request Jan 23, 2025
As discovered and diagnosed by @jakebailey. The `process.report.getReport()` call takes several seconds on WSL probably due to vscode proxying all of node's networking code.

Co-authored-by: Jake Bailey <[email protected]>
@dsherret
Copy link
Member Author

Relanded in ee4bd1e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant