Closed
Bug 50553
Opened 25 years ago
Closed 4 months ago
PERF: placeholder txn's keeping selection state info around for too long
Categories
(Core :: DOM: Editor, defect, P5)
Core
DOM: Editor
Tracking
()
RESOLVED
INCOMPLETE
Future
People
(Reporter: mozeditor, Unassigned)
Details
(Keywords: helpwanted, perf, Whiteboard: [nsbeta3-])
Whenever you type, that transaction is merged into the previous one (if it was
also typing). But the selection state info saved with each transaction is not
coellesced here, resulting in a lot of tiny mallocs adding up as you type. I
should touch this up so that only the "outmost" txn saves selection info, and
also so that the selection state memory usage is taken from a recycleable pool.
Reporter | ||
Comment 2•25 years ago
|
||
you will be mine you will be mine all mine... (coming to this bug's emotional
rescue)
Status: NEW → ASSIGNED
Comment 3•25 years ago
|
||
marking future, setting to nsbeta3- per review by bijal and beppe
Updated•18 years ago
|
QA Contact: sujay → editor
Updated•18 years ago
|
Assignee: mozeditor → nobody
Status: ASSIGNED → NEW
Comment 4•5 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: normal → S4
Priority: P3 → P5
Comment 5•4 months ago
|
||
Masayuki, does this still look relevant, or should we close this?
Flags: needinfo?(masayuki)
Comment 6•4 months ago
|
||
Although I'm not familiar with merging multiple transactions, looks like that about PlaceholderTransaction
, the older one is kept and the new one is discarded after the merge. Therefore, PlaceholderTransaction::mStartSel
and PlaceholderTransaction::mEndSel
is stored only required ones now.
Status: NEW → RESOLVED
Closed: 4 months ago
Flags: needinfo?(masayuki)
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•