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

Performance improvements in loading Alerts #132

Open
1 of 3 tasks
Enigmatrix opened this issue Jan 5, 2024 · 1 comment
Open
1 of 3 tasks

Performance improvements in loading Alerts #132

Enigmatrix opened this issue Jan 5, 2024 · 1 comment

Comments

@Enigmatrix
Copy link
Owner

Enigmatrix commented Jan 5, 2024

Alerts page, Add Alert, Edit Alert are all slightly slow, the worst being the Alerts page. Improve performance by figuring out what's taking so long in the first place.

  • Use MiniProfile on our EF Core queries.
  • Write more timing measurements using ILogger, see file for timing. I assume Debug window is not showing true times.
  • Try to synchronously pre-load items into memory from Home/Experiments page, then just constructor-assign them to the view model to check if it's just Avalonia being slow.
@Enigmatrix
Copy link
Owner Author

De-prioritizing this as this doesn't seem like a easily solved issue. Plus it seems like EntityFramework initialization might be a cause. For example, refreshing the Alerts page by navigating elsewhere and coming back makes the query one-tenth of the time, so it could be just EF or it could be Avalonia navigation or Avalonia page initialization async.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant