Skip to content

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

Merged
dsherret merged 5 commits into
mainfrom
fix_avoid_node_process_report
Jan 23, 2025
Merged

perf: avoid calling process.report.getReport() on startup#99
dsherret merged 5 commits into
mainfrom
fix_avoid_node_process_report

Conversation

@dsherret

@dsherret dsherret commented Jan 23, 2025

Copy link
Copy Markdown
Member

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 jakebailey@users.noreply.github.com

@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
@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 <jakebailey@users.noreply.github.com>
@dsherret

Copy link
Copy Markdown
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