This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients barry, brett.cannon, christian.heimes, gvanrossum, lukasz.langa, methane, rhettinger, serhiy.storchaka, terry.reedy, vstinner
Date 2017-11-03.21:41:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509745300.34.0.213398074469.issue31415@psf.upfronthosting.co.za>
In-reply-to
Content
Note that with environment variable you get more information.

$ ./python -X importtime -c pass
import time: self [us] | cumulative | imported package
import time:        88 |         88 |     _codecs
import time:       789 |        876 |   codecs
import time:       602 |        602 |   encodings.aliases
import time:       809 |       2287 | encodings
...

$ PYTHONPROFILEIMPORTTIME=1 ./python -c pass
import time: self [us] | cumulative | imported package
import time:      3133 |       3133 | _frozen_importlib_external
import time:       371 |        371 | zipimport
import time:       327 |        327 |     _codecs
import time:      2656 |       2982 |   codecs
import time:      1821 |       1821 |   encodings.aliases
import time:      2604 |       7406 | encodings
...
History
Date User Action Args
2017-11-03 21:41:40serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, barry, brett.cannon, rhettinger, terry.reedy, vstinner, christian.heimes, methane, lukasz.langa
2017-11-03 21:41:40serhiy.storchakasetmessageid: <1509745300.34.0.213398074469.issue31415@psf.upfronthosting.co.za>
2017-11-03 21:41:40serhiy.storchakalinkissue31415 messages
2017-11-03 21:41:40serhiy.storchakacreate