Closed totaam closed 5 years ago
Added some debug logging in r23053 + r23054 + r23055.
Places where we spend most of the startup time:
opengl=probe
takes 1s on my system - can easily take more with other GPUs / drivers, hence the need for #2345import xpra.platform.gui
takes 120ms (not sure why yet)import xpra.client.UIXpraClient
takes ~40ms (not bad considering how much that imports)get_platform_info
takes 40ms - this could be done from a separate threadsetup_menu
: 120ms (mostly loading icons from disk - not much we can do? is it worth using pillow to load from a separate thread?)Start to finish only takes 2 seconds, more than half of which is the opengl probing!
With --no-speaker --no-microphone --opengl=no --encodings=rgb --video-decoders=none --csc-modules=none --tray=no
, my python3 client starts in just 0.5s.
Updates:
xpra.png
icon (importing pillow, etc) - can't really avoid thatget_vrefresh
in [https://github.com/mviereck/x11docker/files/3345452/xpraclient.log]That's enough I think.
See also: #2349 cache audio query
Same as #2341 but for the client.
We already have:
2344 for codecs
2345 for opengl probing