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 7296244.5 Ops/sec
Cached property names 24212460.0 Ops/sec
for in 16048782.0 Ops/sec
Object.keys 8852489.0 Ops/sec
Script Preparation code:
Tests:
  • getOwnPropertyNames

  • Cached property names

  • for in

  • Object.keys