Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0) Gecko/20100101 Firefox/48.0
Firefox 48
Mac OS X 10.11
Other
8 years ago
Test name Executions per second
Literal 95256.7 Ops/sec
Array() 98057.3 Ops/sec
Array(length) 122401.3 Ops/sec
Literal overflow 99568.3 Ops/sec
Array() overflow 101156.9 Ops/sec
Array(length) overflow 103307.8 Ops/sec
Script Preparation code:
Tests:
  • Literal

  • Array()

  • Array(length)

  • Literal overflow

  • Array() overflow

  • Array(length) overflow