[Bug 743063] New: validate: launcher: Add option to run tests in parallel

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 16 14:02:31 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=743063
  GStreamer | gst-devtools | git

           Summary: validate: launcher: Add option to run tests in
                    parallel
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-devtools
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ramiro.polla at collabora.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Most tests use just one core or just wait idly for a long time.

Running tests in parallel speeds up the whole process, even in a single-core
machine, since some tests just remain idle.

These results show a good speedup on my box by using 4 cores (I had some
unrelated problem with streaming so I disabled http and hls tests):

$ gst-validate-launcher --mute -b "validate.hls.*" -b "validate.http.*" -b
"ges.*" -j 1
           Total time spent: 0:26:31.695281 seconds

$ gst-validate-launcher --mute -b "validate.hls.*" -b "validate.http.*" -b
"ges.*" -j 4
           Total time spent: 0:09:40.981110 seconds

Plus if you run the tests without --mute you get a nice symphony =)

The code can be found here:
http://cgit.collabora.com/git/user/ramiro/gst-devtools.git/log/?h=parallel

-- 
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