Currently when the HUD is observing memory usage there is a performance degradation observed, especially time-to-load. It would be beneficial to be able to throttle either the frequency with which the memory is observed and/or the frequency of the advanced telemetry memory events sent to the system app.
I agree that HUD memory collection should be significantly throttled. It was set to poll somewhat aggressively in order to display precise memory graphs, but sub-second precision is probably overkill for this. Also, the memory metric is mostly used by widgets and telemetry, rather than live graphs, and these metric consumers have even less need for high-frequency.
Assignee: nobody → janx
Summary: Throttle advanced telemetry memory events → Throttle HUD memory collection
Less frequent polling is better (see comment #1).
Drive-by ES6 style refactor.
Attachment #8628845 - Flags: review?(jryans) → review+
Attachment #8628846 - Flags: review?(jryans) → review+
You need to log in before you can comment on or make changes to this bug.