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) 0ms 340.9ms ◀
TTFB (p95) 0ms 402.72ms ◀
LCP (p50) 0ms 370ms ◀
LCP (p95) 0ms 430.6ms ◀
CLS 0 0 =
TBT N/A 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 N/A 96 -
SEO Score N/A 92 -
Accessibility Score N/A 80 -
Best Practices Score N/A 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