Run details:
Mozilla/5.0 (Linux; Android 7.1.2; ONE A2005 Build/NJH47F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36
Chrome Mobile 69
Android 7.1.2
Mobile
6 years ago
Test name Executions per second
Polyfill Map by Object 483362.4 Ops/sec
Native Map by Object 641190.8 Ops/sec
Native Map by JSON 110736.3 Ops/sec
Object by JSON 125756.2 Ops/sec
Native WeakMap by Object 684669.2 Ops/sec
Script Preparation code:
Tests:
  • Polyfill Map by Object

  • Native Map by Object

  • Native Map by JSON

  • Object by JSON

  • Native WeakMap by Object


;