Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0
Firefox 73
Windows
Desktop
4 years ago
Test name Executions per second
Polyfill Map by Object 2133505.2 Ops/sec
Native Map by Object 8496938.0 Ops/sec
Native Map by JSON 412205.5 Ops/sec
Object by JSON 422424.5 Ops/sec
Native WeakMap by Object 7513295.5 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


;