Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Linux
Desktop
9 months ago
Test name Executions per second
for loop 548.6 Ops/sec
javascript array.find 4168.9 Ops/sec
javascript array.find with function 4167.5 Ops/sec
javascript array.find with function and index 4219.5 Ops/sec
Script Preparation code:
Tests:
  • for loop

  • javascript array.find

  • javascript array.find with function

  • javascript array.find with function and index


;