[gst-devel] libxml registry loader

Johan Dahlin johan at fluendo.com
Thu Jul 29 09:11:07 CEST 2004


tor 2004-07-29 klockan 17.59 skrev Benjamin Otte:
> Since Johan buggered me about gst_init being slow and profiling showing it's
> because we use GMarkup when loading registries, I rewrote the registry loading
> to use libxml instead.
> The time for gst_init() dropped from 550ms to 230ms on my machine after I did that.

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.

-- 
Johan Dahlin <johan at fluendo.com>





More information about the gstreamer-devel mailing list