Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.81 Safari/537.36
Chrome 72
Linux
Desktop
4 years ago
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
HTML Preparation code:
Script Preparation code:
Tests:
  • string IndexOf

  • string Includes

  • lodash includes

  • lodash indexOf


;