v8/test
Simon Zünd a6c71508c5 [typedarray] Change TypedArray.p.sort implementation.
This CL uses the new function pointers and generic features of Torque
to improve the performance of TypedArray.p.sort.

Instead of one Load/Store builtin that dispatches at runtime based on
the element kind, there are now many small builtins (one for each
element kind). The sorting algorithm then uses function pointers to
those small builtins, which get set once.

Changes in the relevant benchmarks:

Benchmark   Original (JS)   Current   This CL
IntTypes             83.9     202.3     240.7
BigIntTypes          32.1      47.2      53.3
FloatTypes           99.3     109.3     129.3

Bug: v8:7382
Change-Id: I8684410524d546615b19f6edcbfdc615068196aa
Reviewed-on: https://chromium-review.googlesource.com/1070069
Commit-Queue: Simon Zünd <szuend@google.com>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53322}
2018-05-24 10:29:12 +00:00
..
benchmarks Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
cctest [wasm] Add simd binops to wasm interpreter 2018-05-23 22:56:36 +00:00
common [wasm] Make wasm::ValueType independent of the MachineRepresentation 2018-05-07 11:54:56 +00:00
debugger [wasm] Create module object in async compilation earlier. 2018-05-09 07:54:56 +00:00
fuzzer [wasm] Make wasm::ValueType independent of the MachineRepresentation 2018-05-07 11:54:56 +00:00
inspector [wasm] Don't extract call target from WasmExportedFunction 2018-05-17 16:34:49 +00:00
intl Implementing Intl.Locale proposal. 2018-05-15 22:25:02 +00:00
js-perf-test [js-perf-test] Fix tests on android 2018-05-24 09:09:59 +00:00
memory Reland "[tools] Add benchmark owners to the config" 2018-05-16 13:53:49 +00:00
message [builtins] Fix error message in Proxy set trap 2018-05-14 16:37:20 +00:00
mjsunit [typedarray] Change TypedArray.p.sort implementation. 2018-05-24 10:29:12 +00:00
mkgrokdump Disable embedded builtins 2018-05-08 11:21:37 +00:00
mozilla [test] Reverse sense of wasm_traps variant 2018-05-08 17:49:14 +00:00
preparser Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
test262 [esnext] Rename Array#flatten to flat 2018-05-23 02:13:05 +00:00
torque [torque] add type alias declarations 2018-05-22 21:56:13 +00:00
unittests [heap] Remove anchor page from Space. 2018-05-22 17:48:02 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-05-22 09:47:41 +00:00
webkit [test] Skip slow tests 2018-05-23 14:14:34 +00:00
BUILD.gn Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00