Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Plugins globbing for files can be slow #13

Open
nathankleyn opened this issue Sep 22, 2015 · 0 comments
Open

Plugins globbing for files can be slow #13

nathankleyn opened this issue Sep 22, 2015 · 0 comments
Labels

Comments

@nathankleyn
Copy link
Contributor

Plugins currently register their intent to hook into a project through the use of globs:

class TestPlugin < Plugin
  projects '**/Gemfile'
end

However, this causes every plugin to traverse the directory tree of the Shanty project over and over again, leading to things being quite slow.

Plugins should share a pre-calculated directory tree which they can glob, avoiding disk access.

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

No branches or pull requests

1 participant