Jump to content
  • 0

(Archived) Evernote 2.0.5 churning cpu


werdna

Idea

I have recently upgraded to 2.0.5 and I see that evernote is now eating away at my cpu. When my machine is otherwise idle, Evernote is using 65-70% of the cpu. Also, when trying to use evernote, it is almost unresponsive. It takes about 1 second for each character to appear when I type.

Any ideas what might be happening?

I took a sample of the evernote process using the activity monitor. I tried to upload, but your bulletin board does not accept .txt files. I changed the extension to .jpg. You must change the extension to .txt to read.

Link to comment

26 replies to this idea

Recommended Posts

I was seeing the same CPU-chewing behaviour on my mac (10.6.5) with Evernote 2.0.5 as well today. Downloading the Prerelease version has not fixed this. I'd be happy to supply whatever information you wish to help track this down. EN's CPU is currently sitting at 97.7%, which is generating a lot of heat and thus fan noise.

Yesterday, after firing up Evernote (2.6.1) on an Android device, something started hammering the CPU and making the device hot to the touch. Power-cycling the device in the middle of the lecture didn't change the heat problem - the device running out of battery and shutting itself off did. After charging it overnight, it is behaving properly.

I'm thinking that (a) your version numbers aren't synchronized (there lies madness) and (:) you definitely have a cross-platform bug. Both the mac and the android are displaying the same CPU-pegging behaviour.

Link to comment

Our Mac team took a look at one of the samples provided, and it looks like the client was busy generating new "thumbnails" for each of the notes in your account. Whenever we release a new version (like 2.0.5) that includes changes to the thumbnail rendering code, the client will need to go back and retroactively render your thumbnails again. This is a one-time operation for that version, so the CPU should go away after an hour or two.

Link to comment

I have been in contact now with support and been given access to a pre-release version. I had to uninstall the current version in a specific way an install the new version in a specific way. After that the problem was gone.

This was their message, which I hope is ok to post here:

We believe that the latest Mac pre-release version may address the issue that you reported. Please accomplish the following:

Quit Evernote from the elephant icon in the Menu Bar

Drag the Evernote application to the system Trash

Reboot your Mac

Download and install this pre-release version of the Mac client:

http://www.evernote.com/about/download/ ... releaseMac

When you open our .dmg, make sure to drag the Evernote icon into the Applications folder instead of running it from within the installer package.

Eject the disk image and delete the installer file before you run Evernote.

Let us know how this works for you.

Thanks,

****

Evernote Support

Link to comment

In general, if the Mac client is using a lot of CPU and becoming unresponsive for long spans of time (e.g. 10 seconds+) with the "beach ball" icon, then it's worth trying a reboot and possibly a reinstall first.

If the problem persists, we'd like to track down a bit more information via the Activity Monitor. You can select our application there when the app is "hung" and press the "Sample Process" button to get a snapshot of what the app is doing at that time. If you do this on a couple of different occasions, we can collect even more results.

If you provide these to Support via an inquiry, we can pass them along to engineering for analysis.

Thanks

Link to comment
I too have that problem with version 2.0.5..

CPU on a macbook pro is at 95-100% and the notebook is getting hot as hell of course. Not to speak of the battery running out very quickly.

I can't keep using EN under these circumstances, although I would really like to.

Rebooting or quitting and restarting the app didn't help of course.

Also the CPU is at these high value perpetually. It's not like it stops after 5 minutes or even 5 hours. It just goes on. . .

First, I agree that anyone who is consistently experiencing very high CPU usage with ONLY Evernote running should file a Evernote support ticket.

Having said that, there are few things worthy of note:


  • [*:2g6s7r56]This issue could be localized to your computer

    • [*:2g6s7r56]I'm running EN Mac 2.0.5 (130391) without any problems
      [*:2g6s7r56]I just did a massive Tag reoranization that probably affected about 1,000 Notes
      [*:2g6s7r56]I made all the changes on EN Win 4
      [*:2g6s7r56]When I did the sync on my MacBook Air (1.6 Ghz CPU, 4 GB RAM) it took only about 20 seconds, with the CPU peaking at about 40%
      [*:2g6s7r56]I have never experienced any performance issues with EN Mac

[*:2g6s7r56]The fact that you guys are having this very high CPU usage suggests that there may be something corrupt on your Mac, either data, software, or both.

[*:2g6s7r56]Unless you have a huge number of Notes (like well over 10,000), you might want to try an Uninstall / Reinstall of EN Mac, after making a backup of your Mac


  • [*:2g6s7r56]Make sure you do a backup first
    [*:2g6s7r56]See the following articles for recommended uninstall procedure:

    • [*:2g6s7r56]MacRumors.com:
Uninstalling Applications in Mac OS X
[*:2g6s7r56]MacWorld.com: Mac utilities: Do uninstallers work?

[*:2g6s7r56]Make sure all of the Evernote folders have been deleted or cleared.

Good luck, and let us know what the was the final solution.

Link to comment

I too have that problem with version 2.0.5..

CPU on a macbook pro is at 95-100% and the notebook is getting hot as hell of course. Not to speak of the battery running out very quickly.

I can't keep using EN under these circumstances, although I would really like to.

Rebooting or quitting and restarting the app didn't help of course.

Also the CPU is at these high value perpetually. It's not like it stops after 5 minutes or even 5 hours. It just goes on.

Please fix ASAP!

Link to comment

Sorry to reign in on the fun, but the cpu churning is continuing to happen for me. It is so bad that my system becomes unresponsive when evernote is on and typing when inside evernote is horrendously slow. It takes ~1 second for each character to appear. I have left evernote running for a few hours just to see if the cou would eventually go down (it didn't).

I pasted a sample of the process over at pastebin:

http://pastebin.com/827SXrxA

At this point, evernote is unusable, and when it is running, it is making my system unusable. Perhaps I should downgrade...

Link to comment
  • Level 5*

Raymond Chen is a god of Windows programming; his blog is on my daily reading list.

It's not all germane to the situation, though. If the 100% utilization goes on for hours, then there may be something going on, even if the application has lost responsiveness: I don't think that Evernote has spun off a thread calculating digits of pi, for example. And if you're running on battery power, it's probably not a great situation, either. Truthfully, this situation is kind of difficult to diagnose from afar; there must be tools available on the Mac that can help pinpoint the busy thread (on Windows I'd be reaching for Process Explorer).

Link to comment
A CPU at 100% is not in and of itself necessarily a problem, so long as the rest of your system remains responsive. If the program is performing a computationally intensive algorithm, but yields to other processes, then there should be no problem. If your system *does* lose responsiveness, then that's when you should worry.

I don't think I agree with that. Spiking at 100% is one thing, but if it continues at 100% for a sustained period, say over 1 minute, then this could be cause for concern for most applications.

If the same app continues to show this behavior over several hours, then I would be concerned unless you can easily explain it by what the app is doing. Re-downloading your entire EN account might generate some high CPU usage if you have lots of notes, but I would still be surprised [f it had a sustained level of 100%.

came back to my computer this morning to find Evernote 2.0.5 hovering close to 100% CPU, though the app is still responsive; a sample is below; there was nothing relevant in the logs, but when i quit the app, i got the message "are you sure you want to quit ... currently syncing ..."; when i restarted Evernote the cpu usage was normal

Of course doing a reboot as you did is one of the first things to try. If it continues to run at a very high % then either you have a poorly written app, corrupt data, and/or corrupt app.

Link to comment
  • Level 5*

A CPU at 100% is not in and of itself necessarily a problem, so long as the rest of your system remains responsive. If the program is performing a computationally intensive algorithm, but yields to other processes, then there should be no problem. If your system *does* lose responsiveness, then that's when you should worry.

Link to comment

came back to my computer this morning to find Evernote 2.0.5 hovering close to 100% CPU, though the app is still responsive; a sample is below; there was nothing relevant in the logs, but when i quit the app, i got the message "are you sure you want to quit ... currently syncing ..."; when i restarted Evernote the cpu usage was normal

Sampling process 1982 for 3 seconds with 1 millisecond of run time between samples

Sampling completed, processing symbols...

Analysis of sampling Evernote (pid 1982) every 1 millisecond

Call graph:

1315 Thread_2507

1315 start

1315 NSApplicationMain

1315 -[NSApplication run]

1315 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]

1315 _DPSNextEvent

1315 BlockUntilNextEventMatchingListInMode

1315 ReceiveNextEventCommon

1315 RunCurrentEventLoopInMode

1315 CFRunLoopRunInMode

1315 CFRunLoopRunSpecific

1177 mach_msg

1177 mach_msg_trap

1177 mach_msg_trap

126 __CFRunLoopDoObservers

123 _handleWindowNeedsDisplay

122 -[NSWindow displayIfNeeded]

122 -[NSView displayIfNeeded]

116 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]

98 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

98 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

93 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

87 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

81 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

71 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

55 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

47 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

44 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

36 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

22 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

15 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

7 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

4 -[NSView lockFocus]

4 -[NSView lockFocusIfCanDraw]

4 -[NSWindow _threadContext]

4 _runningOnAppKitThread

4 __spin_lock

4 __spin_lock

3 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

1 -[NSView canDraw]

1 -[NSView canDraw]

1 -[NSView unlockFocus]

1 -[NSFocusStack popTopView]

1 PSgrestore

1 CGContextRestoreGState

1 CGGStackRestore

1 CGGStateRelease

1 free

1 szone_free

1 szone_free

1 objc_msgSend

1 objc_msgSend

2 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

2 _CFRelease

2 __CFArrayReleaseValues

2 __CFArrayReleaseValues

2 objc_msgSend

2 objc_msgSend

1 -[NSView convertRect:toView:]

1 -[NSView _convertRect:toAncestor:]

1 -[NSView _convertRect:toAncestor:]

1 -[NSView _convertRect:toAncestor:]

1 objc_msgSend_stret

1 objc_msgSend_stret

1 -[NSView lockFocus]

1 dyld_stub_objc_msgSend

1 dyld_stub_objc_msgSend

4 -[NSView lockFocus]

4 -[NSView lockFocusIfCanDraw]

1 -[NSFocusState flush]

1 -[NSFocusState flush]

1 -[NSView _focusFromView:withContext:]

1 -[NSView _focusFromView:withContext:]

1 -[NSWindow _copyAcquiredViewHierarchyLock]

1 -[NSViewHierarchyLock lockForReadingWithExceptionHandler:]

1 OSAtomicAdd32Barrier

1 __atomic_add32

1 __atomic_add32

1 PSgsave

1 -[NSCFArray addObject:]

1 -[NSCFArray insertObject:atIndex:]

1 _CFArrayReplaceValues

1 CFRetain

1 -[NSObject retain]

1 __CFDoExternRefOperation

1 CFBagAddValue

1 CFBagAddValue

2 -[NSObject release]

2 __CFDoExternRefOperation

2 CFBagRemoveValue

2 CFBagRemoveValue

1 -[NSConcreteMapTable setObject:forKey:]

1 objc_msgSend

1 objc_msgSend

7 -[NSView lockFocus]

6 -[NSView lockFocusIfCanDraw]

4 PSgsave

2 CGContextSaveGState

1 CGContextSaveGState

1 CGGStackSave

1 CGGStateCreateCopy

1 CGGStateClipCopy

1 CGGStateClipCopy

2 objc_msgSend

2 objc_msgSend

2 -[NSWindow _copyAcquiredViewHierarchyLock]

2 -[NSViewHierarchyLock lockForReadingWithExceptionHandler:]

1 -[NSViewHierarchyLock lockForReadingWithExceptionHandler:]

1 pthread_mutex_lock

1 pthread_mutex_lock

1 objc_msgSend

1 objc_msgSend

2 -[NSObject release]

2 __CFDoExternRefOperation

2 CFBagContainsValue

2 __CFBagFindBuckets1a

2 __CFBagFindBuckets1a

2 -[NSView unlockFocus]

1 -[NSFocusStack popTopView]

1 PSgrestore

1 -[NSObject release]

1 __CFDoExternRefOperation

1 CFBagContainsValue

1 __CFBagFindBuckets1a

1 __CFBagFindBuckets1a

1 objc_msgSend

1 objc_msgSend

1 -[NSRegion containsRect:]

1 CGSRectInRegion

1 CGSRectInRegion

1 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

1 objc_msgSend_stret

1 objc_msgSend_stret

2 -[NSObject copy]

2 -[NSCFArray copyWithZone:]

2 CFArrayCreateCopy

1 CFArrayGetValueAtIndex

1 CFArrayGetValueAtIndex

1 CFRetain

1 CFRetain

2 -[NSView lockFocus]

2 -[NSView lockFocusIfCanDraw]

1 -[NSFocusState flush]

1 NSRectClip

1 CGContextClipToRect

1 CGGStateClipToRect

1 CGRectApplyAffineTransform

1 CGRectApplyAffineTransform

1 -[NSView _focusFromView:withContext:]

1 -[NSView _gatherFocusStateInto:upTo:withContext:]

1 objc_msgSend

1 objc_msgSend

1 -[NSConcreteMapTable setObject:forKey:]

1 probeGC

1 objectEqual

1 -[NSObject isEqual:]

1 -[NSObject isEqual:]

1 -[NSView unlockFocus]

1 -[NSFocusStack popTopView]

1 PSgrestore

1 CGContextRestoreGState

1 CGGStackRestore

1 CGGStateRelease

1 free

1 szone_free

1 szone_free

1 -[_NSDisplayOperationStack rectSetBeingDrawnForView:]

1 -[NSArray lastObject]

1 -[NSCFArray objectAtIndex:]

1 _CFArrayCheckAndGetValueAtIndex

1 _CFArrayCheckAndGetValueAtIndex

1 dyld_stub_objc_msgSend

1 dyld_stub_objc_msgSend

1 -[NSView convertRect:toView:]

1 -[NSView _convertRect:toAncestor:]

1 -[NSView _convertRect:toAncestor:]

1 objc_msgSend_stret

1 objc_msgSend_stret

1 _NSWindowsTrackDirtyRegions

1 _NSWindowsTrackDirtyRegions

1 objc_msgSend

1 objc_msgSend

4 -[NSView lockFocus]

4 -[NSView lockFocusIfCanDraw]

2 +[NSString(NSStringDrawing) setTypesetterBehavior:]

2 +[NSString(NSStringDrawing) setTypesetterBehavior:]

1 -[NSWindow _threadContext]

1 _runningOnAppKitThread

1 pthread_main_np

1 pthread_main_np

1 PSgsave

1 objc_msgSend

1 objc_msgSend

2 objc_msgSend

2 objc_msgSend

1 -[NSConcreteMapTable setObject:forKey:]

1 objc_msgSend

1 objc_msgSend

1 -[NSView unlockFocus]

1 -[NSFocusStack unfocusView:]

1 -[NSFocusStack unfocusView:]

7 -[NSView lockFocus]

7 -[NSView lockFocusIfCanDraw]

2 -[NSView _focusFromView:withContext:]

1 -[NSView _gatherFocusStateInto:upTo:withContext:]

1 -[NSView _focusInto:withClip:]

1 objc_msgSend

1 objc_msgSend

1 _runningOnAppKitThread

1 __spin_lock

1 __spin_lock

2 -[NSWindow _copyAcquiredViewHierarchyLock]

2 -[NSViewHierarchyLock lockForReadingWithExceptionHandler:]

1 __spin_lock

1 __spin_lock

1 pthread_mutex_lock

1 pthread_mutex_lock

1 +[NSString(NSStringDrawing) setTypesetterBehavior:]

1 +[NSString(NSStringDrawing) setTypesetterBehavior:]

1 -[NSFocusState flush]

1 NSRectClip

1 CGContextClipToRect

1 CGGStateClipToRect

1 CGClipStackAddRect

1 CGTypeGetNextIdentifier

1 CGTypeGetNextIdentifier

1 -[NSView canDraw]

1 objc_is_finalized

1 objc_is_finalized

4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]

