Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36
Chrome Mobile 114
Android
Mobile
one year ago
Test name Executions per second
Map.get 18690876.0 Ops/sec
WeakMap.get 17407706.0 Ops/sec
array[0] 18794300.0 Ops/sec
object.a 18798044.0 Ops/sec
object[symbol] 9656056.0 Ops/sec
Script Preparation code:
Tests:
  • Map.get

  • WeakMap.get

  • array[0]

  • object.a

  • object[symbol]


;