Run details:
Mozilla/5.0 (Linux; Android 13; Pixel 4 XL) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
Array to Map and find 104819.4 Ops/sec
Array.find 2295739.0 Ops/sec
Script Preparation code:
Tests:
  • Array to Map and find

  • Array.find