Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0
Chrome 126
Windows
Desktop
6 months ago
Test name Executions per second
Conspicuous Map lookup 104.3 Ops/sec
Conspicuous Obj lookup 113.2 Ops/sec
Conspicuous Map lookup 2 108.6 Ops/sec
Conspicuous Obj lookup 2 112.9 Ops/sec
add arr 405.6 Ops/sec
add map 357.0 Ops/sec
Script Preparation code:
Tests:
  • Conspicuous Map lookup

  • Conspicuous Obj lookup

  • Conspicuous Map lookup 2

  • Conspicuous Obj lookup 2

  • add arr

  • add map