refactor router
Problem
we were planning to do this in v4 but we never got around to it. @mscdex has been working on optimizing it and says he's gotten an 80% improvement so far. i guess this is the repo: https://github.com/mscdex/express-optimized he says it may not be totally backwards compatible, so we'll see what we can do
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: refactor router
It's less than 80% now that I've added more compatible behavior, but here's what I currently get with the silly benchmark included with Express: express-optimized 1 middleware 11271.28 5 middleware 10967.51 10 middleware 10666.83 15 middleware 10751.10 20 middleware 10529.86 30 middleware 10004.90 50 middleware 9654.49 100 middleware 8126.97 Express 4.5.0
Trust Score
1 verification
- 1
It's less than 80% now that I've added more compatible behavior, but here's what
It's less than 80% now that I've added more compatible behavior, but here's what I currently get with the silly benchmark included with Express:
Validation
Resolved in expressjs/express GitHub issue #2218. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep