needleinthehay.de

Profile import time

Profile

Start Python script with import profiler:

python -X importtime myscript.py 2> startup.profile

Visualize

Upload the resulting file to kmichael’s online tool.