Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Related to this unsolved mystery: apple.stackexchange.com/questions/62416/why-do-i-get-serious-execution-lag-on-clicks-application-switching-and-general

I'm wondering if there's a way to see which processes hang the most and at what time. For instance, if I click on "New Tab" in Chrome, and it takes 7 seconds for it to open with 3 rainbow wheels appearing during that time, I would like to see an output like this:

CPU1 : Chrome Helper: eventRegister 0.3s
---
CPU2 : Chrome Helper: eventTrigger 1.4s
CPU2 : kernel_task: <<unknown>> 4s

I'm making stuff up, but basically some kind of debugger which shows the chain of execution and the time it took for each process (am I even using the right terminology?) to execute.

Right now, I have 5 second lags on simple toolbar menu openings, things are becoming unbearable. Disk diagnostics are all good, CPU is constantly under 10% and while RAM is pretty full (I have no apps I can turn off, IntelliJ and Chrome take up 4 GB by themselves already, let alone the rest) I still don't think the lag should be this bad. I would really like to get to the bottom of it, and having a debugger of this kind would help, if there is such a thing.

share|improve this question
    
As I told you on that question, this is all because of the Java IDE’s high RAM and swap usage. Also see stackoverflow.com/questions/12469828/… –  duci9y Oct 6 '12 at 12:26
    
Aye, but I'd still like to know if there's an app for what I'm requesting here - I believe it could provide me with some valuable insight, as my computer is dead slow even when my JVM apps are completely off. –  Swader Oct 6 '12 at 13:27
    
If that’s the case, Chrome is known to be a memory hog. Can you post a screenshot of Activity Monitor in the Memory Tab? –  duci9y Oct 6 '12 at 14:23
    
Certainly, here it is: bit.ly/UL0Ivz It would really suck if this Mac failed so hard at the only thing it was designed to actually do - surfing. I'd rather buy a new non-Apple laptop than lose Chrome to be honest. –  Swader Oct 7 '12 at 0:56
    
Woah! Dude look. I need you to understand that Chrome is a memory hog. It’s Chrome which is taking up all your RAM, and it’s not because you have a Mac. I don’t know how many tabs you have open, but more than 1 GB usage for a browser is a little too much. –  duci9y Oct 7 '12 at 14:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.