Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36 Edg/103.0.1264.49
Chrome 103
Windows
Desktop
2 years ago
Test name Executions per second
Map 0.9 - get 3416.4 Ops/sec
Map 0.9 - has get 2755.3 Ops/sec
Map 0.5 - get 3461.5 Ops/sec
Map 0.5 - has get 3473.9 Ops/sec
Map 0.1 - get 3466.0 Ops/sec
Map 0.1 - has get 4995.7 Ops/sec
Script Preparation code:
Tests:
  • Map 0.9 - get

  • Map 0.9 - has get

  • Map 0.5 - get

  • Map 0.5 - has get

  • Map 0.1 - get

  • Map 0.1 - has get


;