Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Chrome 103
Mac OS X 10.14.4
Desktop
2 years ago
Test name Executions per second
Object.keys().length 69.1 Ops/sec
Map.size 17099746.0 Ops/sec
Script Preparation code:
Tests:
  • Object.keys().length

  • Map.size