-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow to import #394
Comments
I'm curious, why? |
Not sure how to read If I'm reading that correctly, it looks like most of the time is probably spent with this packages code: A secondary issue is gunicorn getting imported via aiohttp.workers. Maybe it would be best to remove the gunicorn workers from |
The main issue is Regarding gunicorn import -- yes. After upgrading the minimal required Python to 3.7 we can do If you can find time for both improvements -- you are welcome! |
See aio-libs/aiohttp-debugtoolbar#394 (comment) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sviatoslav Sydorenko <sviat@redhat.com>
On my system,
import aiohttp_debugtoolbar
takes ~1.6s to run.This seems excessive, and adds a noticeable amount of time to app reloading when developing with aiohttp-devtools.
The text was updated successfully, but these errors were encountered: