Script Preparation code:
Tests:

Historical Performance Data aggregated from 11 community runs

Desktop Results:
Chrome 11 runs
object keys
9.5M/s
json stringify
5.8M/s

Fastest: object keys (1.6x faster)

View exact numbers
  • object keys: 9,485,219 ops/sec
  • json stringify: 5,803,860 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    object keys
    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/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131 on Mac OS X 10.15.7
View result in a separate tab
object keys
86.4M/s
json stringify
19.4M/s
View exact numbers
Test name Executions per second
object keys 86,408,152 Ops/sec
json stringify 19,369,732 Ops/sec