Skip to content

chore(benchmark/routers): bump deps - #5107

Merged
yusukebe merged 1 commit into
mainfrom
chore/benchmark-routers-bump-deps
Jul 12, 2026
Merged

yusukebe merged 1 commit into
mainfrom
chore/benchmark-routers-bump-deps

Conversation

@yusukebe

Copy link
Copy Markdown
Member

The author should do the following, if applicable

  • Add tests
  • Run tests
  • bun run format:fix && bun run lint:fix to format the code
  • Add TSDoc/JSDoc to document the code

@github-actions

This comment has been minimized.

@yusukebe
yusukebe force-pushed the chore/benchmark-routers-bump-deps branch from 8ff78fb to 3cf7934 Compare July 12, 2026 00:01
@github-actions

Copy link
Copy Markdown

HTTP Performance Benchmark

Framework Runtime Average Ping Query Body
hono (origin/main) bun 46,398.59 57,167.19 44,734.68 37,293.90
hono (current) bun 47,755.78 58,778.09 45,891.37 38,597.87
Change +2.93% +2.82% +2.59% +3.50%

@codecov

codecov Bot commented Jul 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.08%. Comparing base (cda1af2) to head (3cf7934).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5107   +/-   ##
=======================================
  Coverage   79.08%   79.08%           
=======================================
  Files         154      154           
  Lines       10761    10761           
  Branches     2252     2252           
=======================================
  Hits         8510     8510           
  Misses       2251     2251           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yusukebe

Copy link
Copy Markdown
Member Author

Btw, RexExpRouter is still the fastest router in the world on Node.js (on Bun, the results are different). cc: @usualoma

Node.js

summary
  Hono RegExpRouter
   1.45x faster than Memoirist
   1.55x faster than rou3
   1.65x faster than @medley/router
   1.93x faster than koa-tree-router
   2.13x faster than trek-router
   2.36x faster than find-my-way
   3.21x faster than radix3
   3.26x faster than Hono TrieRouter
   4.97x faster than Hono PatternRouter
   7.21x faster than koa-router
   11.08x faster than express (WARNING: includes handling)

Bun

summary
  rou3
   1.13x faster than Hono RegExpRouter
   1.38x faster than Memoirist
   1.92x faster than @medley/router
   2.1x faster than find-my-way
   2.7x faster than radix3
   2.95x faster than Hono TrieRouter
   2.96x faster than koa-tree-router
   4.37x faster than Hono PatternRouter
   5.52x faster than koa-router
   5.58x faster than trek-router
   11.88x faster than express (WARNING: includes handling)

@yusukebe
yusukebe merged commit 29a3f73 into main Jul 12, 2026
20 checks passed
@yusukebe
yusukebe deleted the chore/benchmark-routers-bump-deps branch July 12, 2026 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant