You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ignore options to local preview still stat and process all files in the working tree. In large monorepo or projects with many ignored files, node_module being one common example, just processing the matchFn from GetIgnoreMatcherFn takes most of the time. It looks like the matcher support was added in a fork of archiver here.
One option I see is to change it to return SkipDir in the WalkFunc` if we are skipping a directory. I have tested this out for my example and with #288 the time to create the archive has gone from minutes to milliseconds. If this seems like a good solution to you I can send some PRs.
The text was updated successfully, but these errors were encountered:
The ignore options to local preview still stat and process all files in the working tree. In large monorepo or projects with many ignored files, node_module being one common example, just processing the
matchFn
fromGetIgnoreMatcherFn
takes most of the time. It looks like the matcher support was added in a fork of archiver here.One option I see is to change it to return
SkipDir in the
WalkFunc` if we are skipping a directory. I have tested this out for my example and with #288 the time to create the archive has gone from minutes to milliseconds. If this seems like a good solution to you I can send some PRs.The text was updated successfully, but these errors were encountered: