Technology1 min read

Faster pnpm installs

By · Published by Everything Blog

In short

Vercel has optimized pnpm installation times for faster build processes. For Pro deployments with restored build cache, the average install time is now 14% lower with the optimization enabled. When dependencies are unchanged and the previous verification can be reused, installs can complete in milliseconds.

Key points

  • Vercel has optimized pnpm installation times for faster build processes.: Vercel has optimized pnpm installation times for faster build processes.
  • For Pro deployments with restored build cache, the average install time is now 14% lower…: For Pro deployments with restored build cache, the average install time is now 14% lower with the optimization enabled.
  • When dependencies are unchanged and the previous verification can be reused, installs can…: When dependencies are unchanged and the previous verification can be reused, installs can complete in milliseconds.

Sources checked by our analysis pipeline: 1

pnpm installs on Vercel are now faster, reducing the time spent installing dependencies before your build.

For Pro deployments with restored build cache, we observed 14% lower average install times with the optimization enabled.

Vercel now reuses successful dependency verification across deployments. In the best case, when dependencies are unchanged and the previous verification can be reused, installs can complete in milliseconds.

Before:

✓ Lockfile passes supply-chain policies (461 entries in 2.5s)Done in 2.8s using pnpm v12.3.4

After:

✓ Lockfile passes supply-chain policies (verified 58s ago)Done in 135ms using pnpm v12.3.4

This improvement is available on all plans and applies automatically, with no configuration required.

Original source: vercel.com

Technology