mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-07 13:22:54 +00:00
perf-agent: visibility gate VideoEventBuffer
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
f8cd7369b5
commit
bb39226ca5
11 files changed
+139
-2
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# Context
|
||||
|
||||
## Goal
|
||||
Improve application responsiveness by optimizing background tasks and ensuring documentation accuracy.
|
||||
|
||||
## Scope
|
||||
- Analyze codebase for performance bottlenecks (timers, loops, concurrency).
|
||||
- Fix: Visibility-gate `VideoEventBuffer` to prevent UI thrashing when hidden.
|
||||
- Audit: Verify upload documentation matches implementation.
|
||||
|
||||
## Assumptions
|
||||
- `document.hidden` is reliable.
|
||||
- `VideoEventBuffer` is the primary feed ingestion path.
|
||||
|
||||
## Definition of Done
|
||||
- `VideoEventBuffer` pauses UI updates when hidden.
|
||||
- `daily-perf-report` generated.
|
||||
- Lint passes.
|
||||
Reference in new issue
Block a user