Creating elements for the first time takes ages
Edward Hervey
bilboed at gmail.com
Thu Jun 21 09:57:27 PDT 2012
On Thu, 2012-06-21 at 09:36 -0700, Ralph wrote:
> 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 not sure how those bindings work, but I'm going to say they are
dynamically generated (i.e. at runtime), and you've it the place where
it generates the bindings.
>
>
> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list