Published on

Composer 2 performance tests – Shopware & TYPO3

Authors

Composer 2 has been announced as significantly faster than Composer 1.x. I benchmarked both versions on two real‑world setups and saw big improvements that already make day‑to‑day work more pleasant.

Test setup

  • Shopware 6.3 Production Template (6.3 branch)
  • TYPO3 CMS Core (dev) + 5 custom extensions
  • Composer caches pre-warmed (all tests run twice) so dependency resolution dominates (not network)

Hardware and environment were kept identical between runs; measurements were taken locally with warm caches.

Commands executed

For both projects and both Composer versions (1.10 vs. 2.0), I ran the typical workflow commands and recorded elapsed times:

  • composer install
  • composer update
  • composer dump-autoload -o

Tip: For stable measurements, repeat runs at least twice and look at the last result with a warm cache.

Results (summary)

  • Composer 2 consistently outperformed Composer 1.10 across both projects
  • The biggest gains were in dependency resolution (update/install)
  • Autoload dumping showed smaller but still noticeable improvements

While exact numbers vary per machine and dependency graph, the overall trend is clear: Composer 2 feels much snappier, especially for update.

Notes & recommendations

  • Upgrade to Composer 2 for day‑to‑day work — it’s a noticeable productivity boost
  • Keep caches warm in CI/CD where possible (cache ~/.composer/cache)
  • Audit plugins for Composer 2 compatibility (most popular ones support it)