Sampling process 139 for 3 seconds with 1 millisecond of run time between samples Sampling completed, processing symbols... Analysis of sampling Dock (pid 139) every 1 millisecond Call graph: 1848 Thread_2503 1848 0x52fe 1847 0x96b73 1847 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 1844 CFRunLoopRunInMode 1843 CFRunLoopRunSpecific 998 mshMIGPerform 996 0x6830 994 0x1f4d5 990 0x1f390 983 0x981d8 910 0xbed01 900 CGContextDrawImage 900 ripc_DrawImage 894 ripc_RenderImage 893 rips_s_BltImage 729 RIPLayerGaussianBlur 710 RIPLayerSymmetricConvolve 710 symmetric_convolve 710 _symmetric_convolve 710 _symmetric_convolve 17 ripl_CreateWithLayer 15 CGBlt_copyBytes 15 CGBlt_copyBytes 2 malloc_zone_malloc 2 szone_malloc 2 large_and_huge_malloc 2 mmap 2 mmap 1 CGSBoundsInset 1 CGSBoundsInset 1 RIPLayerGaussianBlur 83 ripl_BltImage 79 ripl_Mark 79 A8_image 78 A8_image_mark_rgb32 78 A8_image_mark_rgb32 1 A8_image 2 ripl_CreateMask 2 malloc_zone_calloc 2 large_and_huge_malloc 2 mmap 2 mmap 1 __bzero 1 __bzero 1 ripl_BltImage 63 ripl_BltShape 62 A8_mark 62 A8_mark_constmask 62 A8_mark_constmask 1 CGBlt_initialize 1 CGBlt_initialize 16 ripl_release 12 munmap$UNIX2003 12 munmap$UNIX2003 2 szone_free 1 szone_free 1 tiny_free_list_add_ptr 1 tiny_free_list_add_ptr 1 malloc_zone_free 1 malloc_zone_free 1 ripl_release 2 exp$fenv_access_off 2 exp$fenv_access_off 1 CGColorGetColorSpace 1 CGColorGetColorSpace 3 ripc_GetRenderingState 3 rips_s_Create 1 malloc_zone_calloc 1 szone_calloc 1 tiny_malloc_from_free_list 1 tiny_malloc_from_free_list 1 rips_s_Create 1 sin$fenv_access_off 1 sin$fenv_access_off 2 CGSImageDataUnlock 1 CGSImageDataUnlock 1 _CG_spin_unlock 1 _CG_spin_unlock 1 ripc_AcquireImage 1 ripc_AcquireImage 10 0xbed01 27 0xbec4b 27 CGContextClearRect 25 CGContextFillRects 25 ripc_DrawRects 24 ripc_Render 22 ripl_BltShape 22 A8_mark 22 A8_mark_constshape 22 sseCGSFill8by1 22 sseCGSFill8by1 2 ripc_GetColor 1 CGColorTransformConvertColorFloatComponents 1 releaseConvertParams 1 releaseConvertParams 1 CGGStateGetFillColor 1 CGColorSpaceCopyDefaultColor 1 CGColorCreate 1 CGColorCreate 1 ripr_Create 1 ripr_Create 2 CGContextRestoreGState 2 CGGStackRestore 2 CGGStateRelease 1 CGClipStackRelease 1 CGClipStackRelease 1 _CFRelease 1 malloc_zone_free 1 malloc_zone_free 15 0xbed11 15 CGBitmapContextCreateImage 15 create_bitmap_data_provider 11 vm_copy 11 mach_msg 10 mach_msg_trap 10 mach_msg_trap 1 mach_msg 3 mmap 3 mmap 1 CGDataProviderCreateWithData 1 CGDataProviderCreateDirect 1 create_provider 1 CGTypeCreateInstance 1 CGTypeCreateInstanceWithAllocator 1 _CFRuntimeCreateInstance 1 malloc_size 1 szone_size 1 szone_size 7 0xbed43 7 _CFRelease 4 context_reclaim 3 _CFRelease 2 __CFAllocatorSystemDeallocate 2 __CFAllocatorSystemDeallocate 1 CGContextDelegateFinalize 1 ripc_Finalize 1 ripc_ReleaseClipState 1 szone_free 1 szone_free 1 dyld_stub_malloc_zone_free 1 dyld_stub_malloc_zone_free 3 context_finalize 2 CGGStackRelease 2 CGGStateRelease 2 strokeStateRelease 1 CGDashRelease 1 CGDashRelease 1 free 1 __spin_lock 1 __spin_lock 1 CGCFRelease 1 CGCFRelease 6 0xbebcd 6 malloc 6 malloc_zone_malloc 6 szone_malloc 5 large_and_huge_malloc 4 mmap 4 mmap 1 allocate_pages 1 allocate_pages 1 __spin_lock 1 __spin_lock 6 0xbebfc 6 CGBitmapContextCreate 4 createBitmapContext 2 CGContextCreate 2 CGContextCreateWithDelegate 1 CGContextGetTypeID 1 CGTypeRegisterWithCallbacks 1 CGTypeRegisterWithCallbacks 1 CGGStackCreate 1 CGGStackCreateWithGState 1 calloc 1 malloc_zone_calloc 1 szone_calloc 1 tiny_malloc_from_free_list 1 tiny_malloc_from_free_list 2 __CGBitmapContextDelegateCreate 2 __CGBitmapContextDelegateCreate 1 ripl_CreateWithData 1 malloc_zone_calloc 1 szone_calloc 1 __bzero 1 __bzero 1 ripl_size 1 ripl_size 2 CGBitmapContextCreateWithDictionary 2 CGBitmapContextInfoCreate 2 calloc 2 malloc_zone_calloc 1 malloc_zone_calloc 1 szone_calloc 1 __bzero 1 __bzero 6 free 4 munmap$UNIX2003 4 munmap$UNIX2003 1 deallocate_pages 1 deallocate_pages 1 szone_size 1 szone_size 2 0xbed3b 2 -[CALayer setContents:] 2 setValue 1 beginChange 1 objc_msgSend 1 objc_msgSend 1 endChange 1 endChange 1 0xbecb9 1 CGContextSetShadowWithColor 1 atan2$fenv_access_off 1 atan2l 1 atan2l 1 0xbed09 1 CGContextFlush 1 ripc_Operation 1 ripc_Operation 1 0xbed23 1 -[NSObject(NSObject) autorelease] 1 NSAutoreleaseObject 1 NSAutoreleaseObject 1 objc_msgSend 1 objc_msgSend 3 0x981a4 3 -[CALayer setContents:] 3 setValue 1 CAAttrListSet 1 CAAttrListSet 1 CAValueEqual 1 CAValueEqual 1 beginChange 1 actionForKey 1 -[NSCFBoolean boolValue] 1 _CFExecutableLinkedOnOrAfter 1 _CFExecutableLinkedOnOrAfter 3 0x981a7 3 0x981a7 1 0x981ec 1 -[CALayer contents] 1 spin_lock 1 spin_lock 1 0x1f2fd 1 CGDataProviderCreateWithData 1 CGDataProviderCreateDirect 1 create_provider 1 CGTypeCreateInstance 1 CGTypeCreateInstanceWithAllocator 1 _CFRuntimeCreateInstance 1 __bzero 1 __bzero 1 0x1f370 1 0xb99ee 1 CATransactionSetValue 1 CAAttrListSet 1 x_mem_alloc 1 x_mem_alloc 1 0x1f3d0 1 CFRelease 1 CFRelease 1 objc_msgSend 1 objc_msgSend 2 0x1f4b5 1 0x19995 1 CPSEqualProcess 1 CPSEqualProcess 1 objc_msgSend 1 objc_msgSend 2 mshMIGPerform 657 __CFRunLoopDoObservers 650 CATransactionCommit 585 CAContextCommitTransaction 496 CALayerCommitIfNeeded 491 CALayerCommitIfNeeded 465 CALayerCommitIfNeeded 465 commitLayer 461 -[CALayer(CALayerPrivate) _copyRenderLayer:flags:] 457 CARenderImageNewWithCGImage 457 create_image_from_image_data 457 create_image_by_copying 376 create_image_levels 376 CADownsampleImage 370 vImageScale_ARGB8888 170 vImageHorizontalShear_ARGB8888 170 vHorizontal_Shear_ARGB_8888 170 vHorizontal_Shear_ARGB_8888 137 vImageVerticalShear_ARGB8888 137 vVertical_Shear_ARGB_8888 137 vVertical_Shear_ARGB_8888 45 vImageNewResamplingFilterForFunctionUsingBuffer 18 Lanczos3 18 Lanczos3 14 sinf 14 sinf 11 vImageNewResamplingFilterForFunctionUsingBuffer 1 ReturnSingle 1 ReturnSingle 1 dyld_stub_sinf 1 dyld_stub_sinf 10 free 7 munmap$UNIX2003 7 munmap$UNIX2003 2 szone_free 2 szone_free 1 free 7 malloc 7 malloc_zone_malloc 7 szone_malloc 6 large_and_huge_malloc 5 mmap 5 mmap 1 allocate_pages 1 mmap$UNIX2003 1 mmap$UNIX2003 1 small_malloc_from_free_list 1 small_malloc_from_free_list 1 vImageGetResamplingFilterSize 1 vImageGetResamplingFilterSize 6 CADownsampleImage 73 CGBlt_copyBytes 73 CGBlt_copyBytes 8 mmap 8 mmap 3 -[CALayer(CALayerPrivate) _copyRenderLayer:flags:] 1 CALayerMinificationFilterNeedsMipmaps 1 CAInternAtom 1 CFStringGetCStringPtr 1 CFStringGetCStringPtr 3 CARenderLayerForeachShmem 3 commitShmem 3 commitShmem 1 CARenderEncodeSetObject 1 CARenderEncodeObject 1 CARenderEncodeObject 1 CARenderEncodeObject 12 CALayerEnsureTransaction 3 CFRetain 2 -[CALayer retain] 1 -[CALayer retain] 1 NSRecordAllocationEvent 1 NSRecordAllocationEvent 1 OSAtomicAdd32Barrier 1 __atomic_add32 1 __atomic_add32 2 CALayerEnsureTransaction 2 CALayerGetTransaction 2 CALayerGetTransaction 1 __spin_lock 1 __spin_lock 1 dyld_stub_OSSpinLockLock 1 dyld_stub_OSSpinLockLock 1 magazine_alloc_ 1 magazine_alloc_ 1 objc_msgSend 1 objc_msgSend 1 spin_lock 1 spin_lock 11 commitLayer 8 -[CALayer(CALayerPrivate) _copyRenderLayer:flags:] 2 -[CALayer(CALayerPrivate) _copyRenderLayer:flags:] 2 getkCAValueCopiedPointer 1 getValue 1 defaultValueForAtom 1 CAObject_defaultValueForAtom 1 CAAttrListGet 1 CAAttrListGet 1 getkCAValueCopiedPointer 1 -[CALayer contents] 1 CAAttrListGet 1 CAAttrListGet 1 CALayerMinificationFilterNeedsMipmaps 1 CAInternAtom 1 strlen 1 strlen 1 CARenderImageNewWithCGImage 1 create_image_from_image_data 1 CARenderImageIsNative 1 CARenderImageIsNative 1 CARenderLayerNew 1 CARenderAlloc0 1 CARenderAlloc 1 CARenderAlloc 3 CARenderLayerForeachShmem 3 commitShmem 2 CARenderEncodeSetObject 2 CARenderEncodeObject 2 CARenderEncodeDataAsync 1 CARenderEncodeDataAsync 1 x_list_prepend_ 1 x_pool_grow 1 x_pool_grow 1 x_list_move 1 x_list_move 3 CALayerCommitIfNeeded 3 CFArrayGetValueAtIndex 3 CFArrayGetValueAtIndex 2 CALayerCommitIfNeeded 80 CARenderEncoderSend 79 mach_msg 79 mach_msg_trap 79 mach_msg_trap 1 CARenderMessageInit 1 CARenderMessageInit 5 CARenderEncoderNew 5 CARenderCoderNew 3 memset 3 memset 2 x_list_pool_new_ 1 x_list_pool_new_ 1 x_pool_new_ 1 x_pool_new_ 2 CATransactionForeachRoot 2 CATransactionForeachRoot 1 CAContextCommitTransaction 1 CALayerCollectAnimations 1 CALayerCollectAnimations_ 1 CFArrayGetValueAtIndex 1 CFArrayGetValueAtIndex 61 CALayerFreeTransaction 45 CALayerStateRelease 45 CAAttrListFree 44 CAAttrListFreeMemory 44 _CFRelease 44 image_finalize 27 CGNotificationCenterPostNotification 20 CARenderRelease 20 CARenderFinalize 20 CARenderImageDelete 20 CARenderImageFinalize 14 munmap$UNIX2003 14 munmap$UNIX2003 5 CARenderRelease 4 CARenderFinalize 4 CARenderShmemDelete 2 CARenderShmemDelete 1 CARenderNotificationPost 1 render_image_deleted 1 render_image_deleted 1 x_mem_dealloc 1 x_mem_dealloc 1 CARenderRelease 1 CARenderAlignedFree 1 CARenderAlignedFree 4 __CFStringHash 4 __CFStringHash 2 cg_image_deleted 1 CFDictionaryGetValue 1 CFDictionaryGetValue 1 CFDictionaryRemoveValue 1 CFDictionaryRemoveValue 1 CFHash 1 CFHash 17 _CFRelease 15 data_provider_finalize 13 munmap$UNIX2003 13 munmap$UNIX2003 2 dataReleaseInfo 2 mem_deallocate 2 munmap$UNIX2003 2 munmap$UNIX2003 1 _CFRelease 1 szone_free 1 tiny_free_list_add_ptr 1 tiny_free_list_add_ptr 1 CAAttrListFree 6 CFRelease 3 CFRelease 2 OSAtomicAdd32Barrier 2 __atomic_add32 2 __atomic_add32 1 CALayerRelease 1 CALayerRelease 5 CALayerFreeTransaction 2 x_mem_dealloc_chain 2 magazine_dealloc_ 2 collect_depot 1 collect_depot 1 free_magazine 1 slab_dealloc 1 slab_dealloc 1 CALayerSetTransaction 1 CALayerSetTransaction 1 OSAtomicAdd32Barrier 1 __atomic_add32 1 __atomic_add32 1 objc_msgSend 1 objc_msgSend 2 NSPopAutoreleasePool 1 NSPopAutoreleasePool 1 objc_msgSend 1 objc_msgSend 1 objc_msgSend 1 objc_msgSend 1 x_hash_table_remove_if 1 x_hash_table_remove_if 3 FlushAllBuffers(__CFRunLoopObserver*, unsigned long, void*) 2 CFRunLoopTimerSetNextFireDate 2 __CFRunLoopTimerRescheduleWithAllModes 2 mk_timer_arm 2 mk_timer_arm 1 GetCurrentEventTime 1 MachTimeConversionRate 1 pthread_once 1 pthread_once 2 bsd_qsort 1 __CFRunLoopObserverQSortComparator 1 __CFRunLoopObserverQSortComparator 1 bsd_qsort 1 CFRelease 1 CFRelease 1 OSAtomicCompareAndSwapIntBarrier 1 __compare_and_swap32 1 __compare_and_swap32 151 mach_msg 150 mach_msg_trap 150 mach_msg_trap 1 mach_msg 27 __CFRunLoopModeFindSourceForMachPort 27 CFSetApplyFunction 12 __CFRunLoopFindSource 7 __CFRunLoopFindSource 2 __CFMachPortGetPort 2 __CFMachPortGetPort 2 __CFMessagePortGetPort 2 __CFMessagePortGetPort 1 mshGetPort 1 mshGetPort 8 CFSetApplyFunction 6 __spin_lock 6 __spin_lock 1 spin_unlock 1 spin_unlock 3 CFRunLoopRunSpecific 2 CFSetApplyFunction 1 CFSetApplyFunction 1 __CFRunLoopCollectSources0 1 __CFRunLoopCollectSources0 1 CFDictionaryGetValue 1 __CFDictionaryFindBuckets1a 1 __CFDictionaryFindBuckets1a 1 dyld_stub_pthread_getspecific 1 dyld_stub_pthread_getspecific 1 malloc_zone_free 1 malloc_zone_free 1 malloc_zone_malloc 1 malloc_zone_malloc 1 szone_free 1 szone_free 1 spin_lock 1 spin_lock 2 _CFRunLoopFinished 2 __CFRunLoopFindMode 2 CFSetGetValue 2 __CFSetFindBuckets1b 1 CFEqual 1 CFEqual 1 __CFRunLoopModeHash 1 __CFRunLoopModeHash 1 objc_msgSend 1 objc_msgSend 1 0x96b58 1 +[NSDate distantFuture] 1 +[NSDate distantFuture] 1848 Thread_2603 1848 thread_start 1848 _pthread_start 1848 0x132a4 1848 pthread_cond_wait$UNIX2003 1848 __semwait_signal 1848 __semwait_signal 1848 Thread_2703 1848 thread_start 1848 _pthread_start 1848 __NSThread__main__ 1848 -[NSThread main] 1848 kevent 1848 kevent Total number in stack (recursive counted multiple, when >=5): 9 objc_msgSend 6 mmap 6 munmap$UNIX2003 5 _CFRelease 5 malloc_zone_calloc 5 szone_free Sort by top of stack, same collapsed (when >= 5): __semwait_signal 1848 kevent 1848 _symmetric_convolve 710 mach_msg_trap 239 vHorizontal_Shear_ARGB_8888 170 vVertical_Shear_ARGB_8888 137 CGBlt_copyBytes 88 A8_image_mark_rgb32 78 A8_mark_constmask 62 munmap$UNIX2003 52 mmap 24 sseCGSFill8by1 22 Lanczos3 18 sinf 14 vImageNewResamplingFilterForFunctionUsingBuffer 11 0xbed01 10 CFSetApplyFunction 9 __spin_lock 9 objc_msgSend 9 __CFRunLoopFindSource 7 CADownsampleImage 6 -[CALayer(CALayerPrivate) _copyRenderLayer:flags:] 5 CALayerCommitIfNeeded 5 CALayerFreeTransaction 5 CFRelease 5 szone_free 5 Sample analysis of process 139 written to file /dev/stdout