Hono + htmx vs Fastify + React

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

Hono + htmx

Hono + htmx

VPS (Bun)

View Live Demo

Ultrafast web framework meets hypermedia, running on Bun. Hono is a tiny (14KB), ultrafast web framework that runs everywhere. This variant uses Bun runtime for potentially faster startup times and request handling. Combined with htmx for HTML-over-the-wire interactivity, Hono on Bun produces minimal bundles while maintaining full interactivity—all without a JavaScript framework.

Fastify + React

Fastify + React

Railway

View Live Demo

Performance Metrics

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

Metric Hono + htmx Fastify + React Winner
TTFB (p50) 43.75ms 340.9ms ◀
TTFB (p95) 45.89ms 402.72ms ◀
LCP (p50) 64ms 370ms ◀
LCP (p95) 3024ms 430.6ms ▶
CLS 0 0 =
TBT 0 ms 0 ms =
LCP → TTFB 88 ms N/A -
LCP → Load Delay 0 ms N/A -
LCP → Load Duration 0 ms N/A -
LCP → Render Delay 125 ms N/A -
Performance Score 100 96 ◀
SEO Score 100 92 ◀
Accessibility Score 79 80 ▶
Best Practices Score 96 100 ▶

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 N/A N/A -
Exploration Tokens N/A N/A -
Files Examined N/A N/A -
Validation Accuracy N/A N/A -
Time Per File N/A N/A -
Tokens Per File N/A N/A -
Efficiency Score N/A 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 N/A N/A -
Exploration Tokens N/A N/A -
Files Examined N/A N/A -
Validation Accuracy N/A N/A -
Time Per File N/A N/A -
Tokens Per File N/A N/A -
Efficiency Score N/A 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 5 21 ◀

Want to see more framework comparisons?

View All Comparisons