Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Investigate populating the fs cache with fs watcher data #127

Open
markfinger opened this issue Jul 12, 2016 · 1 comment
Open

Investigate populating the fs cache with fs watcher data #127

markfinger opened this issue Jul 12, 2016 · 1 comment

Comments

@markfinger
Copy link
Owner

Re: #88 #122

When file watchers start, they crawl the targeted parts of the file system and generate a lot of data, some of which could be fed directly into the fs cache.

The primary benefit would be reducing the overheads on fs reads for stat, modifiedTime and isFile calls. Practically, this would help to reduce the time spent on dependency resolution during an initial build.

@markfinger
Copy link
Owner Author

markfinger commented Jul 12, 2016

I started to implement some hooks for this, but removed them in 1b24b8d

My primary concern was the increasing complexity of the various fs abstractions, and their interactions with one another.

I still think this is worth pursuing, but not until the project (and in particular the file_system module) has stabilised.

@markfinger markfinger mentioned this issue Jul 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant