Open
Bug 935664
Opened 11 years ago
Updated 2 years ago
Syntax Highlighting large files hangs the browser
Categories
(DevTools :: Source Editor, defect, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: potch, Unassigned)
References
Details
(Keywords: DevAdvocacy, Whiteboard: [DevRel:P2])
Attachments
(1 file)
911.35 KB,
image/png
|
Details |
Open up the Debugger and visit marketplace.firefox.com Observe the beach ball. Any way to do this off the main thread?
Comment 1•11 years ago
|
||
I'm not sure it's the syntax highlighting, when I first opened that page I got a smallish file opened. It may well be the transfer of sources from the backend to the frontend. It certainly is a bug.
Comment 2•11 years ago
|
||
I'm not getting too much jank on marketplace.firefox.com. A better testcase is http://web.tweetdeck.com and selecting the defuault.329873298524965892.js. I get less jank if I pretty print the file, so I suspect this has to do with the really long columns that come with minified js.
Updated•11 years ago
|
Component: Developer Tools: Debugger → Developer Tools: Source Editor
Priority: -- → P3
Comment 4•11 years ago
|
||
So I did some trivial profiling/exploration: TweetDeck is not beach-balling for me at all while Marketplace is beach-balling whether i have devtools opened or not. (I.e. if I switch to another tab and then back to marketplace, I have 3-4 seconds long beach-ball action) Profiler showed Marketplace's include.js taking 90% of the time.
Comment 5•11 years ago
|
||
Disabling devtools.debugger.auto-pretty-print highlights the problem. It seems that it is only an issue with large columns. Seeing about 50% of time spent in code mirror, and hard jank for about 2 or 3 seconds.
Reporter | ||
Updated•9 years ago
|
Keywords: DevAdvocacy
Comment 6•9 years ago
|
||
Any updates on this bug?
Updated•8 years ago
|
Whiteboard: [DevRel:P2]
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•