Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Windows
Desktop
one year ago
Test name Executions per second
indexOf arr10 5760873.0 Ops/sec
delete set10 11470537.0 Ops/sec
indexOf arr30 5412749.5 Ops/sec
delete set30 12648791.0 Ops/sec
indexOf arr99 5604304.5 Ops/sec
delete set100 12549561.0 Ops/sec
Script Preparation code:
Tests:
  • indexOf arr10

  • delete set10

  • indexOf arr30

  • delete set30

  • indexOf arr99

  • delete set100


;