Skip to content

Instantly share code, notes, and snippets.

@bhamiltoncx
Created October 21, 2015 19:43
Show Gist options
  • Save bhamiltoncx/044d3c91e7640f50f998 to your computer and use it in GitHub Desktop.
Save bhamiltoncx/044d3c91e7640f50f998 to your computer and use it in GitHub Desktop.
Chromium perf issue with shared memory
Running Time Self (ms) Symbol Name
8596.0ms 64.7% 0.0 base::Thread::ThreadMain 0x33e79
8563.0ms 64.4% 0.0 thread_start
8563.0ms 64.4% 0.0 _pthread_start
8563.0ms 64.4% 0.0 _pthread_body
8563.0ms 64.4% 0.0 base::(anonymous namespace)::ThreadFunc(void*)
8563.0ms 64.4% 0.0 base::Thread::ThreadMain()
8563.0ms 64.4% 0.0 content::BrowserThreadImpl::Run(base::MessageLoop*)
8563.0ms 64.4% 0.0 content::BrowserThreadImpl::IOThreadRun(base::MessageLoop*)
8563.0ms 64.4% 0.0 base::Thread::Run(base::MessageLoop*)
8563.0ms 64.4% 0.0 base::MessageLoop::Run()
8563.0ms 64.4% 0.0 base::RunLoop::Run()
8563.0ms 64.4% 0.0 base::MessageLoop::RunHandler()
8563.0ms 64.4% 3.0 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*)
7230.0ms 54.4% 3.0 base::MessageLoop::DoWork()
7196.0ms 54.1% 0.0 base::MessageLoop::DeferOrRunPendingTask(base::PendingTask const&)
7193.0ms 54.1% 0.0 base::MessageLoop::RunTask(base::PendingTask const&)
7188.0ms 54.1% 0.0 base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask const&)
7155.0ms 53.8% 0.0 base::Callback<void ()>::Run() const
6756.0ms 50.8% 0.0 base::internal::Invoker<base::IndexSequence<0ul>, base::internal::BindState<base::internal::RunnableAdapter<void (disk_cache::BackgroundIO::*)()>, void (disk_cache::BackgroundIO*), base::internal::TypeList<disk_cache::BackgroundIO*> >, base::internal::TypeList<base::internal::UnwrapTraits<disk_cache::BackgroundIO*> >, base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<void (disk_cache::BackgroundIO::*)()>, base::internal::TypeList<disk_cache::BackgroundIO* const&> >, void ()>::Run(base::internal::BindStateBase*)
6756.0ms 50.8% 0.0 base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<void (disk_cache::BackgroundIO::*)()>, base::internal::TypeList<disk_cache::BackgroundIO* const&> >::MakeItSo(base::internal::RunnableAdapter<void (disk_cache::BackgroundIO::*)()>, disk_cache::BackgroundIO* const&)
6756.0ms 50.8% 0.0 base::internal::RunnableAdapter<void (disk_cache::BackgroundIO::*)()>::Run(disk_cache::BackgroundIO*)
6756.0ms 50.8% 0.0 disk_cache::BackgroundIO::OnIOSignalled()
6748.0ms 50.8% 0.0 disk_cache::InFlightIO::InvokeCallback(disk_cache::BackgroundIO*, bool)
6733.0ms 50.7% 1.0 disk_cache::InFlightBackendIO::OnOperationComplete(disk_cache::BackgroundIO*, bool)
6710.0ms 50.5% 0.0 base::Callback<void (int)>::Run(int const&) const
6647.0ms 50.0% 0.0 base::internal::Invoker<base::IndexSequence<0ul>, base::internal::BindState<base::internal::RunnableAdapter<void (net::HttpCache::Transaction::*)(int)>, void (net::HttpCache::Transaction*, int), base::internal::TypeList<base::WeakPtr<net::HttpCache::Transaction> > >, base::internal::TypeList<base::internal::UnwrapTraits<base::WeakPtr<net::HttpCache::Transaction> > >, base::internal::InvokeHelper<true, void, base::internal::RunnableAdapter<void (net::HttpCache::Transaction::*)(int)>, base::internal::TypeList<base::WeakPtr<net::HttpCache::Transaction> const&, int const&> >, void (int const&)>::Run(base::internal::BindStateBase*, int const&)
6647.0ms 50.0% 0.0 base::internal::InvokeHelper<true, void, base::internal::RunnableAdapter<void (net::HttpCache::Transaction::*)(int)>, base::internal::TypeList<base::WeakPtr<net::HttpCache::Transaction> const&, int const&> >::MakeItSo(base::internal::RunnableAdapter<void (net::HttpCache::Transaction::*)(int)>, base::WeakPtr<net::HttpCache::Transaction> const&, int const&)
6646.0ms 50.0% 0.0 base::internal::RunnableAdapter<void (net::HttpCache::Transaction::*)(int)>::Run(net::HttpCache::Transaction*, int const&)
6646.0ms 50.0% 0.0 net::HttpCache::Transaction::OnIOComplete(int)
6646.0ms 50.0% 1.0 net::HttpCache::Transaction::DoLoop(int)
6402.0ms 48.2% 0.0 base::Callback<void (int)>::Run(int const&) const
6402.0ms 48.2% 0.0 base::internal::Invoker<base::IndexSequence<0ul>, base::internal::BindState<base::internal::RunnableAdapter<void (net::URLRequestHttpJob::*)(int)>, void (net::URLRequestHttpJob*, int), base::internal::TypeList<base::internal::UnretainedWrapper<net::URLRequestHttpJob> > >, base::internal::TypeList<base::internal::UnwrapTraits<base::internal::UnretainedWrapper<net::URLRequestHttpJob> > >, base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<void (net::URLRequestHttpJob::*)(int)>, base::internal::TypeList<net::URLRequestHttpJob*, int const&> >, void (int const&)>::Run(base::internal::BindStateBase*, int const&)
6400.0ms 48.2% 0.0 base::internal::InvokeHelper<false, void, base::internal::RunnableAdapter<void (net::URLRequestHttpJob::*)(int)>, base::internal::TypeList<net::URLRequestHttpJob*, int const&> >::MakeItSo(base::internal::RunnableAdapter<void (net::URLRequestHttpJob::*)(int)>, net::URLRequestHttpJob*, int const&)
6399.0ms 48.1% 0.0 base::internal::RunnableAdapter<void (net::URLRequestHttpJob::*)(int)>::Run(net::URLRequestHttpJob*, int const&)
6057.0ms 45.6% 0.0 net::URLRequestHttpJob::OnStartCompleted(int)
6018.0ms 45.3% 0.0 net::URLRequestHttpJob::SaveCookiesAndNotifyHeadersComplete(int)
6015.0ms 45.3% 0.0 net::URLRequestHttpJob::SaveNextCookie()
6013.0ms 45.2% 0.0 net::URLRequestHttpJob::NotifyHeadersComplete()
6011.0ms 45.2% 2.0 net::URLRequestJob::NotifyHeadersComplete()
5999.0ms 45.1% 0.0 net::URLRequest::NotifyResponseStarted()
5980.0ms 45.0% 0.0 content::ResourceLoader::OnResponseStarted(net::URLRequest*)
5907.0ms 44.4% 0.0 content::ResourceLoader::StartReading(bool)
5907.0ms 44.4% 0.0 content::ResourceLoader::ReadMore(int*)
5883.0ms 44.3% 0.0 content::LayeredResourceHandler::OnWillRead(scoped_refptr<net::IOBuffer>*, int*, int)
5883.0ms 44.3% 0.0 content::MimeTypeResourceHandler::OnWillRead(scoped_refptr<net::IOBuffer>*, int*, int)
5883.0ms 44.3% 0.0 content::AsyncResourceHandler::OnWillRead(scoped_refptr<net::IOBuffer>*, int*, int)
5881.0ms 44.2% 0.0 content::AsyncResourceHandler::EnsureResourceBufferIsInitialized()
5875.0ms 44.2% 0.0 content::ResourceBuffer::Initialize(int, int, int)
5874.0ms 44.2% 0.0 base::SharedMemory::CreateAndMapAnonymous(unsigned long)
5853.0ms 44.0% 0.0 base::SharedMemory::CreateAnonymous(unsigned long)
5853.0ms 44.0% 0.0 base::SharedMemory::Create(base::SharedMemoryCreateOptions const&)
5677.0ms 42.7% 5677.0 ftruncate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment