[issue31970] asyncio debug mode is very slow
Antoine Pitrou
report at bugs.python.org
Tue Nov 7 08:15:04 EST 2017
New submission from Antoine Pitrou <pitrou at free.fr>:
Each time a new future, handle or task is created, asyncio with debug mode enabled will parse the whole call stack and create a StackSummary object for it. Imagine a recursive coroutine: with N nested calls, you get O(N**2) performance.
Ideally debug mode wouldn't slow things too much, at least for development and testing setups.
----------
components: Library (Lib), asyncio
messages: 305752
nosy: giampaolo.rodola, haypo, pitrou, yselivanov
priority: normal
severity: normal
status: open
title: asyncio debug mode is very slow
type: behavior
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31970>
_______________________________________
More information about the Python-bugs-list
mailing list