parent
8c32dd2540
commit
915fa54bab
1 changed files with 6 additions and 23 deletions
|
@ -53,23 +53,6 @@ THIS DOCUMENT IS IN PROGRESS. THIS PARAGRAPH SHALL BE REMOVED WHEN THIS DOCUMENT
|
|||
the entire application, so we thought it would be more appropriate
|
||||
to create a new library.
|
||||
|
||||
## Is Koa faster than Express?
|
||||
|
||||
Koa and Express have very similar benchmark results, both of which are more than enough for most applications. This is especially true for applications with high traffic running multiple instances, because you are scaling horizontally right?
|
||||
|
||||
The following results were produced on a Retina Macbook Pro, showing only the cost of running noop middleware.
|
||||
|
||||
| no. middleware | Koa | Express |
|
||||
| --------------:| ------- | ------- |
|
||||
| 1 | 8849.36 | 7805.19 |
|
||||
| 5 | 8685.74 | 7707.15 |
|
||||
| 10 | 8511.08 | 7475.08 |
|
||||
| 15 | 8456.86 | 7261.73 |
|
||||
| 20 | 8211.93 | 7012.07 |
|
||||
| 30 | 8102.98 | 6672.76 |
|
||||
| 50 | 7617.67 | 6255.92 |
|
||||
| 100 | 6899.45 | 5000.98 |
|
||||
|
||||
## How is Koa different than Connect/Express?
|
||||
|
||||
### Generated-based control flow
|
||||
|
|
Loading…
Reference in a new issue