Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    object.keys()
    object.values()
    JSON.stringify()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3 Safari/605.1.15
Safari 18 on Mac OS X 10.15.7
View result in a separate tab
object.keys()
136.9M/s
object.values()
50.9M/s
JSON.stringify()
36.9M/s
View exact numbers
Test name Executions per second
object.keys() 136,856,944 Ops/sec
object.values() 50,887,124 Ops/sec
JSON.stringify() 36,936,192 Ops/sec