Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Windows
Desktop
one month ago
Test name Executions per second
Object.hasOwnProperty 5263750.0 Ops/sec
Object in 4810575.5 Ops/sec
Array.indexOf 615126.1 Ops/sec
direct 4456787.0 Ops/sec
Array includes 648026.6 Ops/sec
Script Preparation code:
Tests:
  • Object.hasOwnProperty

  • Object in

  • Array.indexOf

  • direct

  • Array includes


;