Closed
Bug 419299
Opened 18 years ago
Closed 18 years ago
COMDLG32.DLL and WINSPOOL.DRV should not be loaded at startup for memory usage and startup performance
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
WONTFIX
People
(Reporter: m_kato, Unassigned)
Details
Attachments
(2 files, 1 obsolete file)
|
1.18 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.82 KB,
patch
|
ted
:
review-
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0 x64; en-US; rv:1.9b4pre) Gecko/2008022421 Minefield/3.0b4pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0 x64; en-US; rv:1.9b4pre) Gecko/2008022421 Minefield/3.0b4pre
COMDLG32.DLL and WINSPOOL.DRV do not need during startup. We should use delay-load for there DLLs.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
| Reporter | ||
Comment 1•18 years ago
|
||
| Reporter | ||
Comment 2•18 years ago
|
||
Attachment #305346 -
Attachment is obsolete: true
| Reporter | ||
Comment 3•18 years ago
|
||
| Reporter | ||
Comment 4•18 years ago
|
||
Comment on attachment 312281 [details] [diff] [review]
a patch with latest CVS
This patch is improved memory usage at startup.
Memory usage will become less 50KB - 100KB before fix.
Attachment #312281 -
Flags: review?(benjamin)
Comment 5•18 years ago
|
||
Do you have numbers for codesize win/loss and startup time win/loss? I don't think we want to take this for 1.9 unless there are more compelling wins than 100k memory usage which is probably shared memory anyway.
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Comment 6•18 years ago
|
||
Startup time is almost same, but memory usage becomes less than current bit.
At least, start up process doesn't need COMDLG32 and WINSPOOL.
ENVIRONMENT
===========
Windows XP with SP2
Firefox 3 latest CVS with no extensiton
STEP
====
Open http://www.mozilla.org/projects/minefield/
RESULT
===================
with patch
Working Set (Max) ... 36126720 bytes
Virtual Bytes (Max) ... 103137280 bytes
Startup (using startup-unix.pl) Avg ... 805 msec (min 788, max 830)
without patch
Working Set (Max) ... 36483072 bytes
Virtual Bytes (Max) ... 104247296 bytes
Startup (using startup-unix.pl) Avg ... 808 msec (min 783, max 843)
Comment 7•18 years ago
|
||
Comment on attachment 312281 [details] [diff] [review]
a patch with latest CVS
Bumping this to Ted. I have no strong feelings other than I don't think we should take this for 1.9, and I don't think that the benefit of 100k memory savings which is probably shared memory anyway is worth the risk in general... but perhaps I'm just feeling curmudgeonly today.
Attachment #312281 -
Flags: review?(benjamin) → review?(ted.mielczarek)
Comment 8•18 years ago
|
||
Comment on attachment 312281 [details] [diff] [review]
a patch with latest CVS
I'm with Benjamin on this one. These DLLs are almost certainly already in memory and we're probably going to wind up loading them eventually anyway. Unless this is a perf win for startup, I don't see the point.
Attachment #312281 -
Flags: review?(ted.mielczarek) → review-
| Reporter | ||
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•