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()
1.4M/s
for..of without lambda v2
1.2M/s
for..of without lambda
803K/s
for..of
775K/s
View exact numbers
Test name Executions per second
Array.find() 1,430,840 Ops/sec
for..of without lambda v2 1,215,372 Ops/sec
for..of without lambda 802,794 Ops/sec
for..of 774,930 Ops/sec
Script Preparation code:
Tests: