Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Windows
Desktop
4 months ago
Test name Executions per second
Array.find, 3elements 39232944.0 Ops/sec
Map.get, 3 elements 1016608256.0 Ops/sec
Array.find, 10 elements 12292377.0 Ops/sec
Map.get, 10 elements 1015722624.0 Ops/sec
Script Preparation code:
Tests:
  • Array.find, 3elements

  • Map.get, 3 elements

  • Array.find, 10 elements

  • Map.get, 10 elements