Chromium Code Reviews
DescriptionOptimized nodeType dom binding by removing HandleScope and the preparation of ordinary c function call.
In nodeType getter callback, it does not New objects, so it’s
safe to remove HandleScope().
And in ordinary C function, it create a new frame(push ebp/pop ebp)
to store arguments. But for some straightforward getter, like
nodeTypeAttributeGetter, By removing this preparation, it can improve
nodeType api performance by 30%.
BUG=v8:3667
Patch Set 1 : #
Messages
Total messages: 5 (2 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||