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 the performance issue that test explorer will keep refreshing when opening a large project #533

Merged
merged 7 commits into from
Dec 20, 2018

Conversation

jdneo
Copy link
Member

@jdneo jdneo commented Dec 19, 2018

Fix #461

Root cause is described here: #461 (comment)

@jdneo jdneo added this to the 0.13.0 milestone Dec 19, 2018
@jdneo jdneo requested a review from yaohaizh December 19, 2018 09:42
src/extension.ts Outdated
}, null, context.subscriptions);

watcher.onDidCreate((uri: Uri) => {
if (testPathProvider.isInTestPaths(uri.fsPath)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not change the watcher path in the beginning? You should watch only the test folder?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, updated the code

@jdneo jdneo merged commit ba05786 into master Dec 20, 2018
@jdneo jdneo deleted the cs/performance2 branch December 20, 2018 08:14
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.

2 participants