Creating elements for the first time takes ages

Ralph ralph.gucwa at racelogic.co.uk
Thu Jun 21 09:36:48 PDT 2012


I profiled the execution of the following line:
    Gst.Element fileSource = Gst.ElementFactory.Make("gnlfilesource");


The result is:
    8037ms, 1 call  - Gst.ElementFactory.Make(String)
    

The critical method down the execution tree from
Gst.ElementFactory.Make(String):
    8009ms, 5 calls  - Gst.Application.GstResolveType(GType, String)


The slowest methods called by Gst.Application.GstResolveType(GType, String)
    5208ms, 1272269 calls  - System.RuntimeType.IsDefined(Type, Boolean)
    2379ms, 2471 calls  - System.Reflection.Assembly.GetTypes


I'm confused...

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Creating-elements-for-the-first-time-takes-ages-tp4655367p4655370.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list