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

Optimization: Cache inspectpack information. #250

Open
3 tasks
ryan-roemer opened this issue May 24, 2018 · 0 comments
Open
3 tasks

Optimization: Cache inspectpack information. #250

ryan-roemer opened this issue May 24, 2018 · 0 comments

Comments

@ryan-roemer
Copy link
Member

The only really "expensive" thing that inspectpack does now is traverse a very limited set of node_modules directories to infer the dependency tree. We could cache this if large projects hit problems.

  • Decide if we need to do this. Get a reliable reproduction product to demonstrate the issue and confirm that inspectpack is responsible (e.g., the file i/o).
  • Design a caching solution either in webpack-dashboard and/or inspectpack
  • Handle disk changes in the node_modules tree. Could be as simple as documenting "always close and restart the dashboard when updating dependencies".
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

1 participant