4 -[NSView _drawRect:clip:]

4 -[NSToolbarButton drawRect:]

2 -[NSToolbarButton cachedDrawingImage]

1 +[NSToolbarItem _imageForDrawingInRectOfSize:fromImage:]

1 -[NSImage setCacheMode:]

1 -[NSImage setCacheMode:]

1 objc_msgSend

1 objc_msgSend

1 +[NSControl defaultFocusRingType]

1 objc_msgSend

1 objc_msgSend

1 -[NSControl drawRect:]

1 -[_NSToolbarButtonCell drawInteriorWithFrame:inView:]

1 -[NSButtonCell drawInteriorWithFrame:inView:]

1 -[NSButtonCell _configureAndDrawImageWithRect:cellFrame:controlView:]

1 -[NSButtonCell drawImage:withFrame:inView:]

1 -[NSImage _drawMappingAlignmentRectToRect:withState:backgroundStyle:operation:fraction:flip:]

1 -[NSImage drawInRect:fromRect:operation:fraction:]

1 -[NSBitmapImageRep _drawFromRect:toRect:operation:alpha:compositing:flipped:ignoreContext:]

1 CGContextDrawImage

1 ripc_DrawImage

1 ripc_AcquireImage

1 ripc_AcquireImage

2 -[NSView unlockFocus]

2 -[NSFocusStack popTopView]

2 PSgrestore

2 CGContextRestoreGState

2 CGGStackRestore

1 CGGStateRelease

1 free

1 szone_size

1 szone_size

1 free

1 __spin_lock

1 __spin_lock

1 -[NSConcreteMapTable objectForKey:]

1 probeGC

1 probeGC

1 -[NSRegion containsRect:]

1 -[NSRegion containsRect:]

1 -[NSView convertRect:toView:]

1 objc_msgSend_stret

1 objc_msgSend_stret

3 objc_msgSend

3 objc_msgSend

2 -[NSView lockFocus]

2 -[NSView lockFocusIfCanDraw]

1 -[NSView _focusFromView:withContext:]

1 -[NSView _gatherFocusStateInto:upTo:withContext:]

1 -[NSView _focusInto:withClip:]

1 -[NSPSMatrix translateOriginToPoint:]

1 -[NSPSMatrix translateOriginToPoint:]

1 OSAtomicAdd32Barrier

1 OSAtomicAdd32Barrier

1 -[NSObject copy]

1 -[NSCFArray copyWithZone:]

1 CFArrayCreateCopy

1 __CFTypeCollectionRetain

1 __CFTypeCollectionRetain

1 -[NSRectSet initWithCopyOfRects:count:bounds:]

1 -[NSRectSet initWithCopyOfRects:count:bounds:]

1 -[NSWindow release]

1 NSDecrementExtraRefCountWasZero

1 __CFDoExternRefOperation

1 CFBagRemoveValue

1 __CFBagFindBuckets1a

1 __CFBagFindBuckets1a

1 -[_NSDisplayOperationStack rectSetBeingDrawnForView:]

1 -[NSArray lastObject]

1 dyld_stub__CFArrayCheckAndGetValueAtIndex

1 dyld_stub__CFArrayCheckAndGetValueAtIndex

1 _CFRelease

1 _CFRelease

2 -[NSConcreteMapTable setObject:forKey:]

1 -[NSConcreteMapTable assign:key:value:isNew:]

1 -[NSObject retain]

1 -[NSObject retain]

1 -[NSConcreteMapTable grow]

1 readPointerAt

1 readPointerAt

2 objc_msgSend

2 objc_msgSend

1 -[NSView _convertRectFromSuperview:test:]

1 -[_NSToolbarViewClipView isFlipped]

1 -[_NSToolbarViewClipView isFlipped]

1 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

4 -[NSView _drawRect:clip:]

3 -[NSView _regionForOpaqueDescendants:forMove:]

1 -[NSView _regionForOpaqueDescendants:forMove:]

1 -[NSView _regionForOpaqueDescendants:forMove:]

1 -[NSView convertRect:fromView:]

1 -[NSView _convertRect:fromAncestor:]

1 -[NSView _convertRectFromSuperview:test:]

1 -[_NSToolbarViewClipView isFlipped]

1 -[_NSToolbarViewClipView isFlipped]

1 objc_msgSend_stret

1 objc_msgSend_stret

1 NSRectFillUsingOperation

1 CGContextFillRect

1 CGContextFillRects

1 ripc_DrawRects

1 ripr_Rectangles

1 ripr_Rectangles

1 -[NSView lockFocus]

1 -[NSView lockFocusIfCanDraw]

1 -[NSView _focusFromView:withContext:]

1 -[NSView _gatherFocusStateInto:upTo:withContext:]

1 -[NSView _focusInto:withClip:]

1 class_getMethodImplementation

1 class_getMethodImplementation

1 objc_msgSend_stret

1 objc_msgSend_stret

4 -[NSView _drawRect:clip:]

4 -[NSThemeFrame drawRect:]

4 -[NSFrameView drawRect:]

4 -[NSThemeFrame drawFrame:]

4 -[NSThemeFrame _drawFrameInterior:clip:]

4 -[NSThemeFrame _drawTitleBar:]

3 -[NSThemeFrame _drawUnifiedToolbar:]

3 _NSDrawThemeBackground

3 CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**)

2 CUIRenderer::DrawWindowFrameDark(CUIContext const*)

2 CGContextDrawImages

2 ripc_DrawImages

2 ripc_RenderImage

2 ripl_BltImage

2 ripd_Mark

2 argb32_image

2 argb32_mark

2 argb32_mark_pixelshape

2 argb32_mark_pixelshape

1 CUIRenderer::DecodeToCUIInfo(CGRect, CGContext*, __CFDictionary const*, CUIInfo*)

1 CUIRenderer::DecodeToCUIInfo(CGRect, CGContext*, __CFDictionary const*, CUIInfo*)

1 PSgsave

1 CGContextSaveGState

1 CGGStackSave

1 CGGStateCreateCopy

1 calloc

1 malloc_zone_calloc

1 szone_calloc

1 __bzero

1 __bzero

1 objc_msgSend

1 objc_msgSend

11 -[NSCFArray removeLastObject]

11 -[NSCFArray removeObjectAtIndex:]

11 _CFArrayReplaceValues

11 __CFArrayReleaseValues

11 CFRelease

11 -[_NSDisplayOperation dealloc]

10 -[NSConcreteMapTable dealloc]

10 dealloc

10 empty

4 -[NSRectSet dealloc]

2 NSDeallocateObject

2 _internal_object_dispose

2 free

2 __spin_lock

2 __spin_lock

1 -[NSRectSet dealloc]

1 szone_free

1 szone_free

3 -[NSObject release]

2 __spin_lock

2 __spin_lock

1 __CFDoExternRefOperation

1 __CFDoExternRefOperation

2 -[NSView release]

2 -[NSView release]

1 clearPointerAt

1 clearPointerAt

1 -[NSRegion dealloc]

1 CGSReleaseRegion

1 _CFRelease

1 regionFinalize

1 mem_heap_free

1 szone_free

1 tiny_free_list_add_ptr

1 tiny_free_list_add_ptr

6 -[NSWindow flushWindow]

6 CGContextFlush

6 ripc_Operation

6 CGSDeviceSynchronize

6 _CGSFlushRegionInline

6 mach_msg

6 mach_msg_trap

6 mach_msg_trap

1 -[NSView unlockFocus]

1 -[NSFocusStack popTopView]

1 PSgrestore

1 -[NSCFArray removeLastObject]

1 -[NSCFArray removeObjectAtIndex:]

1 _CFArrayReplaceValues

1 __bzero

1 __bzero

6 -[NSView _recursiveTickleNeedsDisplay]

6 CFArrayApplyFunction

6 -[NSView _recursiveTickleNeedsDisplay]

6 CFArrayApplyFunction

6 -[NSView _recursiveTickleNeedsDisplay]

6 CFArrayApplyFunction

6 -[NSView _recursiveTickleNeedsDisplay]

6 CFArrayApplyFunction

5 -[NSView _recursiveTickleNeedsDisplay]

3 -[NSView convertRect:toView:]

3 -[NSView _convertRect:toAncestor:]

3 -[NSView _convertRect:toAncestor:]

2 -[NSView _convertRect:toAncestor:]

1 -[NSView _convertRect:toAncestor:]

1 -[NSView _convertRect:toAncestor:]

2 CFArrayApplyFunction

2 -[NSView _recursiveTickleNeedsDisplay]

2 CFArrayApplyFunction

2 -[NSView _recursiveTickleNeedsDisplay]

2 CFArrayApplyFunction

