[Webkit-unassigned] [Bug 138691] New: [GTK] Add persistent GSource wrapper

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 13 01:30:48 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=138691

            Bug ID: 138691
           Summary: [GTK] Add persistent GSource wrapper
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zandobersek at gmail.com
                CC: cgarcia at igalia.com, gns at gnome.org,
                    mrobinson at webkit.org, pnormand at igalia.com

Unlike GMainLoopSource or GThreadSafeLoopSource, the new class will only manage one GSource object during its lifetime. This avoids attaching and scheduling new GSource objects every time a new scheduling is performed, which can hinder performance in case of highly frequent task scheduling.

The first iteration of this work won't yet provide thread-safe implementation.

A couple of GMainLoopSource objects I'd like to convert for a start, listed by their name:
[WebKit] layerFlushTimer - schedules layer flushing, is scheduled up to 60 times per second
[WebKit] sharedTimerTimeoutCallback - schedules shared timer, is scheduled up to 250 times per second
[WebKit] RunLoop work - scheduled during IPC processing in WK2
[WebKit] RunLoop::Timer - scheduled via the ResponsivenessTimer in WK2
[WebKit] WorkQueue::dispatch - scheduled during IPC processing in WK2

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141113/70266121/attachment-0002.html>


More information about the webkit-unassigned mailing list