Tests:
  • for... in

  • Object.keys()

  • Object.entries()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for... in
    Object.keys()
    Object.entries()

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 5 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0
Firefox 93 on Windows
View result in a separate tab
Test name Executions per second
for... in 2961.4 Ops/sec
Object.keys() 3354.0 Ops/sec
Object.entries() 2880.9 Ops/sec