Script Preparation code:
Tests:
  • for with a small json

  • Object.keys with a small json

  • Object.values with a small json

  • for with a big json

  • Object.keys with a big json

  • Object.values with a big json

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for with a small json
    Object.keys with a small json
    Object.values with a small json
    for with a big json
    Object.keys with a big json
    Object.values with a big json

    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: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0
Firefox 100 on Windows
View result in a separate tab
Test name Executions per second
for with a small json 4293085.0 Ops/sec
Object.keys with a small json 1263206.0 Ops/sec
Object.values with a small json 883448.3 Ops/sec
for with a big json 5521.8 Ops/sec
Object.keys with a big json 615.7 Ops/sec
Object.values with a big json 484.6 Ops/sec