Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Chrome 136
Windows
Desktop
one year ago
Test name Executions per second
Map lookup - large 6998.9 Ops/sec
Map lookup - small 8638.9 Ops/sec
Map lookup - tiny 9336.3 Ops/sec
Obj lookup - large 4639.7 Ops/sec
Obj lookup - small 9584.6 Ops/sec
Obj lookup - tiny 8539.6 Ops/sec
Script Preparation code:
Tests:
  • Map lookup - large

  • Map lookup - small

  • Map lookup - tiny

  • Obj lookup - large

  • Obj lookup - small

  • Obj lookup - tiny