New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 2 users
Status: Fixed
User never visited
Closed: Oct 2008
HW: ----
NextAction: ----
OS: ----
Priority: 2
Type: Bug

Sign in to add a comment
Use inner global object for function lookup
Reported by, Oct 21 2008 Back to list VisitCall, for case 'foo(1,2,3)', the global proxy object 
is used as receiver for both method lookup and invocation. This has 
performance overhead because method lookup on the proxy object needs 
security checks.

This can be improved by using the JSGlobalObject for method lookup, and 
pass JSGlobalProxy as 'this' to invocation.

There's also a 10-15% performance regression on function call intensive benchmarks, 
because of the indirect way we load the global receiver before calling functions (the 
split window change added one extra level of indirection). This should be resolved 
Comment 2 by, Oct 23 2008
Status: Fixed
Fixed on bleeding_edge branch in revision 607.
Labels: Priority-2
Sign in to add a comment