[Async-sig] [python-tulip] Python 3.6b2 will have C implemented Future

Yury Selivanov yselivanov at gmail.com
Fri Nov 18 18:09:44 EST 2016


Also, are you using uvloop or vanilla asyncio?  Try to benchmark vanilla first.  And if you have time, please try to test different combinations on vanilla asyncio:

Python 3.5 + vanilla asyncio
Python 3.6 + vanilla asyncio
Python 3.6 + Py Future + Py Task
Python 3.6 + Py Future + C Task
Python 3.6 + C Future + C Task
Python 3.6 + Py Future + Py Task

Yury


> On Nov 18, 2016, at 6:02 PM, Yury Selivanov <yselivanov at gmail.com> wrote:
> 
> 
>> On Nov 18, 2016, at 5:53 PM, Luca Sbardella <luca.sbardella at gmail.com> wrote:
>> 
>> But tests taking 1.48 longer to run on average!
>> Anything I should know about 3.6 and performance?
>> 
> 
> 
> That shouldn’t happen.  Are you sure you aren’t running them in debug mode?  Try to comment out imports of ‘_asyncio’ in futures.py and tasks.py and run benchmarks in 3.6 to compare Py Futures to C Futures.
> 
> Also, which Python 3.6 version are you using?  Please try to build one from the repo, I’ve fixed a couple of bugs since 3.6b2.
> 
> Yury



More information about the Async-sig mailing list