Script Preparation code:
Tests:
  • For In

  • Object values

  • Object keys forEach

  • Object entries forEach

  • object values forEach

  • Object entries plus for loop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    For In
    Object values
    Object keys forEach
    Object entries forEach
    object values forEach
    Object entries plus for loop

    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/119.0.0.0 Safari/537.36
Chrome 119 on Windows
View result in a separate tab
Test name Executions per second
For In 18.5 Ops/sec
Object values 18.4 Ops/sec
Object keys forEach 20.1 Ops/sec
Object entries forEach 15.1 Ops/sec
object values forEach 21.3 Ops/sec
Object entries plus for loop 19.8 Ops/sec


;