Script Preparation code:
Tests:
  • forEach

  • map

  • find and foreach

  • nested foreach and filter

  • nested filter and map

  • nested filter and reduce

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    forEach
    map
    find and foreach
    nested foreach and filter
    nested filter and map
    nested filter and reduce

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 OPR/94.0.0.0
Opera 94 on Windows
View result in a separate tab
Test name Executions per second
forEach 521174.6 Ops/sec
map 492298.3 Ops/sec
find and foreach 505074.3 Ops/sec
nested foreach and filter 6860544.0 Ops/sec
nested filter and map 8766039.0 Ops/sec
nested filter and reduce 9813827.0 Ops/sec