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 bmwiedemann
Recipients bmwiedemann, christian.heimes, vstinner
Date 2017-05-05.12:18:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493986691.28.0.754480434557.issue30276@psf.upfronthosting.co.za>
In-reply-to
Content
I'm running openSUSE Tumbleweed with python-2.7.13 and python3-3.6.1
on an Intel Pentium N3530 with linux-4.10.12
There the total time of the "import _hashlib" oneliner varies between 100 and 250 ms (python3 is a bit slower and the machine is slower when running on battery)

the urandom calls themselves are not slow, but probably the processing in between. Can't that be done on demand on first use?

This is (one minor part of) slowing down python CLI tools like OpenStack's
cinder help
History
Date User Action Args
2017-05-05 12:18:11bmwiedemannsetrecipients: + bmwiedemann, vstinner, christian.heimes
2017-05-05 12:18:11bmwiedemannsetmessageid: <1493986691.28.0.754480434557.issue30276@psf.upfronthosting.co.za>
2017-05-05 12:18:11bmwiedemannlinkissue30276 messages
2017-05-05 12:18:11bmwiedemanncreate