Script Preparation code:
Tests:
  • Array.find, 50 elements

  • Map.get, 50 elements

  • Array.find, 100 elements

  • Map.get, 100 elements

  • Array to Map + Map.get, 1 lookup

  • Array to Map + Map.get, 50 lookups

  • Array to Map + Map.get, 100 and 100 lookups

  • Array.find, 20 lookups

  • Array.find, 50 lookups

  • Array.find, 100 and 100 lookups

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.find, 50 elements
    Map.get, 50 elements
    Array.find, 100 elements
    Map.get, 100 elements
    Array to Map + Map.get, 1 lookup
    Array to Map + Map.get, 50 lookups
    Array to Map + Map.get, 100 and 100 lookups
    Array.find, 20 lookups
    Array.find, 50 lookups
    Array.find, 100 and 100 lookups

    Fastest: N/A

    Slowest: N/A

Latest run results:

No previous run results

This benchmark does not have any results yet. Be the first one to run it!