Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0
Firefox 146
Mac OS X 10.15
Desktop
6 months ago
Array.find()
12.6M/s
for..of without lambda
8.1M/s
for..of
7.3M/s
View exact numbers
Test name Executions per second
Array.find() 12,647,718 Ops/sec
for..of without lambda 8,093,198 Ops/sec
for..of 7,255,047 Ops/sec
Script Preparation code:
Tests: