I noticed that MacVim was showing up in the top 5 processes on the CPU
section of iStat Menus, with anywhere from 1.7 to 5% CPU utilization. This
is while MacVim was idle and another application was in the foreground.
Here's a typical sample taken with the Activity Monitor. It all looks like
Mac framework stuff to me.
Sampling process 57713 for 1 seconds with 1 millisecond of run time between
samples
Sampling completed, processing symbols...
Analysis of sampling MacVim (pid 57713) every 1 millisecond
Call graph:
592 Thread_2503
592 start
592 NSApplicationMain
592 -[NSApplication run]
592 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
592 _DPSNextEvent
592 BlockUntilNextEventMatchingListInMode
592 ReceiveNextEventCommon
592 RunCurrentEventLoopInMode
592 CFRunLoopRunInMode
592 CFRunLoopRunSpecific
592 mach_msg
592 mach_msg_trap
592 mach_msg_trap
592 Thread_2603
592 thread_start
592 _pthread_start
592 __NSThread__main__
592 -[NSThread main]
592 +[NSURLConnection(NSURLConnectionReallyInternal)
_resourceLoadLoop:]
592 CFRunLoopRunInMode
592 CFRunLoopRunSpecific
592 mach_msg
592 mach_msg_trap
592 mach_msg_trap
592 Thread_2703
592 thread_start
592 _pthread_start
592 select$DARWIN_EXTSN
592 select$DARWIN_EXTSN
592 Thread_2803
592 thread_start
592 _pthread_start
592 CFURLCacheWorkerThread(void*)
592 CFRunLoopRunInMode
592 CFRunLoopRunSpecific
592 mach_msg
592 mach_msg_trap
592 mach_msg_trap
592 Thread_2903
592 thread_start
592 _pthread_start
592 fe_fragment_thread
592 pthread_cond_wait$UNIX2003
592 __semwait_signal
592 __semwait_signal
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
mach_msg_trap 1776
__semwait_signal 592
select$DARWIN_EXTSN 592
Sample analysis of process 57713 written to file /dev/stdout
--
/George V. Reilly [email protected]
http://www.georgevreilly.com/blog http://blogs.cozi.com/tech
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---