[Webkit-unassigned] [Bug 97122] New: JS binding through JSC API is much slower than binding through WebCore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 19 11:07:46 PDT 2012


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

           Summary: JS binding through JSC API is much slower than binding
                    through WebCore
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cshu at webkit.org


Created an attachment (id=164757)
 --> (https://bugs.webkit.org/attachment.cgi?id=164757&action=review)
Code does the binding through both JSC API and WebCore that demonstrates the performance.

While using JSC API for JS binding, I found the performance is quite slow comparing to binding the same interface inside WebCore. I have attached a test file that adds a MyTest object that does doSqrt() inside WebCore and also hacks a doSqrt() in TestRunner in WebKitTestRunner.
Run "WebKitBuild/Release/WebKitTestRunner LayoutTests/MyTest.html" shows that the latter is 7-8 times slower.

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