Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Chrome 95
Windows
Desktop
3 years ago
Test name Executions per second
IndexOf 13866412.0 Ops/sec
Includes 8448114.0 Ops/sec
lodash 1384708.2 Ops/sec
hash.hasOwnProperty 12578608.0 Ops/sec
hashAccess 12741209.0 Ops/sec
set 13289098.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • IndexOf

  • Includes

  • lodash

  • hash.hasOwnProperty

  • hashAccess

  • set