
On Mon, Jul 27, 2015 at 12:19 AM, Nick Coghlan <ncoghlan@gmail.com> wrote:
On 25 July 2015 at 15:32, Chris Angelico <rosuav@gmail.com> wrote:
On a more serious note, I'd like to see some throughput tests for process-pool, thread-pool, and asyncio on a single thread. That'd make a great PyCon talk; make sure it's videoed, as I'd likely be linking to it a lot.
Dave Beazley's "Python Concurrency from the Ground Up" talk at PyCon US this year was almost exactly that: https://us.pycon.org/2015/schedule/presentation/374/
Video: https://www.youtube.com/watch?v=MCs5OvhV9S4 Demo code: https://github.com/dabeaz/concurrencylive
Thanks for posting that, Nick! To everyone else who's trying to get their heads around where 'yield from' compares to threads, this is a great run-down. ChrisA