Script Preparation code:
Tests:
  • array length = 0

  • array = []

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    array length = 0
    array = []

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 days ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 18_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0.1 Mobile/15E148 Safari/604.1
Mobile Safari 18 on iOS 18.0.1
View result in a separate tab
Test name Executions per second
array length = 0 22651920.0 Ops/sec
array = [] 19321100.0 Ops/sec