GNOME Bugzilla – Bug 795741
harness: improve _wait_for_clock_id_waits performance
Last modified: 2018-11-03 12:46:00 UTC
Created attachment 371596 [details] [review] 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.
ping?
Looks fine to me. Since marker should be 'Since: 1.16' but I can fix that up. We seem to be doing a few g_list_length() here, which I guess isn't a problem for small lists, but feels a bit suboptimal. I guess it's an implementation detail and we can fix it up later if it becomes a problem
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/288.