Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
Firefox 125
Ubuntu
Desktop
8 months ago
Test name Executions per second
getOwnPropertyNames 6577806.5 Ops/sec
Cached property names 22488398.0 Ops/sec
for in 15735208.0 Ops/sec
Object.keys 7526897.0 Ops/sec
Script Preparation code:
Tests:
  • getOwnPropertyNames

  • Cached property names

  • for in

  • Object.keys