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.6M/s
for..of without lambda v2
1.2M/s
for..of without lambda
972K/s
for..of
929K/s
View exact numbers
Test name Executions per second
Array.find() 1,584,251 Ops/sec
for..of without lambda v2 1,216,336 Ops/sec
for..of without lambda 971,664 Ops/sec
for..of 929,216 Ops/sec
Script Preparation code:
Tests: