ITADN

Profiling django manage.py runserver

#101Closedsomghosh 创建于 2023-02-19
S
somghoshcommented
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) ![image](https://user-images.githubusercontent.com/5731118/219944359-4f4e3247-c32e-47ee-a14c-b1cc82a5d3bb.png)
关闭于 2023-02-19 4 条评论