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

Control surface metrics #80

Closed
helgoboss opened this issue Jan 3, 2021 · 0 comments
Closed

Control surface metrics #80

helgoboss opened this issue Jan 3, 2021 · 0 comments
Labels
realearn Related to ReaLearn
Milestone

Comments

@helgoboss
Copy link
Owner

ReaLearn's logic is for the most part executed on the main thread and almost completely (except from UI interactions) done in IReaperControlSurface callback methods. It would be great if we could get some metrics about how long it takes to execute the callback methods in order to be able to detect and analyze performance regressions.

@helgoboss helgoboss added this to the 1.12.0 milestone Jan 3, 2021
helgoboss added a commit that referenced this issue Jan 4, 2021
- Logs complete metrics to console on demand (as part of "Log debug info")
- Logs single metrics to console whenever considered critical
- For both reaper-rs control surface and ReaLearn control surface (each instance)
helgoboss added a commit that referenced this issue Jan 4, 2021
helgoboss added a commit that referenced this issue Jan 4, 2021
helgoboss added a commit that referenced this issue Jan 4, 2021
- Makes performance measuring easier.
- Makes it easier to use change detection logic in main processors without Rx.
- Now ReaLearn registers only 2 surfaces globally: The reaper-rs surface for executing
  arbitrary code in the main thread and the ReaLearn control surface for handling
  events.
helgoboss added a commit that referenced this issue Jan 4, 2021
helgoboss added a commit that referenced this issue Jan 4, 2021
helgoboss added a commit that referenced this issue Jan 4, 2021
helgoboss added a commit that referenced this issue Jan 8, 2021
helgoboss added a commit that referenced this issue Jan 13, 2021
…nloaded

- Before it was done async but in theory that can cause panics on sends (receiver gone)
  and domain event handler notification (weak session not upgradeable).
- Also log app state when using "Log debug info".
- Also add some comments of intended real-time processor removal tactics.
@helgoboss helgoboss added the realearn Related to ReaLearn label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
realearn Related to ReaLearn
Projects
None yet
Development

No branches or pull requests

1 participant