Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Mac OS X 10.15.7
Desktop
10 months ago
Test name Executions per second
IndexOf 21870384.0 Ops/sec
Includes 29014712.0 Ops/sec
lodash 7051722.0 Ops/sec
hash.hasOwnProperty 19069188.0 Ops/sec
hashAccess 25580930.0 Ops/sec
set 28967208.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • IndexOf

  • Includes

  • lodash

  • hash.hasOwnProperty

  • hashAccess

  • set