Journler development has ended. Sprouted is shutting down. User support will continue indefinitely.
Read more

Community

Journler 2.5.4 beta 2 - Right Proper Tags (RPT)
Goto page Previous  1, 2, 3, 4, 5  Next
Post new topic   Reply to topic journler.com Forum Index » Journler Beta Testing
View previous topic :: View next topic  
Author Message
phildow
Site Admin


Joined: 11 Dec 2005
Posts: 3407
Location: Berkeley

PostPosted: Mon Aug 20, 2007 9:00 pm    Post subject: Reply with quote
@bosx: How many entries do you have? New entry creation should be pretty snappy.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
bosx



Joined: 02 Apr 2007
Posts: 26

PostPosted: Tue Aug 21, 2007 12:53 am    Post subject: Reply with quote
Currently I have 3962 entries. It takes a delay of 45-55 seconds or so on my ibook G4 to create a new entry. I do have a lot of smart folders. Any ideas?
Thanks.
Back to top
View user's profile Send private message
cruising



Joined: 02 Apr 2007
Posts: 27

PostPosted: Tue Aug 21, 2007 1:57 am    Post subject: Reply with quote
bosx wrote:
Currently I have 3962 entries. It takes a delay of 45-55 seconds or so on my ibook G4 to create a new entry. I do have a lot of smart folders. Any ideas?
Thanks.


When I have programs running like that, I run Disk Util and verify the disk and permissions. Just a thought.
Back to top
View user's profile Send private message
phildow
Site Admin


Joined: 11 Dec 2005
Posts: 3407
Location: Berkeley

PostPosted: Wed Aug 22, 2007 5:14 pm    Post subject: Reply with quote
A minute to create a new entry! How many smart folders do you have? It should still be snappy.

Can you do me a favor? Run three or four samples as Journler is in the process of creating the new entry. A "sample" asks a running program what it's doing and may help me identify where the bottle neck is. To be useful in this case I need a few, so create a new entry and as Journler is doing it's thing run the sample, copy the results to a text file and run a another sample.

Running a sample
http://journler.com/community/forums/viewtopic?t=1881
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
bosx



Joined: 02 Apr 2007
Posts: 26

PostPosted: Fri Aug 24, 2007 5:31 am    Post subject: Reply with quote
Ok Phil.

A couple dozen smart folders at least -- I would think... but I can count if you like.

I'd also like to report that Journler sometimes crashes -- when adding tags in "drop panel"-- from Safari dragged urls to doc icon. When discovering this, I usually wait until the note is created in Journler before adding tags and I notice it doesn't crash.

Hope this helps nail it down.
Thanks and good luck. ( :
============================================
Here's sample 1 - when creating a new entry from within Journler, no folder selected but the default Journal (all notes).
============================================

Analysis of sampling pid 930 every 10.000000 milliseconds
Call graph:
78 Thread_0f0f
78 start
78 _start
78 NSApplicationMain
78 -[NSApplication run]
78 -[NSApplication sendEvent:]
78 -[NSApplication _handleKeyEquivalent:]
78 -[NSMenu performKeyEquivalent:]
78 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:]
78 -[NSMenu performActionForItemAtIndex:]
78 -[NSApplication sendAction:to:from:]
78 -[JournalTabController newEntry:]
78 -[JournlerJournal saveEntry:]
78 -[JournlerCollection evaluateAndAct:considerChildren:]
78 -[JournlerCollection _threadedEvaluateAndAct:]
78 -[JournlerCollection evaluateAndAct:considerChildren:]
78 -[JournlerCollection _threadedEvaluateAndAct:]
75 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:]
75 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:modes:]
75 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:]
74 -[NSTreeController observeValueForKeyPath:ofObject:change:context:]
74 -[NSController observeValueForKeyPath:ofObject:change:context:]
74 -[NSController _notifyObserversForKeyPath:change:]
74 -[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:]
74 -[NSArrayDetailBinder _refreshDetailContentInBackground:]
74 -[NSArrayController setContent:]
74 -[NSArrayController _arrangeObjectsWithSelectedObjects:avoidsEmptySelection:operationsMask:useBasis:]
59 -[EntriesController arrangeObjects:]
59 -[NSArrayController _sortObjects:]
47 -[NSMutableArray(NSKeyValueSorting) sortUsingDescriptors:]
47 -[NSArray(NSKeyValueSorting) sortedArrayUsingDescriptors:]
29 bsd_mergesort
25 _NSSortFunctionMany
17 _NSCompareObject
8 -[NSDate compare:]
6 objc_msgSend_rtp
6 objc_msgSend_rtp
2 -[NSDate compare:]
8 -[NSString caseInsensitiveCompare:]
6 -[NSString compare:options:range:locale:]
5 CFStringCompareWithOptions
3 CFStringGetCharacters
3 __CFStrConvertBytesToUnicode
3 __CFStrConvertBytesToUnicode
2 CFStringCompareWithOptions
1 CFStringGetLength
1 CFStringGetLength
1 -[NSString caseInsensitiveCompare:]
1 objc_msgSend_rtp
1 objc_msgSend_rtp
1 _NSCompareObject
5 -[NSObject(NSKeyValueCoding) valueForKeyPath:]
4 _NSGetUsingKeyValueGetter
3 -[JournlerObject title]
3 objc_msgSend
3 objc_msgSend
1 CFDictionaryGetValue
1 CFDictionaryGetValue
1 objc_msgSend_rtp
1 objc_msgSend_rtp
2 _NSSortFunctionMany
1 objc_msgSend_rtp
1 objc_msgSend_rtp
4 setup
4 _NSSortFunctionMany
2 -[NSObject(NSKeyValueCoding) valueForKeyPath:]
2 -[NSObject(NSKeyValueCoding) valueForKey:]
2 _NSKeyValueGetterForClassAndKey
1 -[NSLock lock]
1 pthread_mutex_lock
1 pthread_mutex_lock
1 -[NSLock unlock]
1 -[NSLock unlock]
1 _NSCompareObject
1 -[NSDate compare:]
1 objc_msgSend_rtp
1 objc_msgSend_rtp
1 _NSSortFunctionMany
16 _NSInitializeSortCache
14 -[NSObject(NSKeyValueCoding) valueForKeyPath:]
9 -[NSString rangeOfString:]
7 -[NSString rangeOfString:options:range:]
5 CFStringFindWithOptions
3 CFStringFindWithOptions
1 CFStringGetCharactersPtr
1 CFStringGetCharactersPtr
1 CFStringGetLength
1 CFStringGetLength
1 _CFStringGetLength2
1 _CFStringGetLength2
1 objc_msgSend_rtp
1 objc_msgSend_rtp
1 -[NSString rangeOfString:]
1 CFStringFindWithOptions
1 CFStringFindWithOptions
3 _NSGetUsingKeyValueGetter
3 CFDictionaryGetValue
2 CFDictionaryGetValue
1 __CFDictionaryFindBuckets1b
1 __CFDictionaryFindBuckets1b
2 -[NSObject(NSKeyValueCoding) valueForKey:]
2 _NSKeyValueGetterForClassAndKey
1 -[NSLock lock]
1 dyld_stub_pthread_mutex_lock
1 dyld_stub_pthread_mutex_lock
1 CFSetGetValue
1 __CFSetFindBuckets1b
1 NSKeyValueAccessorHash
1 NSKeyValueAccessorHash
1 _NSIMPForObjectAndSelector
1 dyld_stub_class_lookupMethod
1 dyld_stub_class_lookupMethod
1 objc_msgSend_rtp
1 objc_msgSend_rtp
1 -[NSCFArray addObject:]
1 -[NSCFArray addObject:]
1 CFArrayAppendValue
1 _CFArrayReplaceValues
1 -[NSObject retain]
1 NSIncrementExtraRefCount
1 _CFDictionaryIncrementValue
1 __CFDictionaryFindBuckets2
1 __CFDictionaryFindBuckets2
5 -[NSMutableArray setArray:]
5 CFArrayRemoveAllValues
5 __CFArrayReleaseValues
4 -[NSObject release]
4 NSDecrementExtraRefCountWasZero
4 _CFDictionaryDecrementValue
3 _CFDictionaryDecrementValue
1 __CFDictionaryFindBuckets1a
1 __CFDictionaryFindBuckets1a
1 CFRelease
1 CFRelease
4 -[NSMutableArray addObjectsFromArray:]
4 CFArrayAppendValue
4 _CFArrayReplaceValues
1 -[NSObject retain]
1 NSIncrementExtraRefCount
1 _CFDictionaryIncrementValue
1 __CFDictionaryFindBuckets2
1 __CFDictionaryFindBuckets2
1 CFRetain
1 CFRetain
1 _CFArrayReplaceValues
1 __CFArrayRepositionDequeRegions
1 __CFArrayRepositionDequeRegions
3 -[NSCFArray mutableCopyWithZone:]
3 CFArrayCreateMutableCopy
3 CFArrayAppendValue
3 _CFArrayReplaceValues
2 CFRetain
2 CFRetain
1 -[NSObject retain]
1 NSIncrementExtraRefCount
1 _CFDictionaryIncrementValue
1 _CFDictionaryIncrementValue
15 -[NSArrayController _modifySelectedObjects:useExistingIndexesAsStartingPoint:avoidsEmptySelection:addOrRemove:sendObserverNotifications:forceUpdate:]
15 -[NSCFArray indexOfObject:]
14 CFArrayGetFirstIndexOfValue
13 CFEqual
6 -[JournlerEntry isEqual:]
2 CFDictionaryGetValue
2 __CFDictionaryFindBuckets1b
2 __CFDictionaryFindBuckets1b
2 dyld_stub_objc_msgSend
2 dyld_stub_objc_msgSend
1 -[NSCFNumber _intValue]
1 CFNumberGetValue
1 __CFNumberGetValue
1 __CFNumberGetValue
1 -[NSCFNumber intValue]
1 -[NSCFNumber intValue]
6 CFEqual
1 -[NSCFNumber intValue]
1 -[NSCFNumber intValue]
1 CFArrayGetFirstIndexOfValue
1 dyld_stub_CFArrayGetFirstIndexOfValue
1 dyld_stub_CFArrayGetFirstIndexOfValue
1 CFArrayRemoveValueAtIndex
1 _CFArrayReplaceValues
1 __CFArrayReleaseValues
1 NSKVOPendingNotificationRelease
1 -[NSObject release]
1 NSDecrementExtraRefCountWasZero
1 dyld_stub_OSSpinLockUnlock
1 dyld_stub_OSSpinLockUnlock
3 NSPopAutoreleasePool
3 _CFRelease
3 __CFArrayDeallocate
3 __CFArrayReleaseValues
2 -[NSObject release]
2 NSDecrementExtraRefCountWasZero
2 _CFDictionaryDecrementValue
1 _CFDictionaryDecrementValue
1 __CFDictionaryFindBuckets1a
1 __CFDictionaryFindBuckets1a
1 CFRelease
1 CFRelease
78 Thread_1003
78 _pthread_body
78 forkThreadForFunction
78 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
78 CFRunLoopRunSpecific
78 __CFRunLoopRun
78 mach_msg
78 mach_msg_trap
78 mach_msg_trap
78 Thread_1103
78 _pthread_body
78 __CFSocketManager
78 select
78 select
78 Thread_1203
78 _pthread_body
78 forkThreadForFunction
78 +[NSURLCache _diskCacheSyncLoop:]
78 CFRunLoopRunSpecific
78 __CFRunLoopRun
78 mach_msg
78 mach_msg_trap
78 mach_msg_trap
78 Thread_1303
78 _pthread_body
78 forkThreadForFunction
78 -[JournlerKQueue watcherThread:]
78 kevent
78 kevent
78 Thread_1403
78 _pthread_body
78 forkThreadForFunction
78 +[WebFileDatabase _syncLoop:]
78 -[NSRunLoop run]
78 -[NSRunLoop runMode:beforeDate:]
78 CFRunLoopRunSpecific
78 __CFRunLoopRun
78 mach_msg
78 mach_msg_trap
78 mach_msg_trap
78 Thread_1503
78 _pthread_body
78 forkThreadForFunction
78 -[NSUIHeartBeat _heartBeatThread:]
75 +[NSThread sleepUntilDate:]
75 syscall_thread_switch
75 syscall_thread_switch
3 NSPopAutoreleasePool
3 -[NSWindow release]
3 NSDecrementExtraRefCountWasZero
3 __spin_lock_relinquish
3 __spin_lock_relinquish
78 Thread_1603
78 _pthread_body
78 CAPThread::Entry(CAPThread*)
78 HALRunLoop::OwnThread(void*)
78 CFRunLoopRunSpecific
78 __CFRunLoopRun
78 mach_msg
78 mach_msg_trap
78 mach_msg_trap

Total number in stack (recursive counted multiple, when >=5):
7 _pthread_body
7 objc_msgSend_rtp
5 forkThreadForFunction

Sort by top of stack, same collapsed (when >= 5):
mach_msg_trap 312
kevent 78
select 78
syscall_thread_switch 75
objc_msgSend_rtp 12
CFEqual 6
Sample analysis of process 930 written to file /dev/stdout
Sampling process 930 each 10 msecs 100 times


===========================
Sample 2 - Creating an entry with "Quick Silver Apple script plugin"
===========================
 
Analysis of sampling pid 930 every 10.000000 milliseconds
Call graph:
86 Thread_0f0f
86 start
86 _start
86 NSApplicationMain
86 -[NSApplication run]
86 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
86 _DPSNextEvent
86 AEProcessAppleEvent
86 aeProcessAppleEvent
86 dispatchEventAndSendReply(AEDesc const*, AEDesc*)
86 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*)
86 _NSAppleEventManagerGenericHandler
86 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
86 -[NSScriptingAppleEventHandler handleCommandEvent:withReplyEvent:]
86 -[NSScriptCommand executeCommand]
86 -[JourlerScriptingMakeCommand performDefaultImplementation]
86 -[NSCreateCommand performDefaultImplementation]
86 -[NSApplication(NSScripting) insertValue:inPropertyWithKey:]
86 -[JournlerJournal saveEntry:]
86 -[JournlerCollection evaluateAndAct:considerChildren:]
86 -[JournlerCollection _threadedEvaluateAndAct:]
86 -[JournlerCollection evaluateAndAct:considerChildren:]
86 -[JournlerCollection _threadedEvaluateAndAct:]
48 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:]
48 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:modes:]
48 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:]
48 -[NSTreeController observeValueForKeyPath:ofObject:change:context:]
48 -[NSController observeValueForKeyPath:ofObject:change:context:]
48 -[NSController _notifyObserversForKeyPath:change:]
48 -[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:]
48 -[NSArrayDetailBinder _refreshDetailContentInBackground:]
48 -[NSArrayController setContent:]
48 -[NSArrayController _arrangeObjectsWithSelectedObjects:avoidsEmptySelection:operationsMask:useBasis:]
40 -[EntriesController arrangeObjects:]
40 -[NSArrayController _sortObjects:]
32 -[NSMutableArray(NSKeyValueSorting) sortUsingDescriptors:]
32 -[NSArray(NSKeyValueSorting) sortedArrayUsingDescriptors:]
22 bsd_mergesort
16 _NSSortFunctionMany
7 _NSCompareObject
5 -[NSString caseInsensitiveCompare:]
4 -[NSString compare:options:range:locale:]
4 CFStringCompareWithOptions
2 CFStringCompareWithOptions
2 CFStringGetCharacters
2 __CFStrConvertBytesToUnicode
2 __CFStrConvertBytesToUnicode
1 objc_msgSend_rtp
1 objc_msgSend_rtp
1 -[NSDate compare:]
1 objc_msgSend_rtp
1 objc_msgSend_rtp
1 _NSCompareObject
7 _NSSortFunctionMany
2 -[NSObject(NSKeyValueCoding) valueForKeyPath:]
2 _NSGetUsingKeyValueGetter
1 CFDictionaryGetValue
1 __CFDictionaryFindBuckets1b
1 __CFDictionaryFindBuckets1b
1 objc_msgSend
1 objc_msgSend
5 setup
5 _NSSortFunctionMany
3 _NSCompareObject
2 -[NSDate compare:]
2 objc_msgSend_rtp
2 objc_msgSend_rtp
1 -[NSString caseInsensitiveCompare:]
1 -[NSString compare:options:range:]
1 -[NSString compare:options:range:]
2 -[NSObject(NSKeyValueCoding) valueForKeyPath:]
1 _NSGetUsingKeyValueGetter
1 CFDictionaryGetValue
1 __CFDictionaryFindBuckets1b
1 __CFDictionaryFindBuckets1b
1 objc_msgSend_stret
1 objc_msgSend_stret
1 bsd_mergesort
8 _NSInitializeSortCache
7 -[NSObject(NSKeyValueCoding) valueForKeyPath:]
2 -[NSObject(NSKeyValueCoding) valueForKey:]
2 _NSKeyValueGetterForClassAndKey
1 -[NSLock lock]
1 pthread_mutex_lock
1 pthread_mutex_lock
1 CFSetGetValue
1 __CFSetFindBuckets1b
1 NSKeyValueAccessorHash
1 dyld_stub___CFStringHash
1 dyld_stub___CFStringHash
2 -[NSString rangeOfString:]
2 -[NSString rangeOfString:options:range:]
2 CFStringFindWithOptions
2 CFStringFindWithOptions
1 -[NSObject(NSKeyValueCoding) valueForKeyPath:]
1 _NSGetUsingKeyValueGetter
1 CFDictionaryGetValue
1 __CFDictionaryFindBuckets1b
1 __CFDictionaryFindBuckets1b
1 _NSKeyValueGetterForClassAndKey
1 _NSKeyValueGetterForClassAndKey
1 _NSIMPForObjectAndSelector
1 dyld_stub_class_lookupMethod
1 dyld_stub_class_lookupMethod
1 CFArrayAppendValue
1 _CFArrayReplaceValues
1 CFRetain
1 CFRetain
1 _NSFreeSortCache
1 szone_free
1 vm_deallocate
1 mach_msg
1 mach_msg_trap
1 mach_msg_trap
4 -[NSCFArray mutableCopyWithZone:]
4 CFArrayCreateMutableCopy
4 CFArrayAppendValue
4 _CFArrayReplaceValues
2 -[NSObject retain]
2 NSIncrementExtraRefCount
1 NSIncrementExtraRefCount
1 _CFDictionaryIncrementValue
1 __CFDictionaryFindBuckets2
1 __CFDictionaryFindBuckets2
1 CFRetain
1 CFRetain
1 __CFArrayRepositionDequeRegions
1 __CFArrayRepositionDequeRegions
3 -[NSMutableArray setArray:]
3 CFArrayRemoveAllValues
3 __CFArrayReleaseValues
2 CFRelease
2 CFRelease
1 -[NSObject release]
1 NSDecrementExtraRefCountWasZero
1 _CFDictionaryDecrementValue
1 __CFDictionaryFindBuckets1a
1 __CFDictionaryFindBuckets1a
1 -[NSMutableArray addObjectsFromArray:]
1 CFArrayAppendValue
1 CFArrayAppendValue
8 -[NSArrayController _modifySelectedObjects:useExistingIndexesAsStartingPoint:avoidsEmptySelection:addOrRemove:sendObserverNotifications:forceUpdate:]
7 -[NSCFArray indexOfObject:]
7 CFArrayGetFirstIndexOfValue
7 CFEqual
7 -[JournlerEntry isEqual:]
3 CFDictionaryGetValue
2 __CFDictionaryFindBuckets1b
2 __CFDictionaryFindBuckets1b
1 CFDictionaryGetValue
2 -[JournlerObject tagID]
2 objc_msgSend
2 objc_msgSend
1 -[JournlerEntry isEqual:]
1 dyld_stub_objc_msgSend
1 dyld_stub_objc_msgSend
1 -[NSCFArray objectAtIndex:]
1 -[NSCFArray objectAtIndex:]
37 -[JournlerCollection evaluateAndAct:considerChildren:]
37 -[JournlerCollection _threadedEvaluateAndAct:]
27 -[JournlerCollection evaluateAndAct:considerChildren:]
27 -[JournlerCollection _threadedEvaluateAndAct:]
15 -[NSNotificationCenter postNotificationName:object:userInfo:]
15 _CFXNotificationPostNotification
15 __CFXNotificationPost
15 _nsnote_callback
15 -[FoldersController _folderDidChangeEntryContent:]
15 -[NSOutlineView(ProxyAdditions) rowForOriginalItem:]
15 -[NSOutlineView(ProxyAdditions) originalItemAtRow:]
5 -[NSOutlineView itemAtRow:]
2 -[NSRecursiveLock lock]
1 -[NSRecursiveLock lock]
1 dyld_stub_pthread_self
1 dyld_stub_pthread_self
1 findRowEntryForRow
1 CFArrayGetCount
1 CFArrayGetCount
1 objc_msgSend_rtp
1 objc_msgSend_rtp
1 pthread_self
1 pthread_self
5 NSStringFromClass
4 CFStringCreateWithBytes
4 __CFStringCreateImmutableFunnel3
3 _CFRuntimeCreateInstance
2 CFAllocatorAllocate
1 CFAllocatorAllocate
1 malloc_zone_malloc
1 malloc_zone_malloc
1 _CFRuntimeCreateInstance
1 __CFStringCreateImmutableFunnel3
1 dyld_stub_strlen
1 dyld_stub_strlen
3 -[NSObject autorelease]
2 __NSAutoreleaseObject
1 _NSCurrentThread
1 __pthread_getspecific
1 __pthread_getspecific
1 __NSAutoreleaseObject
1 NSAutoreleaseObject
1 _NSCurrentThread
1 _NSCurrentThread
1 loadItemEntryLazyInfoIfNecessary
1 loadItemEntryLazyInfoIfNecessary
1 objc_msgSend
1 objc_msgSend
10 -[JournlerCollection evaluateAndAct:considerChildren:]
10 -[JournlerCollection _threadedEvaluateAndAct:]
8 -[NSNotificationCenter postNotificationName:object:userInfo:]
8 _CFXNotificationPostNotification
8 __CFXNotificationPost
8 _nsnote_callback
8 -[FoldersController _folderDidChangeEntryContent:]
8 -[NSOutlineView(ProxyAdditions) rowForOriginalItem:]
7 -[NSOutlineView(ProxyAdditions) originalItemAtRow:]
3 -[NSOutlineView itemAtRow:]
1 -[NSRecursiveLock unlock]
1 dyld_stub_pthread_cond_signal
1 dyld_stub_pthread_cond_signal
1 loadItemEntryLazyInfoIfNecessary
1 loadItemEntryLazyInfoIfNecessary
1 objc_msgSend_rtp
1 objc_msgSend_rtp
3 NSStringFromClass
3 CFStringCreateWithBytes
2 __CFStringCreateImmutableFunnel3
2 _CFRuntimeCreateInstance
2 CFAllocatorAllocate
2 malloc_zone_malloc
1 malloc_zone_malloc
1 szone_malloc
1 szone_malloc
1 CFStringCreateWithBytes
1 -[NSObject autorelease]
1 __NSAutoreleaseObject
1 _NSCurrentThread
1 dyld_stub_pthread_getspecific
1 dyld_stub_pthread_getspecific
1 objc_msgSend
1 objc_msgSend
1 -[JournlerCollection evaluateAndAct:considerChildren:]
1 -[JournlerCollection _threadedEvaluateAndAct:]
1 -[NSNotificationCenter postNotificationName:object:userInfo:]
1 _CFXNotificationPostNotification
1 __CFXNotificationPost
1 _nsnote_callback
1 -[FoldersController _folderDidChangeEntryContent:]
1 -[NSOutlineView(ProxyAdditions) rowForOriginalItem:]
1 -[NSOutlineView(ProxyAdditions) originalItemAtRow:]
1 NSStringFromClass
1 CFStringCreateWithBytes
1 __CFStringCreateImmutableFunnel3
1 _CFRuntimeCreateInstance
1 CFAllocatorAllocate
1 malloc_zone_malloc
1 szone_malloc
1 szone_malloc
1 NSPopAutoreleasePool
1 _CFRelease
1 dyld_stub_OSSpinLockLock
1 dyld_stub_OSSpinLockLock
2 NSPopAutoreleasePool
1 _CFRelease
1 _CFRelease
1 malloc_zone_free
1 malloc_zone_free
8 -[NSNotificationCenter postNotificationName:object:userInfo:]
8 _CFXNotificationPostNotification
8 __CFXNotificationPost
8 _nsnote_callback
8 -[FoldersController _folderDidChangeEntryContent:]
7 -[NSOutlineView(ProxyAdditions) rowForOriginalItem:]
7 -[NSOutlineView(ProxyAdditions) originalItemAtRow:]
3 -[NSOutlineView itemAtRow:]
1 -[NSOutlineView itemAtRow:]
1 -[NSRecursiveLock unlock]
1 pthread_cond_signal
1 pthread_cond_signal
1 findRowEntryForRow
1 findRowEntryForRow
3 NSStringFromClass
2 CFStringCreateWithBytes
1 CFStringCreateWithBytes
1 __CFStringCreateImmutableFunnel3
1 __pthread_getspecific
1 __pthread_getspecific
1 CFStringConvertNSStringEncodingToEncoding
1 CFStringConvertNSStringEncodingToEncoding
1 -[NSCFString isEqual:]
1 objc_msgSend_rtp
1 objc_msgSend_rtp
1 -[NSOutlineView frameOfCellAtColumn:row:]
1 -[NSTableView _locationOfRow:]
1 -[NSTableView rectOfRow:]
1 -[NSTableView _rectOfRowAssumingRowExists:]
1 -[NSTableView _rowHeightStorageComputeRectOfRow:cacheHint:]
1 objc_msgSend_rtp
1 objc_msgSend_rtp
1 -[JournlerCollection isSmartFolder]
1 _NSGetUsingKeyValueGetter
1 CFDictionaryGetValue
1 __CFDictionaryFindBuckets1b
1 __CFDictionaryFindBuckets1b
1 NSPopAutoreleasePool
1 _CFRelease
1 dyld_stub_OSSpinLockUnlock
1 dyld_stub_OSSpinLockUnlock
1 -[NSNotificationCenter postNotificationName:object:userInfo:]
1 _CFXNotificationPostNotification
1 __CFXNotificationPost
1 _nsnote_callback
1 -[FoldersController _folderDidChangeEntryContent:]
1 -[NSOutlineView(ProxyAdditions) rowForOriginalItem:]
1 -[NSOutlineView(ProxyAdditions) originalItemAtRow:]
1 NSStringFromClass
1 CFStringCreateWithBytes
1 __CFStringCreateImmutableFunnel3
1 __CFStringCreateImmutableFunnel3
86 Thread_1003
86 _pthread_body
86 forkThreadForFunction
86 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
86 CFRunLoopRunSpecific
86 __CFRunLoopRun
86 mach_msg
86 mach_msg_trap
86 mach_msg_trap
86 Thread_1103
86 _pthread_body
86 __CFSocketManager
86 select
86 select
86 Thread_1203
86 _pthread_body
86 forkThreadForFunction
86 +[NSURLCache _diskCacheSyncLoop:]
86 CFRunLoopRunSpecific
86 __CFRunLoopRun
86 mach_msg
86 mach_msg_trap
86 mach_msg_trap
86 Thread_1303
86 _pthread_body
86 forkThreadForFunction
86 -[JournlerKQueue watcherThread:]
86 kevent
86 kevent
86 Thread_1403
86 _pthread_body
86 forkThreadForFunction
86 +[WebFileDatabase _syncLoop:]
86 -[NSRunLoop run]
86 -[NSRunLoop runMode:beforeDate:]
86 CFRunLoopRunSpecific
86 __CFRunLoopRun
86 mach_msg
86 mach_msg_trap
86 mach_msg_trap
86 Thread_1503
86 _pthread_body
86 forkThreadForFunction
86 -[NSUIHeartBeat _heartBeatThread:]
86 -[NSConditionLock lockWhenCondition:]
86 pthread_cond_wait
86 semaphore_wait_signal_trap
86 semaphore_wait_signal_trap
86 Thread_1603
86 _pthread_body
86 CAPThread::Entry(CAPThread*)
86 HALRunLoop::OwnThread(void*)
86 CFRunLoopRunSpecific
86 __CFRunLoopRun
86 mach_msg
86 mach_msg_trap
86 mach_msg_trap

Total number in stack (recursive counted multiple, when >=5):
7 _pthread_body
7 objc_msgSend_rtp
6 -[JournlerCollection _threadedEvaluateAndAct:]
6 -[JournlerCollection evaluateAndAct:considerChildren:]
5 -[FoldersController _folderDidChangeEntryContent:]
5 -[NSNotificationCenter postNotificationName:object:userInfo:]
5 -[NSOutlineView(ProxyAdditions) originalItemAtRow:]
5 -[NSOutlineView(ProxyAdditions) rowForOriginalItem:]
5 CFDictionaryGetValue
5 CFStringCreateWithBytes
5 NSStringFromClass
5 _CFXNotificationPostNotification
5 __CFDictionaryFindBuckets1b
5 __CFStringCreateImmutableFunnel3
5 __CFXNotificationPost
5 _nsnote_callback
5 forkThreadForFunction
5 mach_msg
5 mach_msg_trap

Sort by top of stack, same collapsed (when >= 5):
mach_msg_trap 345
kevent 86
select 86
semaphore_wait_signal_trap 86
objc_msgSend_rtp 8
_NSSortFunctionMany 7
__CFDictionaryFindBuckets1b 6
objc_msgSend 5
Sample analysis of process 930 written to file /dev/stdout
Sampling process 930 each 10 msecs 100 times

