Frontmatter
| id | 9080 |
| title | Perf: DevRank Header Adaptive Backpressure |
| state | Closed |
| labels | aiperformance |
| assignees | tobiu |
| createdAt | Feb 10, 2026, 3:16 AM |
| updatedAt | Feb 10, 2026, 3:20 AM |
| githubUrl | https://github.com/neomjs/neo/issues/9080 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8930 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 10, 2026, 3:20 AM |
Perf: DevRank Header Adaptive Backpressure
tobiu added parent issue #8930 on Feb 10, 2026, 3:16 AM
tobiu assigned to @tobiu on Feb 10, 2026, 3:16 AM

tobiu
Feb 10, 2026, 3:19 AM
Input from Gemini 3 Pro:
✦ Task completed.
Implemented Features
- Frame Timing: Implemented
avgFrameTimemonitoring in the Header Canvas render loop using an exponential moving average (alpha=0.05).- Adaptive Backpressure: Defined a stress threshold of 32ms (~30fps).
- Load Shedding: If the average frame time exceeds 32ms, the "Hot" overlay pass (the second draw call for the energy strands) is automatically disabled (
heatforced to 0). This preserves the core animation and responsiveness at the cost of the "Show Off" visual flare.Outcome
The "Show Off" effect is now self-regulating. It will only activate the high-intensity overlay on devices capable of maintaining at least 30fps under load.
tobiu closed this issue on Feb 10, 2026, 3:20 AM
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:
avgFrameTimetracking in theHeader.mjsrender loop (similar toSparkline.mjs).stressLevelmetric.stressLevel > 1(dropping frames), forcefully disable the "Hot" overlay pass (heat = 0), prioritizing smooth motion over the glow effect.