Closed Bug 48149 Opened 24 years ago Closed 23 years ago

avoid "up crawling" every time CreateTemplateContents() is called

Categories

(Core Graveyard :: RDF, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Future

People

(Reporter: waterson, Assigned: waterson)

References

Details

(Keywords: perf)

The XUL template builder currently does a *ton* of "up crawling" (which involves
attribute fetching and string copying) in CreateTemplateContents(). This is the
routine that is called to "flesh out" a partially instantiated template; e.g.,
when you scroll around in the mail window and hit a message that you've never
seen before.

I'm not sure exactly how we could fix this; maybe using another lookaside table
(or merging it with the conflict set, or something), but it does account for a
couple percentage points of the profile when scrolling in mailnews. (Most of the
time goes to looking for a 'ref' or 'id' attribute, and then calling
rdf_MakeAbsoluteURI() -- all string horror.)
Status: NEW → ASSIGNED
Keywords: perf
Target Milestone: --- → Future
Fixed in patch to bug 71530.
Depends on: 71530
if this is fixed, shouldn't it be marked as such to remove it from any radar? 
I sadly don't have the power to do this from this account...
Yes, thanks. I must've forgot to mark it as such.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Keywords: donttest
Resolution: --- → FIXED
tever is not RDF QA anymore
QA Contact: tever → nobody
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.