Script Preparation code:
Tests:
  • Array.includes

  • String.includes

  • Object Hash-map

  • ES6 Set

  • Array.indexOf

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.includes
    String.includes
    Object Hash-map
    ES6 Set
    Array.indexOf

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129 on Windows
View result in a separate tab
Test name Executions per second
Array.includes 8027886.0 Ops/sec
String.includes 10178991.0 Ops/sec
Object Hash-map 9064670.0 Ops/sec
ES6 Set 10161015.0 Ops/sec
Array.indexOf 7711914.0 Ops/sec