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 5816277.5 Ops/sec
delete set10 12221324.0 Ops/sec
indexOf arr30 6415757.5 Ops/sec
delete set30 12544301.0 Ops/sec
indexOf arr99 5991055.5 Ops/sec
delete set100 12133273.0 Ops/sec
Script Preparation code:
Tests:
  • indexOf arr10

  • delete set10

  • indexOf arr30

  • delete set30

  • indexOf arr100

  • delete set100


;