2 -[NSView _recursiveTickleNeedsDisplay]

2 CFArrayApplyFunction

2 -[NSView _recursiveTickleNeedsDisplay]

1 -[NSWindow _needsDisplayForEntireRect:]

1 -[NSRegion containsRect:]

1 CGSRectInRegion

1 CGSRectInRegion

1 __spin_lock

1 __spin_lock

1 objc_msgSend_stret

1 objc_msgSend_stret

1 objc_msgSend

1 objc_msgSend

2 __NSConnectionDoQueuedWork

1 NSPushAutoreleasePool

1 objc_assign_strongCast

1 objc_assign_strongCast

1 _CFArrayFastEnumeration

1 _CFArrayFastEnumeration

1 FlushAllBuffers(__CFRunLoopObserver*, unsigned long, void*)

1 CFRunLoopTimerSetNextFireDate

1 __CFRunLoopTimerRescheduleWithAllModes

1 mk_timer_arm

1 mk_timer_arm

6 __NSFireTimer

4 -[NSProgressIndicator _animationIdler:]

2 -[NSProgressIndicator _drawThemeProgressArea:]

2 _NSTileImage

2 _NSTileImageWithOperation

1 +[NSGraphicsContext setCurrentContext:]

1 -[NSObject retain]

1 __CFDoExternRefOperation

1 CFBagAddValue

1 CFBagAddValue

1 -[NSImage _compositeFlipped:inRect:fromRect:operation:fraction:]

1 -[NSImage drawInRect:fromRect:operation:fraction:]

1 -[NSBitmapImageRep _drawFromRect:toRect:operation:alpha:compositing:flipped:ignoreContext:]

1 CGContextDrawImage

1 ripc_DrawImage

1 ripc_AcquireImage

1 ripc_AcquireImage

2 -[NSView lockFocusIfCanDraw]

1 -[NSView _focusFromView:withContext:]

1 -[NSView _gatherFocusStateInto:upTo:withContext:]

1 -[NSView _gatherFocusStateInto:upTo:withContext:]

1 -[NSView _gatherFocusStateInto:upTo:withContext:]

1 -[NSView _gatherFocusStateInto:upTo:withContext:]

1 -[NSView _focusInto:withClip:]

1 CFArrayAppendValue

1 _CFArrayReplaceValues

1 _CFArrayReplaceValues

1 -[NSWindow _threadContext]

1 _runningOnAppKitThread

1 __spin_lock

1 __spin_lock

2 -[ENNoteCollectionWindowController nextSyncIconFrame:]

2 -[NSToolbarItem setImage:]

2 -[NSToolbarButton setImage:]

1 -[NSToolbarButton invalidateCachedDrawingImage]

1 __spin_lock

1 __spin_lock

1 -[NSToolbarButton updateCellInside:]

1 -[NSView setNeedsDisplay:]

1 __ZL21setNeedsDisplayInRectP6NSViewP13objc_selector7_NSRect

1 -[NSView setNeedsDisplayInRect:]

1 -[NSWindow setViewsNeedDisplay:]

1 -[NSWindow _postingDisabled]

1 -[NSWindow _threadContext]

1 _runningOnAppKitThread

1 __spin_lock

1 __spin_lock

4 __CFRunLoopModeFindSourceForMachPort

4 CFSetApplyFunction

3 __CFRunLoopFindSource

2 CFMachPortGetPort

2 CFMachPortGetPort

1 __CFMachPortGetPort

1 __CFMachPortGetPort

1 CFSetApplyFunction

1 CFRunLoopRunSpecific

1 __bzero

1 __bzero

1315 Thread_2603

1315 start_wqthread

1315 __workq_ops

1315 __workq_ops

1315 Thread_2703

1315 start_wqthread

1315 __workq_ops

1315 __workq_ops

1315 Thread_2803

1315 thread_start

1315 _pthread_start

1315 kevent

1315 kevent

1315 Thread_2903

1315 thread_start

1315 _pthread_start

1315 __NSThread__main__

1315 -[NSThread main]

1315 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]

1315 CFRunLoopRunInMode

1315 CFRunLoopRunSpecific

1315 mach_msg

1315 mach_msg_trap

1315 mach_msg_trap

1315 Thread_2a03

1315 thread_start

1315 _pthread_start

1315 __NSThread__main__

1315 -[NSThread main]

1315 -[ENNoteThumbnailManager thumbnailerThreadMain]

1315 -[NSCondition waitUntilDate:]

1315 pthread_cond_timedwait_relative_np

1315 _pthread_cond_wait

1315 semaphore_timedwait_signal_trap

1315 semaphore_timedwait_signal_trap

1315 Thread_2b03

1315 thread_start

1315 _pthread_start

1315 __NSThread__main__

1315 -[NSThread main]

1315 -[ENAdManager adUpdater]

1315 -[NSCondition waitUntilDate:]

1315 pthread_cond_timedwait_relative_np

1315 _pthread_cond_wait

1315 semaphore_timedwait_signal_trap

