Optimize Composer for Drupal 8.5+ projects
This composer-plugin contains set of improvements that makes running heavy duty composer commands (i.e.
composer update or
composer require) much faster.
composer require zaporylie/composer-drupal-optimizations:^1.0
No configuration required
- Reduce memory usage and CPU usage by removing legacy symfony tags (see also https://github.com/symfony/flex/pull/378)
(only one at the moment)
Following numbers are for clean https://github.com/drupal-composer/drupal-project/ without and with this plugin.
Memory usage: 304.16MB (peak: 876.79MB), time: 17.13s
Memory usage: 218.72MB (peak: 250.44MB), time: 4.83s
- Symfony community - idea and development; Special thanks to @nicolas-grekas
- Jakub Piasecki - port and maintenance