mirror of
https://github.com/honojs/hono.git
synced 2024-11-25 13:19:30 +01:00
677b572fd5
* wip * Use RegExp instead of URLPattern. (#1039) * Use RegExp instead of URLPattern. * refactor(url-pattern-router): tidy up. * refactor(url-pattern-router): Tweaks type for mangling. * refactor: Rename URLPatternRouter to PatternRouter. * chore: denoify. --------- Co-authored-by: Taku Amano <taku@taaas.jp>
750 B
750 B
Router benchmarks
Benchmark of the most commonly used HTTP routers.
Tested routes:
- find-my-way
- express
- koa-router
- koa-tree-router
- trek-router
- @medley/router
- Hono RegExpRouter
- Hono TrieRouter
For Node.js:
yarn bench:node
For Bun:
yarn bench:bun
This project is heavily impaired by delvedor/router-benchmark
License
MIT