grafana / explore-profiles

Explore Profiles is a native Grafana application designed to integrate seamlessly with Pyroscope, the open-source continuous profiling platform, providing a smooth, query-less experience for browsing and analyzing profiling data.
GNU Affero General Public License v3.0
18 stars 1 forks source link

[bug] Cascader becomes unresponsive when displaying large amount of items #215

Open ifrost opened 3 weeks ago

ifrost commented 3 weeks ago

Bug description

Steps to reproduce

  1. Load > 10000 service names in the app (mock the response or hardcode in the code)
  2. Cascader selector to change service name becomes unresponsive or very slow

Profiles selector is also also affected but it should never have that many profile types.

Actual behaviour

The time between click and showing the dropdown increases above 200ms

Expected behaviour

The cascader should open immediately. Not all results needs to be rendered but it should be possible to search in all items.

Proposed solutions