Benchmarking Hono vs Express.js with a real world app

Published: 06 April 2025
on channel: Nick Olson Codes
450
23

🚀 Hono vs Express.js – Real World Benchmarking! ⚡
Is Hono really faster than Express.js? Today, I’m running real-world benchmarks to find out — not just lab tests or cherry-picked routes. We’re going deep with 100 routes, Zod validation, and SQLite database operations to compare performance where it actually matters.

📊 In this video:
I break down the claims on the official Hono benchmarks
Build identical Express and Hono apps with realistic routing
Add Zod validation and database reads/writes
Benchmark using Autocannon with 100 concurrent connections
Compare requests per second across four realistic endpoints
Analyze the results in a Google Sheet side-by-side
Reveal the true performance gap between Hono and Express.js

🏁 Spoiler: Hono is faster... but is it 10x faster like they claim? Watch to find out.

🧪 Benchmark Details:
GET /hello – Simple response
GET /books – Zod-validated query with DB read
GET /books/:id – URL param with validation and DB read
POST /books – Validated input with DB write
All routes hidden behind 100 decoy routes to simulate production complexity

🔗 Source Code:
👉 https://github.com/naolson2025/expres...
👉 https://github.com/naolson2025/hono-s...

🛠 Tools Used:
Express.js
Hono (Edge-ready web framework)
Zod (for validation)
SQLite (with Faker-generated data)
Autocannon (for performance testing)
VS Code REST Client

👍 If this helped you, please Like and Subscribe to support the channel!
💬 Got an idea for the next tutorial? Drop a comment below!
📣 Stay tuned for more real-world dev experiments and tutorials.

#HonoJS #ExpressJS #JavaScriptBenchmark #NodeJSPerformance #WebDev
#JavaScript #TypeScript #FullStack #Zod #SQLite #BackendDev #WebFrameworks
#Autocannon #Benchmarking #CodeWithMe


Chapters:
0:00 - 0:57 - Reviewing Hono's benchmark page
0:58 - 4:10 - Express.js App Walkthrough
4:11 - 4:28 - Autocannon for benchmarking
4:29 - 7:09 - Express.js Benchmarking
7:10 - 8:15 - Hono App Walkthrough
8:16 - 9:48 - Hono Benchmarking
9:49 - 11:14 - Reviewing Results


Watch video Benchmarking Hono vs Express.js with a real world app online without registration, duration hours minute second in high quality. This video was added by user Nick Olson Codes 06 April 2025, don't forget to share it with your friends and acquaintances, it has been viewed on our site 450 once and liked it 23 people.