• peterwmwong's avatar
    [builtins] Port TypedArray join, toString, and toLocaleString to Torque. · d1c15973
    peterwmwong authored
    Micro-benchmarks show speed improvements across the various types:
    
    TypedArrays-JoinBigIntTypes                7246   8297  14.50%
    TypedArrays-JoinBigIntTypes                7194   8637  20.06%
    TypedArrays-JoinBigIntTypes                7258   8586  18.30%
    TypedArrays-JoinFloatTypes                24461  28628  17.04%
    TypedArrays-JoinFloatTypes                24523  29647  20.89%
    TypedArrays-JoinFloatTypes                24419  29327  20.10%
    TypedArrays-JoinIntTypes                  23378  33928  45.13%
    TypedArrays-JoinIntTypes                  23333  34034  45.86%
    TypedArrays-JoinIntTypes                  21653  34000  57.02%
    TypedArrays-JoinWithSeparatorBigIntTypes   6620   7339  10.86%
    TypedArrays-JoinWithSeparatorBigIntTypes   6566   7579  15.43%
    TypedArrays-JoinWithSeparatorBigIntTypes   6631   7481  12.82%
    TypedArrays-JoinWithSeparatorFloatTypes   18695  19670   5.22%
    TypedArrays-JoinWithSeparatorFloatTypes   18518  20088   8.48%
    TypedArrays-JoinWithSeparatorFloatTypes   18482  20193   9.26%
    TypedArrays-JoinWithSeparatorIntTypes     17849  21482  20.35%
    TypedArrays-JoinWithSeparatorIntTypes     17831  21578  21.01%
    TypedArrays-JoinWithSeparatorIntTypes     17937  21578  20.30%
    
    Drive-by: Removed unused CSA helper InternalArrayCreate.
    
    Bug: v8:7624
    Change-Id: I8e63815982439cfd2267417d03cd2b71b4b7a812
    Reviewed-on: https://chromium-review.googlesource.com/c/1369330
    Commit-Queue: Peter Wong <peter.wm.wong@gmail.com>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#58167}
    d1c15973
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...