-
-
Notifications
You must be signed in to change notification settings - Fork 202
Perf: DevRank Header Adaptive Backpressure #9080
Copy link
Copy link
Closed
Labels
Description
Implement Adaptive Backpressure in the Header Canvas renderer to protect frame rates on lower-end devices.
Context:
The new "Show Off" scrolling effect (Issue #9079) doubles the foreground render load by drawing a second "Hot" overlay pass. While efficient, this could cause frame drops on constrained hardware.
Requirements:
- Frame Timing: Implement
avgFrameTimetracking in theHeader.mjsrender loop (similar toSparkline.mjs). - Stress Detection: Define a
stressLevelmetric. - Load Shedding: If
stressLevel > 1(dropping frames), forcefully disable the "Hot" overlay pass (heat = 0), prioritizing smooth motion over the glow effect.
Reactions are currently unavailable