Slow startup related to crash_reporter::SetUploadConsent |
|
Issue descriptionFrom this slow-report: 52d58a19901e6dba Chrome Windows, 73.0.3664.3 The startup is about ~7 minutes in StartupBrowserCreator::ProcessCmdLineImpl By looking to the sampling profiler, ~2 minutes in: NtCreateFile InsHook_NtCreateFile CreateFileInternal CreateFileW crashpad::`anonymous namespace\'::OpenFileForOutput crashpad::LoggingOpenFileForReadAndWrite(base::FilePath const &,crashpad::FileWriteMode,crashpad::FilePermissions) crashpad::Settings::OpenForWritingAndReadSettings(crashpad::Settings::Data *) crashpad::Settings::SetUploadsEnabled(bool) crash_reporter::SetUploadConsent(bool) metrics_services_manager::MetricsServicesManager::UpdateRunningServices() ChromeMetricsServiceClient::Observe(int,content::NotificationSource const &,content::NotificationDetails const &) content::NotificationServiceImpl::Notify(int,content::NotificationSource const &,content::NotificationDetails const &) BrowserList::AddBrowser(Browser *) Browser::Browser(Browser::CreateParams const &) StartupBrowserCreatorImpl::OpenTabsInBrowser(Browser *,bool,std::vector<StartupTab,std::allocator<StartupTab> > const &) StartupBrowserCreatorImpl::RestoreOrCreateBrowser(std::vector<StartupTab,std::allocator<StartupTab> > const &,StartupBrowserCreatorImpl::BrowserOpenBehavior,unsigned int,bool,bool) StartupBrowserCreatorImpl::DetermineURLsAndLaunch(bool,std::vector<GURL,std::allocator<GURL> > const &) StartupBrowserCreatorImpl::Launch(Profile *,std::vector<GURL,std::allocator<GURL> > const &,bool) StartupBrowserCreator::LaunchBrowser(base::CommandLine const &,Profile *,base::FilePath const &,chrome::startup::IsProcessStartup,chrome::startup::IsFirstRun) StartupBrowserCreator::LaunchBrowserForLastProfiles(base::CommandLine const &,base::FilePath const &,bool,Profile *,std::vector<Profile *,std::allocator<Profile *> > const &) StartupBrowserCreator::ProcessCmdLineImpl(base::CommandLine const &,base::FilePath const &,bool,Profile *,std::vector<Profile *,std::allocator<Profile *> > const &) StartupBrowserCreator::Start(base::CommandLine const &,base::FilePath const &,Profile *,std::vector<Profile *,std::allocator<Profile *> > const &) ChromeBrowserMainParts::PreMainMessageLoopRunImpl()
,
Jan 16
(6 days ago)
Quick observation, there is a stackframe: InsHook_NtCreateFile Which seems to be an hook. off:0x41c29 apphelp.pdb [956CB0E0626AEC2C096926275A26DC261] |
|
►
Sign in to add a comment |
|
Comment 1 by gab@chromium.org
, Jan 16 (6 days ago)