Closed Bug 517576 Opened 15 years ago Closed 15 years ago

12.3% of my startup is in PresShell::InitialReflow

Categories

(Core :: Networking: JAR, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 506416

People

(Reporter: joelr, Unassigned)

Details

(Whiteboard: [ts])

I will look deeper into this but would appreciate suggetsions. 0.0% 21.2% XUL nsInputStreamReadyEvent::Run() 0.0% 21.2% XUL nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) 0.0% 18.1% XUL nsInputStreamPump::OnStateStop() 0.0% 18.1% XUL nsJARChannel::OnStopRequest(nsIRequest*, nsISupports*, unsigned int) 0.0% 11.0% XUL nsParser::OnStopRequest(nsIRequest*, nsISupports*, unsigned int) 0.0% 11.0% XUL nsParser::ResumeParse(int, int, int) 0.0% 11.0% XUL nsParser::DidBuildModel(unsigned int) 0.0% 11.0% XUL XULContentSinkImpl::DidBuildModel()
Whiteboard: [ts]
This appears to be us parsing stuff, probably XML (XUL or XBL). Is that surprising?
I'm not surprised, just wondering if this can be optimized.
Digging deeper... 0.0% 12.3% XUL nsJARChannel::OnStopRequest(nsIRequest*, nsISupports*, unsigned int) 0.0% 12.3% XUL nsUnicharStreamLoader::OnStopRequest(nsIRequest*, nsISupports*, unsigned int) 0.0% 12.3% XUL SheetLoadData::OnStreamComplete(nsIUnicharStreamLoader*, nsISupports*, unsigned int, nsIUnicharInputStream*) 0.0% 12.3% XUL CSSLoaderImpl::ParseSheet(nsIUnicharInputStream*, SheetLoadData*, int&) 0.0% 12.2% XUL CSSLoaderImpl::SheetComplete(SheetLoadData*, unsigned int) 0.0% 12.2% XUL nsXULDocument::DoneWalking() 0.0% 12.2% XUL nsXULDocument::StartLayout() 0.0% 12.2% XUL PresShell::InitialReflow(int, int) 0.0% 6.4% XUL nsCSSFrameConstructor::ContentInserted(nsIContent*, nsIContent*, int, nsILayoutHistoryState*) 0.0% 6.4% XUL nsCSSFrameConstructor::ConstructDocElementFrame(nsIContent*, nsILayoutHistoryState*, nsIFrame**) 0.0% 4.8% XUL nsBindingManager::ProcessAttachedQueue(unsigned int) 0.0% 0.7% XUL nsCSSFrameConstructor::ConstructRootFrame(nsIFrame**) 0.0% 0.3% XUL nsCSSFrameConstructor::ProcessPendingRestyles() 0.0% 0.1% XUL CSSParserImpl::Parse(nsIUnicharInputStream*, nsIURI*, nsIURI*, nsIPrincipal*, unsigned int, int)
Summary: 21% of my startup is under nsJarChannel::OnStopRequest → 12.3% of my startup is in PresShell::InitialReflow
And a short summary: 0.0% 12.2% XUL PresShell::InitialReflow(int, int) 0.0% 6.4% XUL nsCSSFrameConstructor::ContentInserted(nsIContent*, nsIContent*, int, nsILayoutHistoryState*) 0.0% 4.8% XUL nsBindingManager::ProcessAttachedQueue(unsigned int) 0.0% 0.7% XUL nsCSSFrameConstructor::ConstructRootFrame(nsIFrame**) 0.0% 0.3% XUL nsCSSFrameConstructor::ProcessPendingRestyles()
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.