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

fix: skipFiles being slow in remotes #1532

Merged
merged 1 commit into from
Jan 24, 2023
Merged

fix: skipFiles being slow in remotes #1532

merged 1 commit into from
Jan 24, 2023

Conversation

connor4312
Copy link
Member

Fixes microsoft/vscode#170412

We were not rebasing remote paths correctly in the initial launch, which caused the fallback logic to kick in and manually apply skipFiles to every single script (and recompile globs), which was quite slow.

And add a test that I wrote while barking up the wrong tree.

@@ -195,7 +200,7 @@ export class ScriptSkipper {
return true;
}

return this._testSkipAuthored(this._normalizeUrl(url));
Copy link
Member Author

@connor4312 connor4312 Jan 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an extraneous call I noticed, since this is already done 4 lines up

Fixes microsoft/vscode#170412

We were not rebasing remote paths correctly in the initial launch,
which caused the fallback logic to kick in and manually apply skipFiles
to every single script (and recompile globs), which was quite slow.

And add a test that I wrote while barking up the wrong tree.
@connor4312 connor4312 merged commit cf08889 into main Jan 24, 2023
@connor4312 connor4312 deleted the fix/remote-skipfiles branch January 24, 2023 00:39
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.

Unable to set breakpoints in Node Debugger with latest update
3 participants