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

     
    _.map(values, function(v,i) {})
  • Array

     
    values.map(function(v,i) {})
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    lodash
    Array

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36
Chrome 66 on Mac OS X 10.13.4
View result in a separate tab
Test name Executions per second
lodash 2470273.2 Ops/sec
Array 9558808.0 Ops/sec