Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Chrome 127
Windows
Desktop
2 months ago
Test name Executions per second
Array.find, 3elements 2075545.9 Ops/sec
Map.get, 3 elements 2150914.0 Ops/sec
Array.find, 10 elements 1435358.4 Ops/sec
Map.get, 10 elements 1629295.4 Ops/sec
Script Preparation code:
Tests:
  • Array.find, 3elements

  • Map.get, 3 elements

  • Array.find, 10 elements

  • Map.get, 10 elements


;