[Webkit-unassigned] [Bug 46045] New: Gradient: Fast-path for the ideal case in sortStopsIfNecessary()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 18 17:43:09 PDT 2010


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

           Summary: Gradient: Fast-path for the ideal case in
                    sortStopsIfNecessary()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: Performance
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andreas.kling at nokia.com
                CC: oliver at apple.com


If the gradient has 2 stops and is already ordered, there's no need to call std::stable_sort.

This yields a 0.3% speedup on Parcycle <http://www.mrspeaker.net/dev/parcycle/>

Note: Only relevant for Qt and CG.

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