[Webkit-unassigned] [Bug 63644] New: [v8] Improve performance of typed array set() taking Array

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 29 12:15:19 PDT 2011


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

           Summary: [v8] Improve performance of typed array set() taking
                    Array
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kbr at google.com
                CC: zmo at google.com


The V8 binding for typed arrays' set() function taking a JavaScript Array as argument is disproportionately slower than the other bindings. The reason is the repeated crossings between the binding layer and the VM for each source array element that is fetched. This variant would be much more efficiently implemented in JavaScript using a simple loop. However, it isn't clear whether there are any other examples currently in the bindings of either implementing a method in the IDL in pure JavaScript, or replacing a method previously defined with one written in JS that might delegate to the original. We might need to add a post-initialization hook that runs after the global scope is initialized.

The associated Chromium bug for this issue, which contains a little more information, is http://crbug.com/84007 .

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