From 064a7b8fc1c63127749289e4b345bdbae20631f3 Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Thu, 26 Dec 2013 11:02:26 -0800 Subject: [PATCH] docs: update koa vs express benchmark stuff --- docs/koa-vs-express.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/koa-vs-express.md b/docs/koa-vs-express.md index 5b3f8e2..98fe8af 100644 --- a/docs/koa-vs-express.md +++ b/docs/koa-vs-express.md @@ -37,7 +37,7 @@ TO DO: ## Is Koa faster than Express? - To our amazement, yes, but only if you use [`yield *next`](http://wiki.ecmascript.org/doku.php?id=harmony%3agenerators#delegating_yield). We do not provide examples of using delegated yields as we find it confusing as well as unnecessary for most people. Here are Koa's benchmarks when using delegated yields: + 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? ``` 1 middleware @@ -93,8 +93,6 @@ TO DO: 5000.98 ``` - Also note that Express uses many more middleware than Koa, so these benchmarks are largely in Koa's favor. - ## How is Koa different than Connect/Express? ### Generated-based control flow