Skip to content

Conversation

@zhengbli
Copy link
Contributor

Issue: the current polling file watching can result in long wait time for large watched file set. For example, for >120 watched files it takes ~10s to get the changes.

The new parameters would wait 1.5s each time, and process at most 100 files. It takes at most 3s to detect changes for a project of 200 files. As an average async stat takes about 30 microsecond, the overhead of each polling is 100*(30 microsecond) = 3 millisecond. However for a smaller project size, the overhead is determined by the numebr of files in the project.

@zhengbli
Copy link
Contributor Author

Pinging @vladima

Copy link
Contributor

Choose a reason for hiding this comment

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

add parameter names via /*...*/

@zhengbli zhengbli closed this Dec 15, 2015
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants