Hono + htmx vs Fastify + React

Real-world performance comparison based on identical SaaS dashboard implementations.

Hono + htmx

Hono + htmx

VPS (Node)

View Live Demo

Ultrafast web framework meets hypermedia. Hono is a tiny (14KB), ultrafast web framework that runs everywhere—Node, Bun, Deno, Cloudflare Workers, AWS Lambda. Combined with htmx, it enables dynamic UIs through HTML-over-the-wire. htmx extends HTML with attributes for AJAX, CSS transitions, and WebSockets—no JavaScript framework required. Server responses return HTML fragments that htmx swaps into the page, keeping all logic server-side. This approach produces the smallest bundles possible while maintaining interactivity. Perfect for developers who want simplicity, or teams exploring the hypermedia renaissance.

Fastify + React

Fastify + React

Render

View Live Demo

Performance Metrics

Lower is better for all metrics. Green indicates the faster framework.

Metric Hono + htmx Fastify + React Winner
TTFB (p50) 44.75ms 227.7ms ◀
TTFB (p95) 48.38ms 484.46ms ◀
LCP (p50) 72ms 360ms ◀
LCP (p95) 72ms 945.6ms ◀
CLS 0 0 =
TBT 0 ms 0 ms =
LCP → TTFB N/A N/A -
LCP → Load Delay N/A N/A -
LCP → Load Duration N/A N/A -
LCP → Render Delay N/A N/A -
Performance Score 99 98 ◀
SEO Score 92 92 =
Accessibility Score 79 80 ▶
Best Practices Score 92 100 ▶

LLM Understanding · Claude Opus 5.5

How efficiently Claude Opus 5.5 understands the codebase, and how its accuracy changed from Claude Opus 4.5 on the same questions. Opus 5.5 answers all questions in one call; earlier models got one call per question, so part of the change comes from the method.

Metric Hono + htmx Fastify + React Winner
Exploration Time 6204ms N/A -
Exploration Tokens 4297 N/A -
Files Examined 6 N/A -
Validation Accuracy 94% N/A -
Time Per File 1034ms N/A -
Tokens Per File 1433 N/A -
Efficiency Score 82.64 N/A -
Accuracy vs Opus 4.5 +14 pts N/A -

LLM Understanding · Claude Opus 4.5

How efficiently Claude Opus 4.5 understands the codebase. Based on exploration + validation tests.

Metric Hono + htmx Fastify + React Winner
Exploration Time 8019ms N/A -
Exploration Tokens 3410 N/A -
Files Examined 6 N/A -
Validation Accuracy 80% N/A -
Time Per File 1337ms N/A -
Tokens Per File 1260 N/A -
Efficiency Score 72.73 N/A -

LLM Understanding · Claude Haiku 4.5

How efficiently Claude Haiku 4.5 understands the codebase. Based on exploration + validation tests.

Metric Hono + htmx Fastify + React Winner
Exploration Time 12859ms N/A -
Exploration Tokens 4424 N/A -
Files Examined 6 N/A -
Validation Accuracy 81% N/A -
Time Per File 2143ms N/A -
Tokens Per File 2704 N/A -
Efficiency Score 11.89 N/A -

Build Metrics

Metric Hono + htmx Fastify + React Winner
Bundle Size (JS) 47KB 285.3KB ◀
Bundle Size (CSS) 0KB 23.1KB ◀
Build Time 0s 2.5s ◀
Dependencies 9 21 ◀

Want to see more framework comparisons?

View All Comparisons