mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
validate: launcher: Use cElementTree for XML parsing
Using cElementTree instead of ElementTree speeds up parsing of media descriptor files. The total time spent parsing XML files drops from ~0.64 s to ~0.24 s, leading to faster initialisation times for gst-validate-launcher. https://bugzilla.gnome.org/show_bug.cgi?id=743293
This commit is contained in:
parent
08afce235c
commit
2d5ad1ac62
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ import reporters
|
|||
import ConfigParser
|
||||
import loggable
|
||||
from loggable import Loggable
|
||||
import xml.etree.ElementTree as ET
|
||||
import xml.etree.cElementTree as ET
|
||||
|
||||
from utils import mkdir, Result, Colors, printc, DEFAULT_TIMEOUT, GST_SECOND, \
|
||||
Protocols
|
||||
|
|
Loading…
Reference in a new issue