Message288551
`import webbrowser` has heavy side effects. It searches a number of executables. On X Window it also runs external program xdg-settings.
Cold start:
$ time ./python -c ''
real 0m1.719s
user 0m0.088s
sys 0m0.036s
$ time ./python -c 'import webbrowser'
real 0m5.713s
user 0m0.308s
sys 0m0.196s
Hot start:
$ time ./python -c ''
real 0m0.094s
user 0m0.072s
sys 0m0.020s
$ time ./python -c 'import webbrowser'
real 0m1.026s
user 0m0.284s
sys 0m0.100s |
|
Date |
User |
Action |
Args |
2017-02-25 09:26:58 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2017-02-25 09:26:58 | serhiy.storchaka | set | messageid: <1488014818.45.0.347439137836.issue29645@psf.upfronthosting.co.za> |
2017-02-25 09:26:58 | serhiy.storchaka | link | issue29645 messages |
2017-02-25 09:26:57 | serhiy.storchaka | create | |
|