[Bug 689182] New: [pitivi] Making a frei0r ElementFactory does a lot of I/O and slows down startup
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Nov 27 12:24:39 PST 2012
https://bugzilla.gnome.org/show_bug.cgi?id=689182
GStreamer | gst-plugins-bad | 1.0.2
Summary: [pitivi] Making a frei0r ElementFactory does a lot of
I/O and slows down startup
Classification: Platform
Product: GStreamer
Version: 1.0.2
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: nekohayo at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=230035)
--> (https://bugzilla.gnome.org/attachment.cgi?id=230035)
test script
In pitivi, I need to check for the presence of at least one particular frei0r
plugin. The problem is that on a cold start, this takes 3 seconds on an average
computer (without an SSD), which multiplies the application startup time by 2
or 3 times.
Attached is a very simple script that demonstrates the problem. frei0r is
affected when creating an ElementFactory, but libav is not.
# sync && echo 3 > /proc/sys/vm/drop_caches
$ python bench_plugins_loading.py
gst init took 0.411 secs
making a sandwich: 0.431 secs
making another sandwich: 0.000 secs
frei0r (reg): 0.003 secs
libav (reg): 0.000 secs
frei0r (factory): 2.195 secs <-----------
libav (factory): 0.121 secs
Soft deps check done in 2.752 seconds
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list