#1944 closed enhancement (fixed)
parsing the command line is too expensive
Reported by: | Antoine Martin | Owned by: | J. Max Mena |
---|---|---|---|
Priority: | major | Milestone: | 2.4 |
Component: | core | Version: | 2.3.x |
Keywords: | Cc: |
Description
Change History (3)
comment:1 Changed 3 years ago by
Owner: | changed from Antoine Martin to J. Max Mena |
---|
comment:3 Changed 6 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1944
Note: See
TracTickets for help on using
tickets.
Done for video encoders in r20269 + r20270.
We now launch all sound subprocesses with the extra arguments:
This avoids loading the "video helper" class, which would load the video and csc codecs.
The list of arguments can be overriden with
XPRA_DEFAULT_SOUND_COMMAND_ARGS
.One area where we could still do better is packet encoding and compression: we load all of them (ie: lz4, lzo and zlib - rencode, bencode and yaml) whether we use them or not. Not a big problem since those are all quite small.
@maxmylyn: just a FYI. The audio subprocess should start a bit faster (barely measurable in most cases) and use less memory.