Script Preparation code:
Tests:
  • For In

  • Object values

  • Object keys forEach

  • Object entries forEach

  • object values forEach

  • array foreach

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
    array foreach

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128 on Linux
View result in a separate tab
Test name Executions per second
For In 11.2 Ops/sec
Object values 11.1 Ops/sec
Object keys forEach 13.0 Ops/sec
Object entries forEach 8.3 Ops/sec
object values forEach 8.8 Ops/sec
array foreach 12.0 Ops/sec


;