• peterwmwong's avatar
    [typedarray] Port TypedArray#filter to Torque. · 7c89c29b
    peterwmwong authored
    Also ports GrowableFixedArray to Torque. The CSA version is preserved
    for now, as the Torque structs are not consumable by CSA builtins yet
    (Struct methods are inlined).
    
    TypedArrayPrototypeFilter builtin size decreased by 24% (Mac x64.release):
      TFJ Builtin, TypedArrayPrototypeFilter, 5689 -> 4298
    
    TypedArrays/Filter micro benchmarks have improved 10-15% (Mac x64.release):
      TypedArrays-Uint8Array(Score):     746 -> 857
      TypedArrays-Uint16Array(Score):    758 -> 862
      TypedArrays-Uint32Array(Score):    746 -> 855
      TypedArrays-Float32Array(Score):   749 -> 817
      TypedArrays-Float64Array(Score):   751 -> 839
      TypedArrays-BigUint64Array(Score): 562 -> 625
    
    Bug: v8:8906
    Change-Id: I1172b7407de95b067448e680ec327e726e9194cf
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1501469
    Commit-Queue: Peter Wong <peter.wm.wong@gmail.com>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarSimon Zünd <szuend@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60035}
    7c89c29b
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.clang-tidy Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...