HTML Preparation code:
Script Preparation code:
Tests:
  • string IndexOf

  • string Includes

  • lodash includes

  • lodash indexOf

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    string IndexOf
    string Includes
    lodash includes
    lodash 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/72.0.3626.81 Safari/537.36
Chrome 72 on Linux
View result in a separate tab
Test name Executions per second
string IndexOf 9210427.0 Ops/sec
string Includes 7060361.0 Ops/sec
lodash includes 2927401.8 Ops/sec
lodash indexOf 1430293.1 Ops/sec


;