Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Chrome 51
Mac OS X 10.11.4
Other
7 years ago
Test name Executions per second
Literal 9084.4 Ops/sec
Array() 8653.8 Ops/sec
Array(length) 9228.9 Ops/sec
Literal overflow 8027.5 Ops/sec
Array() overflow 8085.9 Ops/sec
Array(length) overflow 9028.5 Ops/sec
Script Preparation code:
Tests:
  • Literal

  • Array()

  • Array(length)

  • Literal overflow

  • Array() overflow

  • Array(length) overflow