Open
Description
For now we rely on the routing of the underlying driver (express or koa). However express and koa routers are really slow, as you can see in benchmarks:
https://github.com/delvedor/router-benchmark
find-my-way | lookup dynamic route x 2,647,488 ops/sec ±0.93% (89 runs sampled)
koa-router | lookup dynamic route x 296,380 ops/sec ±1.06% (85 runs sampled)
express | lookup dynamic route x 116,762 ops/sec ±53.99% (41 runs sampled)
As we handle the route concatention and param injection by themselves, we could perform the routing at the (nomen omen) routing-controllers level using the find-my-way
router library:
https://github.com/delvedor/find-my-way
We are getting close to the final API and functionality, so we should consider now also optimization and performance of the framework 😉