Profiling django manage.py runserver
I came here from this post https://forum.djangoproject.com/t/slow-runserver-start-up-how-to-debug/15078 from @adamchainz
I am trying to do
```
$ importtime-waterfall --include-interpreter-startup manage.py runserver
usage: importtime-waterfall [-h] [--include-interpreter-startup]
[--graph | --har]
module
importtime-waterfall: error: unrecognized arguments: runserver
```
However this does not work, seems I can only add a single word/command as "module"argument
however `python3 -Ximporttime manage.py runserver` works. Any idea how I can use your package so I can get a better visual of manage.py runserver (final aim is to understand why it is slow)

关闭于 2023-02-19 4 条评论