Run details:
Mozilla/5.0 (Linux; Android 13; SM-F926U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36
Chrome Mobile 110
Android
Mobile
one year ago
Test name Executions per second
Map.get 14161954.0 Ops/sec
WeakMap.get 10572547.0 Ops/sec
array[0] 10658545.0 Ops/sec
object.a 10947664.0 Ops/sec
object[symbol] 5504721.0 Ops/sec
Script Preparation code:
Tests:
  • Map.get

  • WeakMap.get

  • array[0]

  • object.a

  • object[symbol]


;