Closed
Bug 114116
Opened 23 years ago
Closed 23 years ago
nsSegmentedBuffer::AppendNewSegment allocs 291 4096 byte buffers on startup
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
RESOLVED
WONTFIX
mozilla0.9.7
People
(Reporter: dp, Assigned: darin.moz)
Details
Attachments
(1 file)
8.11 KB,
patch
|
Details | Diff | Splinter Review |
Totally about 1.1MB of 4k allocations happen here.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.7
Assignee | ||
Comment 1•23 years ago
|
||
i'm not measuring any real cost to these allocations. on my linux box, i reduced the amount of memory linux thinks i have down to 64M. i tested a patch that adds a cache of buffers 4096 bytes in size. i varied the number of cached buffers with an environment variable. with different settings of this environment variable, i noticed no measurable variation in startup time. in other words, when it comes to 4k buffer allocations, i don't think you can beat the system allocator. of course, it'd be interesting to try this on windows.
Assignee | ||
Comment 2•23 years ago
|
||
Reporter | ||
Comment 3•23 years ago
|
||
I will try the patch on windows.
Assignee | ||
Comment 4•23 years ago
|
||
looks like this patch isn't helping :( marking WONTFIX
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•