[Webkit-unassigned] [Bug 31756] New: getter/setter performance is much worse then a function call

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 20 16:50:46 PST 2009


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

           Summary: getter/setter performance is much worse then a
                    function call
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: ggaren at apple.com, oliver at apple.com,
                    barraclough at apple.com, bweinstein at apple.com


Created an attachment (id=43629)
 --> (https://bugs.webkit.org/attachment.cgi?id=43629)
[TEST CASE] Check Console for Timed Results

Running the Attached Test Case shows getters/setters are slower then function
calls. Is there are particular reason for this or could the performance be
matched?

My Results:

  getter: 49ms
  get function: 6ms

  setter: 56ms
  set function: 6ms

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