Run details:
Mozilla/5.0 (X11; CrOS x86_64 13597.94.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.186 Safari/537.36
Chrome 88
Chrome OS 13597.94.0
Desktop
3 years ago
Test name Executions per second
Array.prototype.findIndex 310.7 Ops/sec
Array.prototype.map + Array.prototype.indexOf 1666.1 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.findIndex

  • Array.prototype.map + Array.prototype.indexOf