HTML Preparation code:
Script Preparation code:
Tests:
  • for loop

  • Array.prototype.forEach

  • lodash each

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for loop
    Array.prototype.forEach
    lodash each

    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_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
Chrome 77 on Mac OS X 10.15.3
View result in a separate tab
Test name Executions per second
for loop 1633.5 Ops/sec
Array.prototype.forEach 19314.9 Ops/sec
lodash each 8705.3 Ops/sec