Closed
Bug 687978
Opened 13 years ago
Closed 12 years ago
editing in mozillazine sucks CPU
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 595671
People
(Reporter: wsmwk, Unassigned)
References
()
Details
(Keywords: perf)
editing in mozillazine sucks CPU. I've had this problem for a while. I suspect it's a regression, but I'm not sure. I don't have a trace so I don't know if it's editor, or some other area like reflow. steps 1. visit http://forums.mozillazine.org/posting.php?mode=quote&f=31&p=11212145 2. hit spacebar multiple times in the middle of the editable text. observe cpu usage in the 20-50% range. And, at it's worst, if Firefox is loaded up with lots of tabs I've seen it bring the entire computer to its knees. The mozillazine comment section contains div id="message-box" textarea name="message" id="message" rows="15" cols="76" tabindex="4" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" class="inputbox" Contrast this with editing comment in a new bug (text area) which uses far less CPU 1. https://bugzilla.mozilla.org/enter_bug.cgi?product=Core 2. hit spacebar multiple times in the middle of the editable text. observe cpu usage in the 2-5% range. max 15% if you hold spacebar down solid perhaps a duplicate of one of these https://bugzilla.mozilla.org/buglist.cgi?type1-0-0=substring&keywords=perf&keywords_type=allwords&list_id=1329643&field0-0-0=short_desc&bug_severity=major&bug_severity=normal&type0-0-1=substring&field0-0-1=keywords&type1-0-1=allwordssubstr&resolution=---&classification=Client%20Software&classification=Components&query_format=advanced&type0-0-0=anywordssubstr&component=Editor&component=General&component=Layout&component=Layout%3A%20Block%20and%20Inline&component=Layout%3A%20Floats&component=Layout%3A%20Form%20Controls&component=Layout%3A%20HTML%20Frames&component=Layout%3A%20Images&component=Layout%3A%20Misc%20Code&component=Layout%3A%20R%20%26%20A%20Pos&component=Layout%3A%20Tables&component=Layout%3A%20Text&component=Layout%3A%20View%20Rendering&field1-0-0=short_desc&product=Core&field1-0-1=short_desc
Comment 1•13 years ago
|
||
If this is a regression, can you find the regression range? That said, a profile shows almost all our time being spent building display lists and layers, and a bit painting text.... No editor time in there at all.
Comment 2•13 years ago
|
||
Yeah, I also think there's something weird happening in gfx...
Component: Editor → Graphics
QA Contact: editor → thebes
Comment 3•13 years ago
|
||
I'm probably one of the most prolific editors there at Mozillazine, and have not had, or heard of a problem. Normally I use an oldish system to do my editing there (no hardware accel} but for testing purposes I tested in win7 with the following graphics specs: Adapter Description Intel(R) HD Graphics Vendor ID8086 Device ID0042 Adapter RAM Unknown Adapter Driver sigdumd64 igd10umd64 igdumdx32 igd10umd32 Driver Version 8.15.10.2202Driver Date8-25-2010 Adapter RAM (GPU #2)Unknown Adapter Drivers (GPU #2)Unknown Direct2D Enabledtrue DirectWrite Enabledtrue (6.1.7601.17563) ClearType Parameters ClearType parameters not found WebGL RendererGoogle Inc. -- ANGLE (Intel(R) HD Graphics) -- OpenGL ES 2.0 (ANGLE 0.0.0.740) GPU Accelerated Windows 1/1 Direct3D 10 Tested with: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0a1) Gecko/20110920 Firefox/9.0a1 I'm not able to duplicate the high CPU symptom.
Comment 4•13 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #0) > editing in mozillazine sucks CPU. I've had this problem for a while. I > suspect it's a regression, but I'm not sure. I don't have a trace so I don't > know if it's editor, or some other area like reflow. Can you paste the graphics section of about:support?
Reporter | ||
Comment 5•13 years ago
|
||
hmm, I'm surprised the direct2d is blocked because I had updated the driver a couple weeks ago and I know it had been running with direct2d enabled. I don't know when it went back to being blocked again - perhaps after a reboot or an update. Anyway, no matter, because I believe the perf issue predates any changes I've done to video in the past month ... RDPDD Chained DDUnknownRDPDDUnknownUnknownBlocked for your graphics card because of unresolved driver issues.false (6.1.7601.17563)DISPLAY1 [ Gamma: 2200 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 200 ] DISPLAY2 [ Gamma: 2200 Pixel Structure: RGB ClearType Level: 50 Enhanced Contrast: 300 ] Blocked for your graphics card because of unresolved driver issues.0/36. Blocked for your graphics card because of unresolved driver issues. Graphics is ATI Radeon HD 4550 driver 8.881.0.0 7/28/2011 <== i'm running nightly 20110919030912
Reporter | ||
Comment 6•13 years ago
|
||
perhaps what I am seeing is Bug 595671 - Animated images (GIFs) cause severe performance issues. I saved the mozillazine html complete, deleted all the gifs, then reloaded, and I don't see high CPU when editing. Make sense?
Reporter | ||
Comment 7•13 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #6) > perhaps what I am seeing is Bug 595671 - Animated images (GIFs) cause severe > performance issues. I saved the mozillazine html complete, deleted all the > gifs, then reloaded, and I don't see high CPU when editing. perhaps further confirmation of this idea, is I don't see the problem when editing kb articles on mozillazine, eg http://kb.mozillazine.org/index.php?title=Files_and_folders_in_the_profile_-_Thunderbird&action=edit
Reporter | ||
Comment 8•13 years ago
|
||
:( I rebooted and my direct2d is back in business. However, now I can't reproduce ATI Radeon HD 4550 10029540512aticfx64 aticfx64 aticfx32 aticfx32 atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm648.881.0.07-28-2011UnknownUnknowntruetrue (6.1.7601.17563)DISPLAY1 [ Gamma: 2200 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 200 ] DISPLAY2 [ Gamma: 2200 Pixel Structure: RGB ClearType Level: 50 Enhanced Contrast: 300 ] Google Inc. -- ANGLE (ATI Radeon HD 4550 ) -- OpenGL ES 2.0 (ANGLE 0.0.0.740)
Reporter | ||
Updated•12 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•