Run details:
Mozilla/5.0 (Linux; Android 10; moto g(7) power) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android
Mobile
one year ago
Test name Executions per second
find by binary search array 267509.0 Ops/sec
find by array polling 122488.4 Ops/sec
find by hashmap 562147.0 Ops/sec
Script Preparation code:
Tests:
  • find by binary search array

  • find by array polling

  • find by hashmap