Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
forEach 1995.4 Ops/sec
reduce 1999.2 Ops/sec
map 1580.8 Ops/sec
filter 1458.6 Ops/sec
for 2210.1 Ops/sec
lodash map 1533.4 Ops/sec
lodash filter 1394.2 Ops/sec
lodash foreach 1913.5 Ops/sec
lodash reduce 1936.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for

  • lodash map

  • lodash filter

  • lodash foreach

  • lodash reduce


;