New submission from Antoine Pitrou <pit...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue31970> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com