Multi-second hang for minified file
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
People
(Reporter: Harald, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
No good STR, sorry. I debugged codesandbox output and paused on event handler. This paused in LastPass' minified content script. Loading this script caused several minutes of hangs, even after I switched away from the tab.
30s of that are captured in https://perfht.ml/2QH5Mbp
setDebugLine
is triggered a lot.
Reporter | ||
Comment 1•4 years ago
|
||
Analysis draft:
DebugLine.js
is a PureComponent
and has 3 props: location
, why
and source
.
So what changes so often … the prop frame
:
Before
{
"id": "server0.conn0.child1/frame28",
"displayName": "execute/<",
"location": {
"sourceId": "sourceURL-https://github.githubassets.com/assets/github-bootstrap-2763eb02.js/originalSource-a10863dd7db0e216177b98f701567864",
"sourceUrl": "https://github.githubassets.com/app/assets/modules/github/characters-remaining.js",
"line": 31,
"column": 4
}
}
After:
{
"id": "server0.conn0.child1/frame28",
"displayName": "execute/<",
"location": {
"sourceId": "sourceURL-https://github.githubassets.com/assets/github-bootstrap-2763eb02.js/originalSource-a10863dd7db0e216177b98f701567864",
"sourceUrl": "https://github.githubassets.com/app/assets/modules/github/characters-remaining.js",
"line": 31,
"column": 4
}
}
]
Then again, frame
isn't even used in the component itself.
frame
was added in https://github.com/firefox-devtools/debugger/pull/7779 , not sure when it was removed from props while still being used in redux mapping.
Reporter | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Comment 3•4 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:Harald, could you have a look please?
For more information, please visit auto_nag documentation.
Reporter | ||
Comment 4•4 years ago
|
||
Hefty test failures across the board. This is not the easy prop
change that I thought it is.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•