by tsavo42 · 1y ago · 0 comments
Actual measured results:
• pnpm: 50-60% faster installs than npm, 78% less disk space • Monorepo installs: npm (4m30s) vs Yarn (2m45s) vs pnpm (1m20s) • Memory usage: pnpm (80-120MB) vs npm (150-200MB) • With 50 projects: npm uses 15GB, pnpm uses 3.2GB
Real-world impact: - 20-30% reduction in CI/CD pipeline costs with pnpm - Fresh installs: 30-40 seconds (pnpm) vs 60-80 seconds (npm)
The disk space savings are the real game-changer. We have developers with 50+ projects locally, and pnpm saves ~12GB per developer.
Caveats: - Some older tools have issues with pnpm's symlink approach - npm has better compatibility with legacy projects - Yarn with PnP can be even faster but has more compatibility issues
Has anyone successfully migrated large monorepos to pnpm? We're seeing great results but curious about edge cases others have hit.
No comments yet.