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

extremely slow while expand folders containing massive items #74

Open
Abyss116 opened this issue Nov 25, 2016 · 2 comments
Open

extremely slow while expand folders containing massive items #74

Abyss116 opened this issue Nov 25, 2016 · 2 comments

Comments

@Abyss116
Copy link

It seems the atomPerforce.fileIsTracked which queries fstat caused an extremely slow response(blocking) while expand folders containing massive items source controlled.

@mattsawyer77
Copy link
Owner

@Abyss116 are you sure fileIsTracked is causing issues? It's not blocking anything and should only be called for the file in the current buffer.

Seems more likely that markOpenFiles could be problematic since it watches the tool-panel for changes and has some blocking DOM inspection calls. If this is the problem, we could add a setting to disable the tool-panel style decorations for this kind of slow environment.

@Abyss116
Copy link
Author

@mattsawyer77 I'm not sure. Makes sense if that's caused by markOpenFiles if there're thousands of files in the directory tree. Add a setting for disabling the style decorations sounds perfect. Thanks.

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

No branches or pull requests

2 participants