Script Preparation code:
Tests:
  • Decide length in `new`

  • Decide length with .length

  • Push items separately

  • Assign items separately

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Decide length in `new`
    Decide length with .length
    Push items separately
    Assign items separately

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 years ago)
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Chrome 55 on Windows 7
View result in a separate tab
Test name Executions per second
Decide length in `new` 79507.8 Ops/sec
Decide length with .length 78777.3 Ops/sec
Push items separately 70483.2 Ops/sec
Assign items separately 70598.0 Ops/sec


;