Run details:
Mozilla/5.0 (Linux; Android 8.1.0; ZC554KL) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.93 Mobile Safari/537.36
Chrome Mobile 79
Android 8.1.0
Mobile
4 years ago
Test name Executions per second
HashMap#in 1044780.6 Ops/sec
HashMap#property 1046405.3 Ops/sec
HashMap#hasOwnProperty 904220.7 Ops/sec
Array#includes 1157305.4 Ops/sec
Array#indexOf 154082.8 Ops/sec
Script Preparation code:
Tests:
  • HashMap#in

  • HashMap#property

  • HashMap#hasOwnProperty

  • Array#includes

  • Array#indexOf


;