Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Chrome 105
Linux
Desktop
2 years ago
Test name Executions per second
IndexOf 10070389.0 Ops/sec
Includes 13314399.0 Ops/sec
lodash 2957563.2 Ops/sec
hash.hasOwnProperty 9731878.0 Ops/sec
hashAccess 11328185.0 Ops/sec
set 12824102.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • IndexOf

  • Includes

  • lodash

  • hash.hasOwnProperty

  • hashAccess

  • set