• Z Nguyen-Huu's avatar
    Implement fastpath for proxy trap getPrototypeOf · 4e17a6be
    Z Nguyen-Huu authored
    ObjectGetPrototypeOf and ReflectGetPrototypeOf are now Torque builtins (previously CPP) and the Proxy path is implemented completely in Torque while everything else calls into runtime (and is thus a bit slower than previously).
    
    Perf improvement in micro-benchmark JSTests/Proxies
    Before:
    GetPrototypeOfWithoutTrap-Proxies(Score): 1876
    GetPrototypeOfWithTrap-Proxies(Score): 857
    
    After:
    GetPrototypeOfWithoutTrap-Proxies(Score): 2810
    GetPrototypeOfWithTrap-Proxies(Score): 3197
    
    Bug: v8:6664
    Change-Id: If60dda67d6e90c2d6f0ec743f6cb7c0fff54d607
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1658717
    Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#62256}
    4e17a6be
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ia32 Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc Loading commit data...
s390 Loading commit data...
x64 Loading commit data...
OWNERS Loading commit data...
debug-coverage.cc Loading commit data...
debug-coverage.h Loading commit data...
debug-evaluate.cc Loading commit data...
debug-evaluate.h Loading commit data...
debug-frames.cc Loading commit data...
debug-frames.h Loading commit data...
debug-interface.h Loading commit data...
debug-property-iterator.cc Loading commit data...
debug-property-iterator.h Loading commit data...
debug-scope-iterator.cc Loading commit data...
debug-scope-iterator.h Loading commit data...
debug-scopes.cc Loading commit data...
debug-scopes.h Loading commit data...
debug-stack-trace-iterator.cc Loading commit data...
debug-stack-trace-iterator.h Loading commit data...
debug-type-profile.cc Loading commit data...
debug-type-profile.h Loading commit data...
debug.cc Loading commit data...
debug.h Loading commit data...
interface-types.h Loading commit data...
liveedit.cc Loading commit data...
liveedit.h Loading commit data...