Avatar for the withastro user
withastro
astro
BlogDocsChangelog

Prototype: composable Hono middleware for Astro (astro/hono)

#16208
Comparing
hono
(
cc6927f
) with
main
(
337d3aa
)
CodSpeed Performance Gauge
-56%
Regression
10
Untouched
8

Benchmarks

18 total
large-array [streaming]
benchmark/bench/rendering-perf.bench.js::Rendering perf (streaming)
CodSpeed Performance Gauge
-56%
152.9 ms346 ms
large-array (BufferedRenderer per child)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
-53%
173.1 ms365.2 ms
many-components (markHTMLString, isHTMLString, validateProps)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
-36%
8.9 ms14 ms
many-components [streaming]
benchmark/bench/rendering-perf.bench.js::Rendering perf (streaming)
CodSpeed Performance Gauge
-34%
8.2 ms12.4 ms
many-slots (eager slot prerendering)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
-32%
5.6 ms8.2 ms
many-head-elements (head dedup)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
-25%
5.1 ms6.8 ms
Rendering: streaming [false], .md file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
-23%
1.2 ms1.5 ms
Rendering: streaming [true], .md file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
-21%
1.2 ms1.5 ms
many-expressions [streaming]
benchmark/bench/rendering-perf.bench.js::Rendering perf (streaming)
CodSpeed Performance Gauge
-14%
24.8 ms28.8 ms
Build: hybrid site (static + server)
benchmark/bench/build-hybrid.bench.js::Bench build time
CodSpeed Performance Gauge
-12%
8.5 s9.7 s
many-expressions (renderChild dispatch, escapeHTML)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
+3%
25.4 ms24.6 ms
Rendering: streaming [true], .astro file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
+2%
226.4 ms221.3 ms
Rendering: streaming [true], .mdx file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
0%
581.3 ms581.7 ms
Rendering: streaming [false], .astro file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
0%
203.9 ms204.3 ms
Rendering: streaming [false], .mdx file
benchmark/bench/render.bench.js::Bench rendering
CodSpeed Performance Gauge
-1%
578.9 ms583.9 ms
static-heavy (markHTMLString baseline)
benchmark/bench/rendering-perf.bench.js::Rendering perf (non-streaming)
CodSpeed Performance Gauge
-5%
6.9 ms7.2 ms
Build: full server site
benchmark/bench/build-server.bench.js::Bench build time
CodSpeed Performance Gauge
-7%
8.6 s9.2 s
Build: full static site
benchmark/bench/build-static.bench.js::Bench build time
CodSpeed Performance Gauge
-10%
3.6 s4 s

Commits

Click on a commit to change the comparison range
Base
main
337d3aa
-30.08%
Merge origin/main into hono
df4b13c
6 days ago
by matthewp
+0.03%
Fix Pages.match() to filter prerendered routes and strip base correctly
9761e2d
6 days ago
by matthewp
+0.15%
Fix dev server routing: load initial routes and handle base-stripped URLs
f95f14e
6 days ago
by matthewp
-0.3%
Fix error handling and action middleware response propagation
46f33ef
6 days ago
by matthewp
+0.25%
Fix route loading race and Vue app entrypoint collision
f5d953e
6 days ago
by matthewp
0%
Handle streaming render errors gracefully in dev server
c5edac4
6 days ago
by matthewp
-0.29%
Persist session and add cookies in actions() Hono middleware
b2534df
6 days ago
by matthewp
+0.07%
Add server.headers support and .html extension stripping in dev
510f2c4
6 days ago
by matthewp
-0.12%
Merge branch 'main' into hono
5c1dc6b
5 days ago
by matthewp
+0.57%
Merge branch 'main' into hono
a221495
3 days ago
by matthewp
+0.11%
fix: resolve dev SSR failures for API routes with Hono integration
5dc0ed5
3 days ago
by matthewp
-0.14%
fix: resolve type errors in example app
c5f47b3
3 days ago
by matthewp
+0.11%
fix: HTTP/2 support, prerender 404 handling, and user app module caching
3904c47
3 days ago
by matthewp
+0.03%
fix: base URL restoration, redirect encoding, HMR cache invalidation
0e9c21b
3 days ago
by matthewp
+0.02%
fix: custom 404 rendering, locals propagation, and HMR content updates
e44835d
3 days ago
by matthewp
-0.07%
refactor: restore base URL once and early, remove originalUrlSymbol
1aeb4fa
3 days ago
by matthewp
-0.08%
fix: trailing slash redirect loop with non-root base, use helper functions
b702385
3 days ago
by matthewp
-26.07%
refactor: replace Pages class with composable Hono middleware architecture
3b68e24
2 days ago
by matthewp
+0.07%
fix: resolve all 35 CI test failures
909b52c
20 hours ago
by matthewp
+0.53%
fix: strip internal headers from all responses, handle immutable redirect headers
088525a
20 hours ago
by matthewp
-0.48%
fix: consolidate cookie handling into single location in createPagesMiddleware
900097f
19 hours ago
by matthewp
-0.09%
fix: use import type for AstroCookies in ssr-result.ts
a08e925
19 hours ago
by matthewp
+0.02%
fix: share single AstroCookies instance between Hono context and RenderContext
2c1db9e
16 hours ago
by matthewp
-0.05%
fix: skip prerendered routes in production matchRouteData, share cookies across rewrites
cc6927f
4 hours ago
by matthewp
© 2026 CodSpeed Technology
Home Terms Privacy Docs