1315 semaphore_timedwait_signal_trap

1315 Thread_2c03

1315 thread_start

1315 _pthread_start

1315 __NSThread__main__

1315 -[NSThread main]

1315 -[ENConnectivityMonitor startMonitoringThread]

1315 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]

1315 CFRunLoopRunInMode

1315 CFRunLoopRunSpecific

1315 mach_msg

1315 mach_msg_trap

1315 mach_msg_trap

1315 Thread_2d03

1315 thread_start

1315 _pthread_start

1315 __NSThread__main__

1315 -[NSThread main]

1315 kevent

1315 kevent

1315 Thread_2e03

1315 thread_start

1315 _pthread_start

1315 WTF::TCMalloc_PageHeap::runScavengerThread(void*)

1315 WTF::TCMalloc_PageHeap::scavengerThread()

1315 pthread_cond_wait$UNIX2003

1315 __semwait_signal

1315 __semwait_signal

1315 Thread_2f03

1315 thread_start

1315 _pthread_start

1315 CFURLCacheWorkerThread(void*)

1315 CFRunLoopRunInMode

1315 CFRunLoopRunSpecific

1315 mach_msg

1315 mach_msg_trap

1315 mach_msg_trap

1315 Thread_3003

1315 thread_start

1315 _pthread_start

1315 CMMConvTask(void*)

1315 pthreadSemaphoreWait(t_pthreadSemaphore*)

1315 pthread_cond_wait$UNIX2003

1315 __semwait_signal

1315 __semwait_signal

1315 Thread_3103

1315 thread_start

1315 _pthread_start

1315 fe_fragment_thread

1315 pthread_cond_wait$UNIX2003

1315 __semwait_signal

1315 __semwait_signal

1315 Thread_3203

1315 thread_start

1315 _pthread_start

1315 select$DARWIN_EXTSN

1315 select$DARWIN_EXTSN

1315 Thread_3303

1315 thread_start

1315 _pthread_start

1315 __NSThread__main__

1315 -[NSThread main]

1315 -[ENSyncEngine backgroundSync]

1315 -[ENSyncEngine syncServerChanges:]

1315 -[EDAMNoteStoreClient getSyncState:]

1315 -[THTTPClient flush]

1315 +[NSURLConnection sendSynchronousRequest:returningResponse:error:]

1315 CFURLConnectionSendSynchronousRequest

1254 CFRunLoopRunInMode

1112 CFRunLoopRunSpecific

677 mach_msg

653 mach_msg_trap

653 mach_msg_trap

24 mach_msg

121 __CFRunLoopFindMode

100 CFSetGetValue

87 __CFSetFindBuckets1b

48 __CFStringHash

48 __CFStringHash

11 __CFSetFindBuckets1b

10 CFHash

10 CFHash

7 CFEqual

4 __CFRunLoopModeEqual

2 CFEqual

2 CFEqual

2 __CFRunLoopModeEqual

3 CFEqual

7 __CFRunLoopModeHash

7 __CFRunLoopModeHash

4 _CFHash

4 _CFHash

9 CFSetGetValue

3 _CFHash

3 _CFHash

1 CFEqual

1 CFEqual

11 _CFRuntimeSetInstanceTypeID

11 _CFRuntimeSetInstanceTypeID

10 __CFRunLoopFindMode

72 CFRunLoopRunSpecific

29 CFSetApplyFunction

18 CFSetApplyFunction

11 __CFRunLoopCollectSources0

11 __CFRunLoopCollectSources0

21 __bzero

21 __bzero

21 szone_free

21 szone_free

17 _CFRunLoop0

7 _CFRunLoop0

6 pthread_main_np

6 pthread_main_np

4 CFDictionaryGetValue

3 CFDictionaryGetValue

1 __CFDictionaryFindBuckets1a

1 __CFDictionaryFindBuckets1a

17 __removeHandler2

14 __removeHandler2

3 pthread_getspecific

3 pthread_getspecific

17 __spin_lock

17 __spin_lock

17 malloc_zone_malloc

10 szone_malloc

9 szone_malloc

1 spin_unlock

1 spin_unlock

5 __spin_lock

5 __spin_lock

2 malloc_zone_malloc

14 __CFRunLoopDoObservers

14 __CFRunLoopDoObservers

14 __nanotime

14 __nanotime

14 objc_exception_try_exit

14 objc_exception_try_exit

10 malloc_zone_free

10 malloc_zone_free

7 __CFRunLoopModeIsEmpty

4 CFSetGetCount

4 CFSetGetCount

3 __CFRunLoopModeIsEmpty

6 CFAllocatorDeallocate

6 CFAllocatorDeallocate

6 mach_msg_trap

6 mach_msg_trap

5 CFRunLoopGetMain

5 CFRunLoopGetMain

5 _sysenter_trap

5 _sysenter_trap

4 CFSetGetCount

4 CFSetGetCount

3 CFAllocatorAllocate

3 CFAllocatorAllocate

3 OSSpinLockLock

3 OSSpinLockLock

3 __addHandler2

