[Webkit-unassigned] [Bug 119417] New: Use JITPropertyAccess to speed up access to JSCallbackObject's static value
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 1 17:35:16 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=119417
Summary: Use JITPropertyAccess to speed up access to
JSCallbackObject's static value
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: max.hong.shen at gmail.com
Created an attachment (id=207970)
--> (https://bugs.webkit.org/attachment.cgi?id=207970&action=review)
Test case
To access to JSCallbackObject's static value, JSC API needs to call JSCallbackObject::getOwnPropertySlot() first, then invokes the JSCallbackObject::getStaticValue(). The work done in getOwnPropertySlot() could be saved if we can use Baseline JIT stub (op_get_by_id_custom_stub) to call getStaticValue() directly when Baseline JIT kicks in (e.g. property access in a loop which takes 100 times). It surely can speed up the client applications that need heavy property accesses in their code. (e.g. a game app's draw function).
--
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