mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-06 12:51:54 +00:00
perf: visibility-gate dashboard render loop
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
e07b7f2c06
commit
19af4dcba5
13 files changed
+140
-70
No files matched your search
@@ -0,0 +1,32 @@
|
||||
[
|
||||
{
|
||||
"file": "dashboard/index.html",
|
||||
"line": 816,
|
||||
"pattern": "setInterval",
|
||||
"snippet": " refreshIntervalId = setInterval(() => {",
|
||||
"risk": "Unbounded background DOM updates",
|
||||
"trigger": "Page load",
|
||||
"impact": "CPU usage when tab is hidden",
|
||||
"priority": "P1"
|
||||
},
|
||||
{
|
||||
"file": "dashboard/index.html",
|
||||
"line": 799,
|
||||
"pattern": "setTimeout",
|
||||
"snippet": " setTimeout(() => {",
|
||||
"risk": "Delayed retry",
|
||||
"trigger": "WebSocket close",
|
||||
"impact": "Low",
|
||||
"priority": "P3"
|
||||
},
|
||||
{
|
||||
"file": "src/services/memory/scheduler.js",
|
||||
"line": 33,
|
||||
"pattern": "setInterval",
|
||||
"snippet": " const handle = setInterval(() => {",
|
||||
"risk": "Background job loop",
|
||||
"trigger": "Server start",
|
||||
"impact": "Necessary backend process",
|
||||
"priority": "P3"
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user