Script Preparation code:
Tests:
  • set-has

  • indexOf

  • smart indexOf

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    set-has
    indexOf
    smart indexOf

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36
Chrome 80 on Linux
View result in a separate tab
Test name Executions per second
set-has 8.7 Ops/sec
indexOf 0.2 Ops/sec
smart indexOf 0.1 Ops/sec