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 6862.1 Ops/sec
Map lookup - small 8545.8 Ops/sec
Map lookup - tiny 8651.5 Ops/sec
Obj lookup - large 4371.6 Ops/sec
Obj lookup - small 8923.0 Ops/sec
Obj lookup - tiny 7901.4 Ops/sec
Script Preparation code:
Tests:
  • Map lookup - large

  • Map lookup - small

  • Map lookup - tiny

  • Obj lookup - large

  • Obj lookup - small

  • Obj lookup - tiny