Script Preparation code:
Tests:
  • Literal with push

  • Constructor() with push

  • Constructor(times) with push

  • Literal with index

  • Constructor() with index

  • Constructor(times) with index

  • Literal with push and overflow

  • Constructor() with push and overflow

  • Constructor(times) with push and overflow

  • Literal with index and overflow

  • Constructor() with index and overflow

  • Constructor(times) with index and overflow

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Literal with push
    Constructor() with push
    Constructor(times) with push
    Literal with index
    Constructor() with index
    Constructor(times) with index
    Literal with push and overflow
    Constructor() with push and overflow
    Constructor(times) with push and overflow
    Literal with index and overflow
    Constructor() with index and overflow
    Constructor(times) with index and overflow

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 7 years ago)
Mozilla/5.0 (Android 5.0.1; Mobile; rv:47.0) Gecko/47.0 Firefox/47.0
Firefox Mobile 47 on Android 5.0.1
View result in a separate tab
Test name Executions per second
Literal with push 29293.9 Ops/sec
Constructor() with push 35772.5 Ops/sec
Constructor(times) with push 17113.1 Ops/sec
Literal with index 27947.1 Ops/sec
Constructor() with index 32031.6 Ops/sec
Constructor(times) with index 23458.8 Ops/sec
Literal with push and overflow 25828.3 Ops/sec
Constructor() with push and overflow 31200.4 Ops/sec
Constructor(times) with push and overflow 15159.5 Ops/sec
Literal with index and overflow 28662.3 Ops/sec
Constructor() with index and overflow 32597.1 Ops/sec
Constructor(times) with index and overflow 24358.1 Ops/sec