Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Windows
Desktop
2 years ago
Benchmark.js
find().find()
17.3M/s
flatMap().find()
16.9M/s
View exact numbers
Test name Executions per second
find().find() 17,338,530 Ops/sec
flatMap().find() 16,896,994 Ops/sec
Script Preparation code:
Tests: