Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Chrome 102
Windows
Desktop
2 years ago
Test name Executions per second
Map 0.9 - get 3606.9 Ops/sec
Map 0.9 - has get 2889.3 Ops/sec
Map 0.5 - get 3606.9 Ops/sec
Map 0.5 - has get 3698.8 Ops/sec
Map 0.1 - get 3554.8 Ops/sec
Map 0.1 - has get 5161.3 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


;