Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #23086 [FrameworkBundle] Fix perf issue in CacheClearCommand::war…
…mup() (nicolas-grekas) This PR was merged into the 2.7 branch. Discussion ---------- [FrameworkBundle] Fix perf issue in CacheClearCommand::warmup() | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - On slow file systems (eg on Windows), I noticed that writing files without doing any changes just kills perf. Limiting the depth also helps when the symfony/cache component is used (because it can store thousands of files in its cache pool directory structure, and iterating there is also a waste of *fs* time). I choose the max depth by looking at where existing apps put their files and added one level more just in case. Commits ------- b58f060 [FrameworkBundle] Fix perf issue in CacheClearCommand::warmup()
- Loading branch information