question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Let me introduce how to improve performance easily.

See original GitHub issue

koa’s concept is really terrific.

I’m sure koa v2 + async/await will be the mainstream in the future. but, I guess someone needs to use koa v1 for various reasons.

co-booster is a performance tuning version of co. It’s fully compatible with co. and, works fastly in many cases.

co is used in a core logic of koa v1 and koa-convert. so, I believe it makes koa better without much effort.

Here are my results using koa’s benchmark script. (100 middlewares)

- koa v1 + nodejs v4.4.7 : 11% better
- koa v1 + nodejs v6.9.1 : 13% better
- koa v2(legacy middleware) + nodejs v4.4.7 : 13% better
- koa v2(legacy middleware) + nodejs v6.9.1 : 14% better

I just wondered what author, contributors, and users think about. I’d like to contribute to koa if I have a chance.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
fengmk2commented, Nov 17, 2016

Look good, I think co-booster and co merge together will be good choice for the whole co solution.

1reaction
juliangrubercommented, Nov 17, 2016

The numbers look good! Since co-booster is fully compatible with co however, what do you think about merging your changes into co instead?

Read more comments on GitHub >

github_iconTop Results From Across the Web

11 Creative Ways to Improve Team Performance | Project.co
11 creative ways to improve team performance · 1. Training and development · 2. Set (and measure) goals · 3. Incentivise performance ·...
Read more >
10 Simple Ways to Write Stronger Introductions - HubSpot Blog
One way is by writing a powerful, compelling introduction. So, let's see about making it better now, shall we? In this post, I'll...
Read more >
How To Introduce Yourself Professionally (With Examples)
Learn how to introduce yourself professionally to make a positive ... Quickly summarize who you are and why you are there when you...
Read more >
How To Introduce Yourself Professionally - Follow These 3 ...
Focus on results. Talk about how you help people and be very specific. If you can craft an introduction that's focused on the...
Read more >
10 Ways to Improve Team Productivity and Efficiency | ProofHub
Want to know how to improve team productivity and get more done? Here are 10 quick ways to make your teams super-productive and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found