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 month ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
For In 41.1 Ops/sec
Object values 41.4 Ops/sec
Object keys forEach 42.3 Ops/sec
Object entries forEach 32.2 Ops/sec
object values forEach 40.1 Ops/sec
Object entries plus for loop 37.0 Ops/sec


;