Script Preparation code:
Tests:
  • Array.find, 10 000 elements

  • Map.get, 10 000 elements

  • Array.find, 1 000 000 elements

  • Map.get, 1 000 000 elements

  • Array to Map + Map.get, 1 lookup

  • Array to Map + Map.get, 10 lookups

  • Array to Map + Map.get, 100 lookups

  • Array.find, 10 lookups

  • Array.find, 100 lookups

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.find, 10 000 elements
    Map.get, 10 000 elements
    Array.find, 1 000 000 elements
    Map.get, 1 000 000 elements
    Array to Map + Map.get, 1 lookup
    Array to Map + Map.get, 10 lookups
    Array to Map + Map.get, 100 lookups
    Array.find, 10 lookups
    Array.find, 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!



;