Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Chrome 51
Mac OS X 10.11.3
Other
8 years ago
Test name Executions per second
Literal 6866.7 Ops/sec
Array() 6662.1 Ops/sec
Array(length) 6278.9 Ops/sec
Literal overflow 5424.2 Ops/sec
Array() overflow 6703.8 Ops/sec
Array(length) overflow 7028.4 Ops/sec
Script Preparation code:
Tests:
  • Literal

  • Array()

  • Array(length)

  • Literal overflow

  • Array() overflow

  • Array(length) overflow