Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Chrome 78
Mac OS X 10.15.2
Desktop
4 years ago
Test name Executions per second
getOwnPropertyNames 4809776.0 Ops/sec
Cached property names 4092562.8 Ops/sec
for in 11431142.0 Ops/sec
Object.keys 4994394.0 Ops/sec
Script Preparation code:
Tests:
  • getOwnPropertyNames

  • Cached property names

  • for in

  • Object.keys