Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scenario Measures: Slow loading due to watchers #4597

Open
perryr16 opened this issue Mar 29, 2024 · 0 comments
Open

Scenario Measures: Slow loading due to watchers #4597

perryr16 opened this issue Mar 29, 2024 · 0 comments
Assignees

Comments

@perryr16
Copy link
Contributor

Issue

In my test data I have 10 audits each with 4-38 scenarios each with a single measure. I am noticing a large number of watchers associated with the ui-grid. With that data, I get ~130,000 watchers on the inventory detail page and it takes about 60 seconds before the measure ui-grid becomes visible.
-- Samuel Harris, Clearly Energy

Proposed Solution

  • utilize angular ui-grid features like fastWatch and flatEntityAccess to speed up UI-grid load times
  • Only render scenario ui-grids when a user expands a scenario.

Benchmarking

Tested with a property that has 8 scenarios, 6 of which have 1-3 measures (10 measures total).

Description Number of Watchers
Current implementation 4200
Removing the scenarios and measures section 500
Proposed Solution 850
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant