HTML Preparation code:
AخA
 
1
<script src="https://cdn.jsdelivr.net/lodash/4.16.0/lodash.min.js"></script>
Script Preparation code:
 
var array = _.range(1000);
Tests:
  • Strict

     
    _.map(_.filter(array, function(n) { return n > 998; }), function(n) { return {test: n}; });
  • Lazy

     
    _(array).filter(function(n) { return n > 998; }).map(function(n) { return {test: n}; });
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Strict
    Lazy

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 years ago)
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
Chrome 54 on Windows
View result in a separate tab
Test name Executions per second
Strict 73444.6 Ops/sec
Lazy 1146513.2 Ops/sec