Script Preparation code:
Tests:
  • getOwnPropertyNames

  • Cached property names

  • for in

  • Object.keys

  • Object.entries

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    getOwnPropertyNames
    Cached property names
    for in
    Object.keys
    Object.entries

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0
Firefox 81 on Linux
View result in a separate tab
Test name Executions per second
getOwnPropertyNames 5180960.0 Ops/sec
Cached property names 26670394.0 Ops/sec
for in 24061194.0 Ops/sec
Object.keys 5236269.5 Ops/sec
Object.entries 1151139.4 Ops/sec