Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Bun runtime on Vercel Functions

Vercel News·Tom Lienard·4 days ago
#xJPAbW1h
#vercel#runtime#node#across#time#article
Reading 0:00
15s threshold

We now support Bun as a runtime option for Vercel Functions , available in Public Beta. You can choose between Node.js and Bun for your project, configuring runtime behavior based on workload. We're working closely with the Bun team to bring this capability to production. This flexibility allows you to choose what works best for your use case. Use Node.js for maximum compatibility or switch to Bun for compute-intensive applications that benefit from faster execution. Through internal testing, we've found that Bun reduced average latency by 28% in CPU-bound Next.js rendering workloads compared to Node.js. These gains come from Bun's runtime architecture, built in Zig with optimized I/O and scheduling that reduce overhead in JavaScript execution and data handling. Link to heading How to use the Bun runtime The Bun runtime is currently supported for Next.js , Express , Hono , and Nitro , with support for additional frameworks coming soon.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More