Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36 OPR/39.0.2256.48
Opera 39
Mac OS X 10.11.6
Other
8 years ago
Test name Executions per second
Literal 9783.0 Ops/sec
Array() 10036.0 Ops/sec
Array(length) 11018.4 Ops/sec
Literal overflow 10101.2 Ops/sec
Array() overflow 9866.3 Ops/sec
Array(length) overflow 10370.7 Ops/sec
Script Preparation code:
Tests:
  • Literal

  • Array()

  • Array(length)

  • Literal overflow

  • Array() overflow

  • Array(length) overflow