Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7
Safari 9
Mac OS X 10.11.6
Other
8 years ago
Test name Executions per second
Literal 12648.5 Ops/sec
Array() 12508.3 Ops/sec
Array(length) 12612.3 Ops/sec
Literal overflow 12280.4 Ops/sec
Array() overflow 12417.7 Ops/sec
Array(length) overflow 12549.5 Ops/sec
Script Preparation code:
Tests:
  • Literal

  • Array()

  • Array(length)

  • Literal overflow

  • Array() overflow

  • Array(length) overflow