Serhiy Storchaka added the comment:

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

----------
nosy: +ncoghlan
stage:  -> patch review

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29645>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to