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
Actual behavior
Snapshotting FS should for a Node js project with npm install command should be faster than current.
Expected behavior
Looks like TakeSnapshotFS is a bottleneck for projects with huge number of files.
e.g .for a project with file count 800K, the TakeSnapshotFS takes almost 15-20 mins.
After some investigation, i found out we loop over files multiple times. In this PR, we are reducing the number of times we loop over the files.
The text was updated successfully, but these errors were encountered:
I am facing this issue as well. this step takes the most number of cycles in my builds. optimizing this will greatly reduce the build time of ALL my images.
Actual behavior
Snapshotting FS should for a Node js project with
npm install
command should be faster than current.Expected behavior
Looks like
TakeSnapshotFS
is a bottleneck for projects with huge number of files.e.g .for a project with file count 800K, the
TakeSnapshotFS
takes almost 15-20 mins.After some investigation, i found out we loop over files multiple times. In this PR, we are reducing the number of times we loop over the files.
The text was updated successfully, but these errors were encountered: