• Z Nguyen-Huu's avatar
    Add fast path for proxy with preventExtensions trap · 8e0ef9b9
    Z Nguyen-Huu authored
    ObjectPreventExtensions and ReflectPreventExtensions 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:
    PreventExtensionsWithoutTrap-Proxies(Score): 1978
    PreventExtensionsWithTrap-Proxies(Score): 739
    
    After:
    PreventExtensionsWithoutTrap-Proxies(Score): 3017
    PreventExtensionsWithTrap-Proxies(Score): 2044
    
    Bug: v8:6664
    Change-Id: I6505d730cea6b0d197f6f5d0540b39056c8b763d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1652688
    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@{#62130}
    8e0ef9b9
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...