Author serhiy.storchaka
Recipients louielu, ncoghlan, serhiy.storchaka
Date 2017-02-25.11:47:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488023278.84.0.912526272245.issue29645@psf.upfronthosting.co.za>
In-reply-to
Content
Following patch makes searching of all platform browsers delayed until it is needed. In addition it makes webbrowser.register() thread safe.

Cold start:

$ time ./python -c 'import webbrowser'

real	0m2.851s
user	0m0.224s
sys	0m0.056s

Hot start:

$ time ./python -c 'import webbrowser'

real	0m0.259s
user	0m0.232s
sys	0m0.024s
History
Date User Action Args
2017-02-25 11:47:58serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, louielu
2017-02-25 11:47:58serhiy.storchakasetmessageid: <1488023278.84.0.912526272245.issue29645@psf.upfronthosting.co.za>
2017-02-25 11:47:58serhiy.storchakalinkissue29645 messages
2017-02-25 11:47:58serhiy.storchakacreate