Message227940
| Author |
yselivanov |
| Recipients |
chatgris, gvanrossum, python-dev, vstinner, yselivanov |
| Date |
2014年09月30日.14:56:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1412089011.17.0.917271060123.issue22448@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Victor,
I've done some additional testing. Here's a test that Joshua wrote for the code review: https://gist.github.com/1st1/b38ac6785cb01a679722
It appears that single loop approach works a bit faster for smaller collections of tasks. On a list of 10000 tasks it's on average faster 2-3%, on a list of 1000000 tasks it's slower for 2-3%.
I'm not sure what's the average number of tasks for an "average" asyncio application, but something tells me it's not going to be in range of millions. I think you can fix the code to have a single loop. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年09月30日 14:56:51 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, vstinner, python-dev, chatgris |
| 2014年09月30日 14:56:51 | yselivanov | set | messageid: <1412089011.17.0.917271060123.issue22448@psf.upfronthosting.co.za> |
| 2014年09月30日 14:56:51 | yselivanov | link | issue22448 messages |
| 2014年09月30日 14:56:50 | yselivanov | create |
|