diff --git a/src/Composer/DependencyResolver/PoolBuilder.php b/src/Composer/DependencyResolver/PoolBuilder.php index 8ca7050fd..69769ca7f 100644 --- a/src/Composer/DependencyResolver/PoolBuilder.php +++ b/src/Composer/DependencyResolver/PoolBuilder.php @@ -287,6 +287,8 @@ class PoolBuilder $this->skippedLoad = array(); $this->indexCounter = 0; + $this->io->debug('Built pool.'); + $pool = $this->runOptimizer($request, $pool); Intervals::clear(); @@ -690,6 +692,9 @@ class PoolBuilder return $pool; } + $this->io->debug('Running pool optimizer.'); + + $before = microtime(true); $total = \count($pool->getPackages()); $pool = $this->poolOptimizer->optimize($request, $pool); @@ -700,6 +705,7 @@ class PoolBuilder return $pool; } + $this->io->write(sprintf('Pool optimizer completed in %.3f seconds', microtime(true) - $before), true, IOInterface::VERY_VERBOSE); $this->io->write(sprintf( 'Found %s package versions referenced in your dependency graph. %s (%d%%) were optimized away.', number_format($total),