[Webkit-unassigned] [Bug 49009] New: Lots of time spent in MediaPlayerPrivate::currentTime() when playing multiple videos.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 4 10:45:29 PDT 2010


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

           Summary: Lots of time spent in
                    MediaPlayerPrivate::currentTime() when playing
                    multiple videos.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric.carlson at apple.com


Created an attachment (id=72961)
 --> (https://bugs.webkit.org/attachment.cgi?id=72961&action=review)
Test case

When the attached test case is loaded and the CPU is sampled, we see that a lot of time is being spent in MediaPlayerPrivate::currentTime(). The following three second sample is of Safari 5 on 10.6.4:

858 SafariMain
 858 NSApplicationMain
  858 -[NSApplication run]
   858 -[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
    858 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
     858 _DPSNextEvent
      858 BlockUntilNextEventMatchingListInMode
       858 ReceiveNextEventCommon
        858 RunCurrentEventLoopInMode
         858 CFRunLoopRunSpecific
          858 __CFRunLoopRun
           650 WebCore::timerFired(__CFRunLoopTimer*, void*)
            607 WebCore::ThreadTimers::sharedTimerFiredInternal()
             421 WebCore::HTMLMediaElement::scheduleTimeupdateEvent(bool)
              421 WebCore::MediaPlayerPrivate::currentTime() const
               421 -[QTMovie currentTime]

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list