===================================
Here's Sample 3 -- when creating an entry from a dragged url to doc icon from Safari
===================================

Analysis of sampling pid 930 every 10.000000 milliseconds
Call graph:
86 Thread_0f0f
86 start
86 _start
86 NSApplicationMain
86 -[NSApplication run]
86 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
86 _DPSNextEvent
86 AEProcessAppleEvent
86 aeProcessAppleEvent
86 dispatchEventAndSendReply(AEDesc const*, AEDesc*)
86 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*)
86 _NSAppleEventManagerGenericHandler
86 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:]
86 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:]
86 -[NSApplication(NSAppleEventHandling) _handleAEOpenContentsEvent:replyEvent:]
86 InvokeAEEventHandlerUPP
86 LSHandle_ocon_Event(AEDesc const*, AEDesc*, long)
86 _NSServiceMasterCallBack
86 -[NSServiceListener _doInvokeServiceIn:msg:pb:userData:error:unhide:]
86 -[JournlerApplicationDelegate serviceSelection:userData:error:]
86 -[JournlerApplicationDelegate entriesForPasteboardData:visual:]
86 -[JournlerApplicationDelegate importFile:]
86 -[JournlerApplicationDelegate importFile:operation:]
86 -[JournlerJournal saveEntry:]
86 -[JournlerCollection evaluateAndAct:considerChildren:]
86 -[JournlerCollection _threadedEvaluateAndAct:]
86 -[JournlerCollection evaluateAndAct:considerChildren:]
86 -[JournlerCollection _threadedEvaluateAndAct:]
78 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:]
78 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:modes:]
78 -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:]
78 -[NSTreeController observeValueForKeyPath:ofObject:change:context:]
78 -[NSController observeValueForKeyPath:ofObject:change:context:]
78 -[NSController _notifyObserversForKeyPath:change:]
78 -[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:]
78 -[NSArrayDetailBinder _refreshDetailContentInBackground:]
78 -[NSArrayController setContent:]
78 -[NSArrayController _arrangeObjectsWithSelectedObjects:avoidsEmptySelection:operationsMask:useBasis:]
66 -[EntriesController arrangeObjects:]
66 -[NSArrayController _sortObjects:]
53 -[NSMutableArray(NSKeyValueSorting) sortUsingDescriptors:]
53 -[NSArray(NSKeyValueSorting) sortedArrayUsingDescriptors:]
33 bsd_mergesort
27 _NSSortFunctionMany
20 _NSCompareObject
12 -[NSString caseInsensitiveCompare:]
12 -[NSString compare:options:range:locale:]
11 CFStringCompareWithOptions
6 CFStringGetCharacters
5 __CFStrConvertBytesToUnicode
5 __CFStrConvertBytesToUnicode
1 CFStringGetCharacters
4 CFStringCompareWithOptions
1 CFStringGetLength
1 CFStringGetLength
1 dyld_stub_CFStringCompareWithOptions
1 dyld_stub_CFStringCompareWithOptions
6 -[NSDate compare:]
5 objc_msgSend_rtp
Back to top
View user's profile Send private message
bosx



