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

VERIFIED FIXED in M16

Status

()

defect
P2
normal
VERIFIED FIXED
20 years ago
19 years ago

People

(Reporter: dp, Assigned: dp)

Tracking

({verifyme})

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: fix on hand)

Assignee

Description

20 years ago
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.
Assignee

Updated

20 years ago
Status: NEW → ASSIGNED
OS: Linux → Windows NT
Priority: P3 → P2
Whiteboard: fix on hand
Target Milestone: M16
Assignee

Comment 1

20 years ago
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
Assignee

Updated

20 years ago
Blocks: 7251
Assignee

Comment 2

20 years ago
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: 20 years ago
Resolution: --- → FIXED

Comment 3

20 years ago
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

Updated

19 years ago
No longer blocks: 7251
You need to log in before you can comment on or make changes to this bug.