[typedarray] Speed up and simplify TypedArray#set overlap cases
- Remove CSA fallback to runtime for overlap cases - Move overlap handling from runtime into elements.cc Depending on typed array size (and overlap size), quick measurements show a 4.3x - 8x improvement. This fixes large >5x performance cliff between overlap and non-overlap cases. https://github.com/peterwmwong/v8-perf/blob/master/typedarray-set-overlap-fast-c-call/README.md Bug: v8:5929 Change-Id: I47758d2ee603bc26f38dd9112567113cf887f5d5 Reviewed-on: https://chromium-review.googlesource.com/846378Reviewed-by: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Peter Marshall <petermarshall@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Peter Wong <peter.wm.wong@gmail.com> Cr-Commit-Position: refs/heads/master@{#50578}
Showing
Please
register
or
sign in
to comment