Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Chrome 74
Windows
Desktop
5 years ago
Test name Executions per second
for 7213.6 Ops/sec
findIndex 20192.5 Ops/sec
find 20131.8 Ops/sec
reduce 10218.4 Ops/sec
filter 5675.4 Ops/sec
Script Preparation code:
Tests:
  • for

  • findIndex

  • find

  • reduce

  • filter


;