Skip to content
Cloudflare

Unpacking Cloudflare Workers CPU Performance Benchmarks

Oct 14, 2025Kenton Varda22 min read
Opens blog.cloudflare.com
What the post coversAI, from the source post

This post details the investigation and resolution of performance disparities in Cloudflare Workers benchmarks compared to Vercel.

  • Key contributions include: 1.
  • Updating the scheduling algorithm to better handle CPU-bound workloads by spinning up new isolates faster, ensuring that billing accurately reflects CPU time and not scheduling delays.
  • 2.
  • Tuning the V8 garbage collector by allowing more dynamic young generation sizing, leading to an approximate 25% performance boost for benchmarks and other Workers.
  • 3. Optimizing the OpenNext adapter for Next.js by reducing unnecessary data buffer copies and improving stream handling, addressing a significant portion of the remaining performance gap.
Read the full post on blog.cloudflare.com · 22 min (opens in a new tab)

More from the Edge Computing with Cloudflare Workers trail