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 Edg/136.0.0.0
Chrome 136
Windows
Desktop
one year ago
Test name Executions per second
Map lookup - large 6599.5 Ops/sec
Map lookup - small 8622.9 Ops/sec
Map lookup - tiny 8709.5 Ops/sec
Obj lookup - large 4425.2 Ops/sec
Obj lookup - small 9107.9 Ops/sec
Obj lookup - tiny 8133.3 Ops/sec
Script Preparation code:
Tests:
  • Map lookup - large

  • Map lookup - small

  • Map lookup - tiny

  • Obj lookup - large

  • Obj lookup - small

  • Obj lookup - tiny