Joined: 02 Apr 2007
Posts: 26

PostPosted: Fri Aug 24, 2007 5:35 am    Post subject: Reply with quote
I'd also like to mention -- -- that I synchronize Journler between my laptop and iMac -- with ChronosSync, I don't think that matters -- but I thought I'd mention it.
Back to top
View user's profile Send private message
bosx



Joined: 02 Apr 2007
Posts: 26

PostPosted: Fri Aug 24, 2007 6:58 am    Post subject: Reply with quote
I just deleted a couple dozen smart folders and maybe a little difference in entry creating time -- still takes about 30 seconds -- still a bit long ... I was hoping to get it down to a few seconds or so.

Also, noticed that when I load journler -- and this could be part of the problem I get a message that my ibook is looking for my imac --
The Pop Up Window says
Title: AFP Connection Status
Alert message: "Looking up "My iMac"

Then after a couple minutes I get another dialog that says:

"Connection failed:

The server may not exist or it is not operational at this time. Check the server name or IP address and try again."

Of course my ibook is not connected to my imac right now -- I'm on the road and don't usually keep them networked anyway -- accept when doing a sync.

Below is the console log when that happens -- I'm thinking it might mean that Journler is looking for a referenced alias or something on the iMac?
This looks like it could be the culprit?
Wonder if this happens when creating a new entry too ..?

