Map vs Object (2)

Lookup of map vs object
3 months ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15
Test name Executions per second
Map lookup 25.9 Ops/sec
Obj lookup 21.8 Ops/sec
Script Preparation code:
Tests:
  • Map lookup

  • Obj lookup

Open this result on MeasureThat.net