[gst-devel] libxml registry loader

Benjamin Otte in7y118 at public.uni-hamburg.de
Thu Jul 29 09:30:32 CEST 2004


Quoting Johan Dahlin <johan at fluendo.com>:

> Perhaps you can get it down to 50-100ms if you're using a binary format
> instead. But I guess it has higher impact since it needs saving and
> loading code. Shouldn't be that difficult, but it'd rock to be able to
> import gst (in python) in a blink of an eye.
> 
loading the xml takes 30ms of what's left. Around 100ms is getting the caps
strings into actual caps structs. Writing code to convert caps into/from binary
blobs (remember that caps contain GValues) could solve this, as could doing
delayed parsing of the caps strings, which is only 99.999% ABI compatible
unfortunately, so I didn't do this.
The other 50-100ms are spent doing various other initialization like allocating
template structs and so on.

Benjmain




More information about the gstreamer-devel mailing list