HTML Preparation code:
Script Preparation code:
Tests:
  • Vanilla JS

  • Lodash

  • for each

  • for loop

  • new Set

  • lodash v2

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Vanilla JS
    Lodash
    for each
    for loop
    new Set
    lodash v2

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62
Chrome 116 on Windows
View result in a separate tab
Test name Executions per second
Vanilla JS 152786.2 Ops/sec
Lodash 11141.1 Ops/sec
for each 179472.2 Ops/sec
for loop 5798.8 Ops/sec
new Set 211929.9 Ops/sec
lodash v2 9269.3 Ops/sec


;