Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Mobile Safari/537.36
Chrome Mobile 144
Android
Mobile
2 months ago
Test name Executions per second
Array.find existing 30043012.0 Ops/sec
Array.find non-existing 24686876.0 Ops/sec
Set.has existing 45339616.0 Ops/sec
Set.has non-Existing 47869588.0 Ops/sec
Script Preparation code:
Tests:
  • Array.find existing

  • Array.find non-existing

  • Set.has existing

  • Set.has non-Existing