Profiling "(program)" CPU usage

2,768 views
Skip to first unread message

dan...@d15.biz

unread,
Dec 21, 2014, 6:17:30 PM12/21/14
to google-chrome-...@googlegroups.com
Is there a way to profile CPU usage that appears as "(program)" in the Chrome devtools profiler? Would a native profiler be able to capture this information? I'm seeing some pages with very high CPU usage (ie. 60-70% while idle) and the profiler attributes most of it to "(program)".

Thanks!

Paul Irish

unread,
Dec 21, 2014, 7:00:29 PM12/21/14
to Google Chrome Developer Tools
Fire up Chrome Canary (or beta I think), go to Timeline and check the JS profiler tab.

Then record the same thing

You will get all the same JS frame activity data but also the other work the browser is doing. Usually it illuminates what else the browser is doing.

Inline image 1

On Sun, Dec 21, 2014 at 6:17 PM, <dan...@d15.biz> wrote:
Is there a way to profile CPU usage that appears as "(program)" in the Chrome devtools profiler? Would a native profiler be able to capture this information? I'm seeing some pages with very high CPU usage (ie. 60-70% while idle) and the profiler attributes most of it to "(program)".

Thanks!

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/1b55a852-7b8c-4e5c-af1e-6304297b82ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Lo Nigro

unread,
Dec 27, 2014, 2:37:10 AM12/27/14
to google-chrome-...@googlegroups.com
Thanks Paul! If I try that, there's some CPU usage listed as "other". Is there a way to dive further into the "other" usage here? Thanks!

Inline image 1

--
Regards,
Daniel Lo Nigro
http://dan.cx/ | Twitter | Facebook

--
You received this message because you are subscribed to a topic in the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-chrome-developer-tools/94XIubnxvDs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/CAK-PPf0_jHsxnbCTzWp_FMWq06gE6Y4gCoF_yCi7dd1Ym72FAQ%40mail.gmail.com.

Paul Irish

unread,
Dec 30, 2014, 3:08:55 PM12/30/14
to Google Chrome Developer Tools
Hi Daniel,

Ah this is really helpful.

Can you reliably reproduce this? If so, please go to about:tracing in Chrome, hit record, use web developer settings and complete the recording. Then Save, zip it up, and attach it on this thread. 

If you could also right-click in timeline, save, and attach that, it'd be very helpful. 

This way we can identify what that Other time is and improve how we capture it in the Timeline.

Cheers

Reply all
Reply to author
Forward
0 new messages