[gstreamer-bugs] [Bug 161991] gst_init is slow

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Fri Mar 4 06:47:41 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=161991
 GStreamer | gstreamer (core) | Ver: HEAD CVS





------- Additional Comments From Ronald Bultje  2005-03-04 09:47 -------
Created an attachment (id=38245)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=38245&action=view)
part #1

This patch implements a libxml-based registry reader. Code mostly by Benjamin,
I simply converted it into something where it works both with and without
libxml and fixed some parsing errors and memory leaks to make it just work. The
writing code is duplicated over two files, I should fix that.

Laptop: 0.35s->0.18s, Desktop: 0.80s->0.43s (fixed testcases with the same
registry, average of five times with testcase given above and file cached in
memory to prevent harddisk spinup time from influencing this). So roughly a
gain of 50%. this patch does not touch registry implementation or ABI, so will
work for 0.8.

I'm working on a second patch doing what Dave says for 0.9 (converting to
staticpadtemplates/staticcaps).

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list