HTML Preparation code:
AخA
 
1
<script src="https://cdn.jsdelivr.net/lodash/4.16.0/lodash.min.js"></script>
Script Preparation code:
 
var value = [{a: 30310}, {b: 100303}, {c: 3040494}]
Tests:
  • lodash.each

     
    _.each(value, function(v,i) {})
  • native

     
    value.forEach(function(v,i) {})
  • lodash.forEach

     
    _.forEach(value, function(v,i) {})
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    lodash.each
    native
    lodash.forEach

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0
Firefox 100 on Ubuntu
View result in a separate tab
Test name Executions per second
lodash.each 14263258.0 Ops/sec
native 98018536.0 Ops/sec
lodash.forEach 12119508.0 Ops/sec