[Bug 795741] New: harness: improve _wait_for_clock_id_waits performance

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 2 08:18:55 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=795741

            Bug ID: 795741
           Summary: harness: improve _wait_for_clock_id_waits performance
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: havard.graff at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: gstreamer at pexip.com
     GNOME version: ---

Created attachment 371596
  --> https://bugzilla.gnome.org/attachment.cgi?id=371596&action=edit
harness: improve _wait_for_clock_id_waits performance

By moving the functionality down to the testclock, the implementation
no longer needs to poll the waits, but rather wait properly for
them to be added.

The performance-hit here would be that by polling the test-clock
regularly, you would create contention on the testclock-lock, making code
using the testclock (gst_clock_id_wait) fighting for the lock.

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