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:
 
var data = [
  {
    "V20926": "Středočeský",
    "V20925": "@DTM_46032",
    "V20928": "@DTM_46033",
    "iproc_case_status": null,
    "iproc_name": "t3f-1141 DT multi",
    "iproc_description": null,
    "iproc_inst_owner_user": "Fanda Josef",
    "iproc_actual_start_date": "2020-10-06T06:40:59.000Z",
    "iproc_due_date_finish": null,
    "iproc_priority": "M",
    "iproc_summary": "t3f-1141 DT multi: Fanda Josef, \nt3f-1141 DT multiÚkol - url v podminkach: Fanda Josef",
    "iproc_actual_finish_date": null,
    "IPROC_ID": 13849,
    "CS_NAME_CS": null,
    "CS_NAME_EN": null,
    "CS_NAME_SK": null
  },
  {
    "V20926": null,
    "V20925": null,
    "V20928": null,
    "iproc_case_status": null,
    "iproc_name": "t3f-1141 DT multi",
    "iproc_description": null,
    "iproc_inst_owner_user": "Fanda Josef",
    "iproc_actual_start_date": "2020-10-05T13:32:50.000Z",
    "iproc_due_date_finish": null,
    "iproc_priority": "M",
    "iproc_summary": "t3f-1141 DT multi: Fanda Josef, \nt3f-1141 DT multiÚkol - url v podminkach: Fanda Josef",
    "iproc_actual_finish_date": null,
    "IPROC_ID": 13848,
    "CS_NAME_CS": null,
    "CS_NAME_EN": null,
    "CS_NAME_SK": null
  },
  {
    "V20926": null,
    "V20925": null,
    "V20928": null,
    "iproc_case_status": null,
    "iproc_name": "t3f-1141 DT multi",
    "iproc_description": null,
    "iproc_inst_owner_user": "Fanda Josef",
    "iproc_actual_start_date": "2020-10-05T12:07:04.000Z",
    "iproc_due_date_finish": null,
    "iproc_priority": "M",
    "iproc_summary": "t3f-1141 DT multi: Fanda Josef, \nt3f-1141 DT multiÚkol - url v podminkach: Fanda Josef",
    "iproc_actual_finish_date": null,
    "IPROC_ID": 13847,
    "CS_NAME_CS": null,
    "CS_NAME_EN": null,
    "CS_NAME_SK": null
  },
  {
    "V20926": null,
    "V20925": null,
    "V20928": null,
    "iproc_case_status": null,
    "iproc_name": "t3f-1141 DT multi",
    "iproc_description": null,
    "iproc_inst_owner_user": "Fanda Josef",
    "iproc_actual_start_date": "2020-10-05T11:46:14.000Z",
    "iproc_due_date_finish": null,
    "iproc_priority": "M",
    "iproc_summary": "t3f-1141 DT multi: Fanda Josef, \nt3f-1141 DT multiÚkol - url v podminkach: Fanda Josef",
    "iproc_actual_finish_date": null,
    "IPROC_ID": 13846,
    "CS_NAME_CS": null,
    "CS_NAME_EN": null,
    "CS_NAME_SK": null
  },
  {
    "V20926": "Jihočeskýyy",
    "V20925": null,
    "V20928": "1",
    "iproc_case_status": null,
    "iproc_name": "t3f-1141 DT multi",
    "iproc_description": null,
    "iproc_inst_owner_user": "Fanda Josef",
    "iproc_actual_start_date": "2020-10-05T07:35:30.000Z",
    "iproc_due_date_finish": null,
    "iproc_priority": "M",
    "iproc_summary": "t3f-1141 DT multi: Fanda Josef",
    "iproc_actual_finish_date": null,
    "IPROC_ID": 13845,
    "CS_NAME_CS": null,
    "CS_NAME_EN": null,
    "CS_NAME_SK": null
  },
  {
    "V20926": null,
    "V20925": null,
    "V20928": null,
    "iproc_case_status": null,
    "iproc_name": "t3f-1141 DT multi",
    "iproc_description": null,
    "iproc_inst_owner_user": "Fanda Josef",
    "iproc_actual_start_date": "2020-10-02T14:16:13.000Z",
    "iproc_due_date_finish": null,
    "iproc_priority": "M",
    "iproc_summary": "t3f-1141 DT multi: Fanda Josef",
    "iproc_actual_finish_date": null,
    "IPROC_ID": 13844,
    "CS_NAME_CS": null,
    "CS_NAME_EN": null,
    "CS_NAME_SK": null
  },
  {
    "V20926": null,
    "V20925": null,
    "V20928": null,
    "iproc_case_status": null,
    "iproc_name": "t3f-1141 DT multi",
    "iproc_description": null,
    "iproc_inst_owner_user": "Fanda Josef",
    "iproc_actual_start_date": "2020-10-02T14:14:22.000Z",
    "iproc_due_date_finish": null,
    "iproc_priority": "M",
    "iproc_summary": null,
    "iproc_actual_finish_date": null,
    "IPROC_ID": 13843,
    "CS_NAME_CS": null,
    "CS_NAME_EN": null,
    "CS_NAME_SK": null
  }
]
Tests:
  • for of

     
    for (var d of data) {
                 
    }
  • forEach

     
    data.forEach(d => {
     
    })
  • _forEach

     
    _(data).forEach(function(n) {
      
    });
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    for of
    forEach
    _forEach

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Chrome 85 on Mac OS X 10.15.6
View result in a separate tab
Test name Executions per second
for of 13009004.0 Ops/sec
forEach 14161423.0 Ops/sec
_forEach 3466511.5 Ops/sec