Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0
Firefox 75
Ubuntu
Desktop
4 years ago
Test name Executions per second
getOwnPropertyNames 2600292.2 Ops/sec
Cached property names 12779410.0 Ops/sec
for in 11862310.0 Ops/sec
Object.keys 2586996.8 Ops/sec
Script Preparation code:
Tests:
  • getOwnPropertyNames

  • Cached property names

  • for in

  • Object.keys