Script Preparation code:
Tests:
  • Foreach(lodash)

  • ForOf(native)

  • ForIn(native)

  • For(native)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Foreach(lodash)
    ForOf(native)
    ForIn(native)
    For(native)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36
Chrome 80 on Linux
View result in a separate tab
Test name Executions per second
Foreach(lodash) 2706.2 Ops/sec
ForOf(native) 100065.3 Ops/sec
ForIn(native) 714.1 Ops/sec
For(native) 641.3 Ops/sec


;