Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.3.1
Mobile
9 months ago
Test name Executions per second
forEach 1022.4 Ops/sec
reduce 982.1 Ops/sec
map 986.1 Ops/sec
filter 902.0 Ops/sec
for 759.3 Ops/sec
lodash map 970.8 Ops/sec
lodash filter 825.3 Ops/sec
lodash foreach 955.9 Ops/sec
lodash reduce 977.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for

  • lodash map

  • lodash filter

  • lodash foreach

  • lodash reduce


;