Script Preparation code:
Tests:
  • Array.includes

  • Set.has

  • Array.find

  • Map.has

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.includes
    Set.has
    Array.find
    Map.has

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.821 YaBrowser/23.11.2.821 Yowser/2.5 Safari/537.36
Yandex Browser 23 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Array.includes 27949182.0 Ops/sec
Set.has 27225324.0 Ops/sec
Array.find 22223546.0 Ops/sec
Map.has 23196666.0 Ops/sec


;