Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0
Firefox 120
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Test reduce 11220439.0 Ops/sec
test flatMap and filter 7408630.5 Ops/sec
tetsing with for..of loop 21990656.0 Ops/sec
testing flatMap and filter 2 7525118.5 Ops/sec
Script Preparation code:
Tests:
  • Test reduce

  • test flatMap and filter

  • tetsing with for..of loop

  • testing flatMap and filter 2