Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Unpacking Cloudflare Workers CPU Performance Benchmarks

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Kenton Varda
Word Count
4,587
Company Posts That Month
30
Language
English
Hacker News Points
-
Post removed?
No
Summary

On October 4, independent developer Theo Browne published benchmarks comparing server-side JavaScript execution speeds between Cloudflare Workers and Vercel, revealing Cloudflare Workers initially performed worse than Node.js on Vercel by up to 3.5 times. Both platforms use the V8 JavaScript engine, leading to initial surprise at the results, but further investigation uncovered issues related to infrastructure tuning, JavaScript library differences, and benchmarking methodology. Cloudflare addressed these by optimizing routing algorithms, adjusting V8 garbage collector settings, and collaborating on improvements with the OpenNext project, leading to significant performance gains. While some disparities remain, particularly with Next.js, Cloudflare is committed to ongoing improvements and has begun submitting patches to enhance performance for everyone, including contributions to V8 and Node.js. The exercise highlighted the intricacies of benchmarking and the importance of representative testing, prompting Cloudflare to encourage developers to share benchmarks that might indicate performance issues, ensuring continued enhancements across platforms.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 3 6,551 1,245 236 +61%
Serverless 3 880 235 92 +5%
Observability 1 2,329 478 136 +59%
Vector Search 1 1,589 336 137 +6%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.