Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0
Firefox 47
Mac OS X 10.11
Other
8 years ago
Test name Executions per second
Literal 91274.2 Ops/sec
Array() 97034.9 Ops/sec
Array(length) 124627.3 Ops/sec
Literal overflow 92695.4 Ops/sec
Array() overflow 93324.9 Ops/sec
Array(length) overflow 102888.4 Ops/sec
Script Preparation code:
Tests:
  • Literal

  • Array()

  • Array(length)

  • Literal overflow

  • Array() overflow

  • Array(length) overflow