HTML Preparation code:
AخA
 
1
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.5/lodash.min.js'></script>
Script Preparation code:
 
arrays = new Array(1000000).fill(1).map((_,index) => index);
Tests:
  • 1

     
    const test = arrays.map(item =>item);
  • 2

     
    const test = _.map(arrays, (item) => item);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    1
    2

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Linux; Android 10; GM1910) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.134 Mobile Safari/537.36
Chrome Mobile 91 on Android
View result in a separate tab
Test name Executions per second
1 26.9 Ops/sec
2 135.0 Ops/sec