Script Preparation code:
Tests:
  • ARRincludes

  • Arr find

  • SET has

  • Arr some

  • Arr indexOf

  • Arr sort + index

  • Arr presorted with remove - splice

  • Arr presorted with remove - set

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    ARRincludes
    Arr find
    SET has
    Arr some
    Arr indexOf
    Arr sort + index
    Arr presorted with remove - splice
    Arr presorted with remove - set

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
ARRincludes 9165.2 Ops/sec
Arr find 284.4 Ops/sec
SET has 15578.1 Ops/sec
Arr some 286.8 Ops/sec
Arr indexOf 9032.0 Ops/sec
Arr sort + index 29756.0 Ops/sec
Arr presorted with remove - splice 12583.1 Ops/sec
Arr presorted with remove - set 573.7 Ops/sec


;