Journler should have an exact duplicate of data but my 2 hard drives are named differently for iBook and iMac if that matters ... possibly?

Trying to do a little trouble shooting on this myself ...
Suggestions welcomed ...
Thanks.

I tried to set up a Smart folder for "aliased files" but that's not an option -- I'd like to see it, though ... then I could find those pesky files ...

Console log:

2007-08-23 22:29:59.708 Journler[1912] JournlerSearchManager performSearch:options:journlerSearchOptions:maximumTime:maximumHits:entries:resources:entryHits:referenceHits: - nil document uri for a reference document ref
2007-08-23 22:29:59.708 Journler[1912] JournlerSearchManager performSearch:options:journlerSearchOptions:maximumTime:maximumHits:entries:resources:entryHits:referenceHits: - nil document uri for a reference document ref
2007-08-23 22:29:59.708 Journler[1912] JournlerSearchManager performSearch:options:journlerSearchOptions:maximumTime:maximumHits:entries:resources:entryHits:referenceHits: - nil document uri for a reference document ref
2007-08-23 22:32:14.541 Journler[1912] Exception raised during posting of notification. Ignored. exception: *** -[NSCFString characterAtIndex:]: Range or index out of bounds
CMPluginExamineContextCMPluginExamineContextCMPluginExamineContextCMPluginExamineContext
Back to top
View user's profile Send private message
bosx



Joined: 02 Apr 2007
Posts: 26

