Run details:
Mozilla/5.0 (Linux; Android 12; SM-G973U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
Map.get 8871190.0 Ops/sec
WeakMap.get 7736295.0 Ops/sec
array[0] 8943465.0 Ops/sec
object.a 9086004.0 Ops/sec
object[symbol] 4605029.0 Ops/sec
Script Preparation code:
Tests:
  • Map.get

  • WeakMap.get

  • array[0]

  • object.a

  • object[symbol]


;