Chromium Code Reviews
DescriptionSimplify, speed-up correct-context ObjectObserve calls
The original patch which ensured that Object.observe did allocations in the correct context regressed performance about 12%. This patch gets back most of that (about 11%) by simply returning the correct function which is then directly callable from JS, rather than by making the call from the runtime function. A side-effect is that their implementation is shorter.
LOG=Y
BUG=NONE
R=verwaest@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=21575
Patch Set 1 #Patch Set 2 : cleanup #Patch Set 3 : fix #Patch Set 4 : tests, stray semi-colons #
Total comments: 1
Patch Set 5 : <sigh> remove style fix #Messages
Total messages: 4 (0 generated)
|