DescriptionVarious species micro-optimizations
- Inline reads to the species protector
- Put V8_LIKELY/V8_UNLIKELY to guide Array.prototype.{slice,splice,concat}
to the fast paths
- Put the Array species good path checks directly in
Array.prototype.concat to avoid a couple reads of the array constructor
from the native context
These changes together bring a ~4-6% win on
kraken-orig/stanford-crypto-pbkdf2-orig which more than makes up from
the performance degradation from a recent other species-related change.
BUG=chromium:609739
R=cbruni@chromium.org
LOG=Y
Committed: https://crrev.com/f98caf44b80d826227ae5daaac465aa0969a74dc
Cr-Commit-Position: refs/heads/master@{#36121}
Patch Set 1 #Patch Set 2 : Fix bug and formatting #
Messages
Total messages: 17 (8 generated)
|