Closed Bug 29685 Opened 24 years ago Closed 24 years ago

ProgIDToClassID() takes 250 ms out of 19 secs of startup

Categories

(Core :: XPCOM, defect, P2)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dp, Assigned: dp)

Details

(Keywords: verifyme, Whiteboard: fix on hand)

All this time time is spent in 11 calls to GetSubtreeRaw()

This can be eliminated since we do prepopulation of registry and dont need to
check the registry after prepopulation.
Status: NEW → ASSIGNED
OS: Linux → Windows NT
Priority: P3 → P2
Whiteboard: fix on hand
Target Milestone: M16
Function					%	#call	millisecs
--------------------------------------------------------------------------
nsComponentManagerImpl::PlatformProgIDToCLSID	96.95	11	249.66
mozJSComponentLoader::HasChanged		 1.45	 2	  3.73
nsNativeComponentLoader::SetRegistryDllInfo	 0.76	 1	  1.96
nsNativeComponentLoader::GetRegistryDllInfo	 0.64	 1	  1.64
nsComponentManagerImpl::GetLoaderForType	 0.20	 1 	  0.52
Blocks: 7251
11 extra hits to the registry averted. Code fix. This saves 250 msec. The rest 
of the hits are minor and we wont fix those.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Adding verifyme keyword.
Keywords: verifyme
- Per last comments, age of bug, and no reopen - Marking Verified/Fixed.  Please 
reopen if still a problem. 
Status: RESOLVED → VERIFIED
No longer blocks: 7251
You need to log in before you can comment on or make changes to this bug.