PostPosted: Fri Aug 24, 2007 7:00 am    Post subject: Reply with quote
I just deleted a couple dozen smart folders and maybe a little difference in entry creating time -- still takes about 30 seconds -- still a bit long ... I was hoping to get it down to a few seconds or so.

Also, noticed that when I load journler -- and this could be part of the problem I get a message that my ibook is looking for my imac --
The Pop Up Window says
Title: AFP Connection Status
Alert message: "Looking up "My iMac"

Then after a couple minutes I get another dialog that says:

"Connection failed:

The server may not exist or it is not operational at this time. Check the server name or IP address and try again."

Of course my ibook is not connected to my imac right now -- I'm on the road and don't usually keep them networked anyway -- accept when doing a sync.

Below is the console log when that happens -- I'm thinking it might mean that Journler is looking for a referenced alias or something on the iMac?
This looks like it could be the culprit?
Wonder if this happens when creating a new entry too ..?

Journler should have an exact duplicate of data but my 2 hard drives are named differently for iBook and iMac if that matters ... possibly?

Trying to do a little trouble shooting on this myself ...
Suggestions welcomed ...
Thanks.

I tried to set up a Smart folder for "aliased files" but that's not an option -- I'd like to see it, though ... then I could find those pesky files ...

Console log:

2007-08-23 22:29:59.708 Journler[1912] JournlerSearchManager performSearch:options:journlerSearchOptions:maximumTime:maximumHits:entries:resources:entryHits:referenceHits: - nil document uri for a reference document ref
2007-08-23 22:29:59.708 Journler[1912] JournlerSearchManager performSearch:options:journlerSearchOptions:maximumTime:maximumHits:entries:resources:entryHits:referenceHits: - nil document uri for a reference document ref
2007-08-23 22:29:59.708 Journler[1912] JournlerSearchManager performSearch:options:journlerSearchOptions:maximumTime:maximumHits:entries:resources:entryHits:referenceHits: - nil document uri for a reference document ref
2007-08-23 22:32:14.541 Journler[1912] Exception raised during posting of notification. Ignored. exception: *** -[NSCFString characterAtIndex:]: Range or index out of bounds
CMPluginExamineContextCMPluginExamineContextCMPluginExamineContextCMPluginExamineContext
Back to top
View user's profile Send private message
NovaScotian



Joined: 18 Feb 2007
Posts: 2072

PostPosted: Sat Aug 25, 2007 12:42 am    Post subject: Reply with quote
In the Finder, go to the Network Icon and move your iMac out of it (to the desktop for instance. Log out and in again. See if that changes anything.
Back to top
View user's profile Send private message
bosx



Joined: 02 Apr 2007
Posts: 26

PostPosted: Sat Aug 25, 2007 3:33 am    Post subject: Reply with quote
Thanks NovaSotian,
But it's not listed there after clicking on the network icon.
Back to top
View user's profile Send private message
NovaScotian



Joined: 18 Feb 2007
Posts: 2072

PostPosted: Sat Aug 25, 2007 3:42 pm    Post subject: Reply with quote
Then you have a link to a unique resource on the other Mac in your Journal. The long wait is for the system to try to find the other machine and since it's quite patient about doing that, it can take nearly a minute sometimes.
Back to top
View user's profile Send private message
odysseus



Joined: 08 Apr 2007
Posts: 27

PostPosted: Mon Feb 11, 2008 6:04 pm    Post subject: Reply with quote
NovaScotian wrote:
This will do it (though I have not tested it: I use comments)

Code:
tell application "Journler"
   set allE to (get entries)
   repeat with E in allE
      set comment of E to ""
   end repeat
end tell


When I run it, I get "Can't make comment of entry id 338.0 into type reference." Any ideas?
Back to top
View user's profile Send private message
NovaScotian



Joined: 18 Feb 2007
Posts: 2072

PostPosted: Mon Feb 11, 2008 9:05 pm    Post subject: Reply with quote
Try this instead:

Code:
tell application "Journler"
   set allE to (get entries)
   repeat with E in allE
      if comments of E is not "" then set comments of E to ""
   end repeat
end tell
Back to top
View user's profile Send private message
odysseus



Joined: 08 Apr 2007
Posts: 27

PostPosted: Mon Feb 11, 2008 9:10 pm    Post subject: Reply with quote
NovaScotian wrote:
Try this instead:

Code:
tell application "Journler"
   set allE to (get entries)
   repeat with E in allE
      if comments of E is not "" then set comments of E to ""
   end repeat
end tell


Great. Thanks!
Back to top
View user's profile Send private message
lerone



Joined: 28 Aug 2006
Posts: 65

PostPosted: Tue Jul 15, 2008 8:37 pm    Post subject: search for tags? Reply with quote
I just noticed that here (Journler 2.5.5b) the search for tags still doesn´t work for me (was mentioned earlier in this topic and recognized by Phil).

I also tried re-indexing Journler via console command. still the same. entering into the searchbox doesn´t find tag-strings. selecting a tag 1:1 in the filter works though.
– do not know whether this is related to this problem of Journler tags not showing up in spotlight (or in another case in FoxTrot indexes)...?

but thought I mention that this question persists. or maybe someone can tell me a workaround or a thing I have overseen... thx.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2006-2007 Journler. Some rights reserved       Contact: Phil | Webmaster
website design by Agee Design