Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

I tried to benchmark bun, but I think my testing was bad

2.6K views
•
July 11, 2022
by
Web Dev Cody
YouTube video player
I tried to benchmark bun, but I think my testing was bad

TL;DR

Bun shows faster response times than Node but lacks stability.

Transcript

all right how's it going everyone so i want to have a little video to talk about bun and kind of talk about how much faster is bun than using node there's a lot of hype on youtube right now about this library um or sorry this runtime and i just wanted to kind of verify is this actually that much faster or is there just a lot of hype going on so i k... Read More

Key Insights

  • 😒 Bun is currently in beta and has not yet proven to be reliable for production use.
  • 💨 The author's tests suggest that while Bun can be faster in some response time scenarios, Node.js generally performs better under sustained load.
  • 😥 The video points out discrepancies in error rates, with Node experiencing fewer failures than Bun when subjected to heavy traffic.
  • 🤨 Bun's dependency on the JavaScript core runtime rather than the V8 engine raises compatibility questions, especially with well-established frameworks.
  • 🌍 Performance claims surrounding Bun may be exaggerated, and further testing is necessary to validate its real-world capabilities.
  • 😮 The exploration of Bun's benchmarking is crucial for developers considering new technologies amidst the rise of numerous high-performance runtimes.
  • ❓ Future improvements and developments in Bun could enhance JavaScript performance, but its current state suggests caution.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is Bun, and why is it generating buzz?

Bun is a JavaScript runtime that claims to provide better performance than Node.js. It has gained attention for its promise of faster code bundling and module handling. However, as it is still in beta, its capabilities and reliability remain in question, prompting developers to compare it extensively with existing technologies like Node.

Q: How did the author conduct their performance testing between Bun and Node?

The author used Artillery, a load-testing tool, to simulate requests against both a Bun and a Node server, each set up to return a simple "hello world" response. Through running different scenarios, they monitored the servers' ability to handle requests and compared metrics such as response times and error rates.

Q: What were the key findings regarding response times between Bun and Node?

The author found that Bun has a median response time of about 13.1 milliseconds, slightly faster than Node's 15 milliseconds. However, when looking at percentiles for higher loads (p95, p99), Node showed better performance and fewer errors, indicating more stability under pressure.

Q: Should developers use Bun for production applications right now?

Developers are advised against using Bun for production environments, as it is still in beta with many bugs and compatibility issues, particularly with popular libraries like Express. It is recommended that beginners focus on established technologies such as Node.js until Bun matures further.

Summary & Key Takeaways

  • The video examines the performance of the Bun runtime compared to Node.js, exploring current benchmarks and results from load tests.

  • The author highlights concerns about Bun's readiness for production, emphasizing that it is still in beta and may have many bugs.

  • Despite some speed advantages in response times, Node.js demonstrates better stability and lower failure rates under load tests.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Web Dev Cody 📚

Live Coding a Shopping Cart using React thumbnail
Live Coding a Shopping Cart using React
Web Dev Cody
I got my first DDoS (and what you can do to help prevent it) thumbnail
I got my first DDoS (and what you can do to help prevent it)
Web Dev Cody
How Does the MacBook Air M1 Compare for Coding? thumbnail
How Does the MacBook Air M1 Compare for Coding?
Web Dev Cody
How I'm doing authentication on my simple Go app (with Fiber) thumbnail
How I'm doing authentication on my simple Go app (with Fiber)
Web Dev Cody
How I setup pagination in my Next.js app (with Drizzle ORM) thumbnail
How I setup pagination in my Next.js app (with Drizzle ORM)
Web Dev Cody

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.