Description[runtime] Speed up C++ version of ArrayPush
Mostly by avoiding unnecessary Handle/HandleScope creation,
"length" property lookups, and length conversions.
This yields about 60% speedup on the microbenchmark I tested with.
Note that the C++ builtin is the middle performance tier of three,
so not every Array.push use case will be affected by this patch.
Committed: https://crrev.com/2ae50119cbf794b5c67b412b775bc40e132af1c8
Cr-Commit-Position: refs/heads/master@{#34268}
Patch Set 1 #
Total comments: 2
Patch Set 2 : rebased #Patch Set 3 : add TODO for Toon's comment #
Messages
Total messages: 17 (8 generated)
|