Script Preparation code:
Tests:
  • array.find 1st

  • array.find middle

  • array find last

  • map.get

  • iterate array

  • iterate object

  • iterate object predefined keys

  • Object.entries

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    array.find 1st
    array.find middle
    array find last
    map.get
    iterate array
    iterate object
    iterate object predefined keys
    Object.entries

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117 on Windows
View result in a separate tab
Test name Executions per second
array.find 1st 14129685.0 Ops/sec
array.find middle 13628536.0 Ops/sec
array find last 12701826.0 Ops/sec
map.get 15465127.0 Ops/sec
iterate array 9809234.0 Ops/sec
iterate object 412688.4 Ops/sec
iterate object predefined keys 439534.9 Ops/sec
Object.entries 1889424.1 Ops/sec


;