Closed
Bug 190239
Opened 23 years ago
Closed 3 years ago
optimize AfterEditInner()
Categories
(Core :: DOM: Editor, enhancement, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
INACTIVE
M1
People
(Reporter: leon.zhang, Unassigned)
References
Details
(Keywords: perf, Whiteboard: EDITORBASE+ fixinhand)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
To improve perf of compser, optimizing AfterEditInner will be helpful to that
target.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
| Reporter | ||
Updated•23 years ago
|
Severity: normal → major
Priority: -- → P3
| Reporter | ||
Updated•23 years ago
|
Summary: optimize AfterEditInner → optimize AfterEditInner()
Updated•23 years ago
|
Whiteboard: EDITORBASE
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → M1
Updated•23 years ago
|
Whiteboard: EDITORBASE → EDITORBASE+
Updated•23 years ago
|
Whiteboard: EDITORBASE+ → EDITORBASE+ fixinhand
Updated•23 years ago
|
QA Contact: sujay → sairuh
| Reporter | ||
Comment 1•23 years ago
|
||
1) nsHTMLEditRules::AfterEditInner() consumed 7.11% of the whole app.
--> nsHTMLEditRules::RemoveEmptyNodes (38.60% of caller)(2.74% of whole app)
--> nsHTMLEditRules::PromoteRange (16.36% of caller)(1.18% of whole app)
--> nsHTMLEditRules::AdjustSpecialBreaks (10.96% of caller)(0.78 of whole app)
--> nsHTMLEditRules::AdjustSlection (10.61% of caller)(0.75 of whole app)
--> nsHTMLEditRules::ConfirmSelectionInBody (7.96% of caller)(1.12 of whole app)
2) nsHTMLEditRules::RemoveEmptyNodes (38.60% of caller)(2.74% of whole app)
--> nsTextEditUtils::NodeIsType(43.27 of caller) (2.64% of whole app)
--> nsContentIterator::Init() (16.69% of caller) (0.92 of the root)
3) nsHTMLEditRules::PromoteRange (16.36% of caller)(1.18% of whole app)
--> nsHTMLEditRules::GetPromotedPoint(68.80 of the caller) (0.81 of whole app)
Updated•19 years ago
|
QA Contact: bugzilla → editor
Updated•19 years ago
|
Assignee: mozeditor → nobody
Status: ASSIGNED → NEW
Mass-removing myself from cc; search for 12b9dfe4-ece3-40dc-8d23-60e179f64ac1 or any reasonable part thereof, to mass-delete these notifications (and sorry!)
Updated•3 years ago
|
Severity: major → --
Type: defect → enhancement
Comment 3•3 years ago
|
||
Now, it's renamed to HTMLEditor::OnEndHandlingTopLevelEditSubActionInternal() and various methods called by it are renamed and optimized (and being optimized). Please file new bugs for each if you still see performance issues.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•