3 __addHandler2

3 pthread_getspecific

3 pthread_getspecific

2 spin_unlock

2 spin_unlock

1 dyld_stub_OSSpinLockUnlock

1 dyld_stub_OSSpinLockUnlock

1 dyld_stub__spin_lock

1 dyld_stub__spin_lock

1 objc_exception_try_enter

1 objc_exception_try_enter

1 pthread_main_np

1 pthread_main_np

57 __spin_lock

57 __spin_lock

19 CFRunLoopGetCurrent

10 pthread_self

10 pthread_self

9 CFRunLoopGetCurrent

18 _CFRunLoop0

11 CFDictionaryGetValue

8 CFDictionaryGetValue

3 __CFDictionaryFindBuckets1a

3 __CFDictionaryFindBuckets1a

4 _CFRunLoop0

3 pthread_main_np

3 pthread_main_np

11 mach_absolute_time

11 mach_absolute_time

9 CFRunLoopRunInMode

9 OSSpinLockLock

9 OSSpinLockLock

6 _setjmp

6 _setjmp

4 dyld_stub_OSSpinLockUnlock

4 dyld_stub_OSSpinLockUnlock

3 spin_unlock

3 spin_unlock

2 dyld_stub_OSSpinLockLock

2 dyld_stub_OSSpinLockLock

1 dyld_stub_memset

1 dyld_stub_memset

1 memset

1 memset

1 pthread_main_np

1 pthread_main_np

1 pthread_self

1 pthread_self

58 CFAbsoluteTimeGetCurrent

26 gettimeofday

14 __gettimeofday

7 __gettimeofday

7 __nanotime

7 __nanotime

12 gettimeofday

25 CFAbsoluteTimeGetCurrent

5 __gettimeofday

5 __gettimeofday

2 __commpage_gettimeofday

2 __commpage_gettimeofday

3 CFURLConnectionSendSynchronousRequest

1315 Thread_3403

1315 thread_start

1315 _pthread_start

1315 __NSThread__main__

1315 -[NSThread main]

1315 -[NSUIHeartBeat _heartBeatThread:]

1315 -[NSConditionLock lockWhenCondition:]

1315 -[NSConditionLock lockWhenCondition:beforeDate:]

1315 -[NSCondition waitUntilDate:]

1315 pthread_cond_timedwait_relative_np

1315 _pthread_cond_wait

1315 semaphore_timedwait_signal_trap

1315 semaphore_timedwait_signal_trap

Total number in stack (recursive counted multiple, when >=5):

18 objc_msgSend

13 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]

13 __spin_lock

13 _pthread_start

13 thread_start

9 -[NSView _recursiveTickleNeedsDisplay]

9 -[NSView lockFocusIfCanDraw]

9 -[NSView lockFocus]

8 -[NSView _convertRect:toAncestor:]

8 -[NSView _gatherFocusStateInto:upTo:withContext:]

8 CFArrayApplyFunction

7 -[NSThread main]

7 __CFDoExternRefOperation

7 __NSThread__main__

7 mach_msg_trap

7 objc_msgSend_stret

6 -[NSView _focusFromView:withContext:]

6 -[NSView unlockFocus]

6 mach_msg

5 -[NSFocusStack popTopView]

5 CFRunLoopRunInMode

5 CFRunLoopRunSpecific

5 PSgrestore

5 _runningOnAppKitThread

5 free

5 pthread_main_np

5 szone_free

Sort by top of stack, same collapsed (when >= 5):

mach_msg_trap 5787

__semwait_signal 3945

semaphore_timedwait_signal_trap 3945

__workq_ops 2630

kevent 2630

select$DARWIN_EXTSN 1315

__spin_lock 94

CFRunLoopRunSpecific 73

__CFStringHash 48

CFAbsoluteTimeGetCurrent 25

__bzero 24

mach_msg 24

objc_msgSend 24

szone_free 24

__nanotime 21

CFSetApplyFunction 19

__CFRunLoopDoObservers 14

__removeHandler2 14

objc_exception_try_exit 14

OSSpinLockLock 12

__gettimeofday 12

gettimeofday 12

pthread_main_np 12

CFDictionaryGetValue 11

_CFRunLoop0 11

_CFRuntimeSetInstanceTypeID 11

__CFRunLoopCollectSources0 11

__CFSetFindBuckets1b 11

mach_absolute_time 11

pthread_self 11

CFHash 10

__CFRunLoopFindMode 10

malloc_zone_free 10

CFRunLoopGetCurrent 9

CFRunLoopRunInMode 9

CFSetGetValue 9

szone_malloc 9

CFSetGetCount 8

_CFHash 7

__CFRunLoopModeHash 7

objc_msgSend_stret 7

CFAllocatorDeallocate 6

CFEqual 6

_setjmp 6

pthread_getspecific 6

spin_unlock 6

CFRunLoopGetMain 5

_sysenter_trap 5

dyld_stub_OSSpinLockUnlock 5

Sample analysis of process 1982 written to file /dev/stdout

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...