Saves memory and CPU cycles when you run `composer update`
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore Init Jul 15, 2018
.travis.yml
README.md Update README.md Oct 18, 2018
composer.json

README.md

Optimize Composer for Drupal 8.5+ projects

Build Status Packagist

About

This composer-plugin contains set of improvements that makes running heavy duty composer commands (i.e. composer update or composer require) much faster.

Installation

composer require zaporylie/composer-drupal-optimizations:^1.0

No configuration required 🎊

Optimizations

(only one at the moment)

Benchmark

Following numbers are for clean https://github.com/drupal-composer/drupal-project/ without and with this plugin.

Before:

Memory usage: 304.16MB (peak: 876.79MB), time: 17.13s

After:

Memory usage: 218.72MB (peak: 250.44MB), time: 4.83s

Credits

  • Symfony community - idea and development; Special thanks to @nicolas-grekas
  • Jakub Piasecki - port and maintenance