On Aug 26, 2009, at 10:41, Alex Hamann wrote:

>
> Am 26.08.2009 um 00:46 schrieb Maxwell, Adam R:
>
>> On 08/25/09 13:54, "Alex Hamann" <[email protected]> wrote:
>>
>>>> Especially when you've stored them (or your database) on a separate
>>>> volume it may be more dependent on the mount type and your
>>>> connection
>>>> than on the computer that you use. It also depends on your URL  
>>>> field
>>>> conversion options in the Fields prefs.
>>>>
>>>> Christiaan
>>>
>>> Ah, ok. I might do a complete reinstallation when Snow Leopard gets
>>> delivered. Your times sound more like what I expected. I just  
>>> checked
>>> with a different file that contains only 800 items and 50 linked
>>> files
>>> and it also took some 20-30 sec to load.
>>> Anyway, thanks for the reply.
>>
>> Is this with a nightly build or the last release?  IIRC there's a
>> big memory
>> hit when loading files that's fixed in nightly builds.
>>
>> Regardless, if you can sample BibDesk while loading, that will avoid
>> all
>> this guesswork :).  Double-click BibDesk in Activity Monitor, start
>> loading
>> your file in BibDesk, then click the "Sample" button on the Activity
>> Monitor
>> panel.
>>
>>
>>
>
> It's the release version.
> Here is a semple:
>
> Sampling process 721 for 3 seconds with 1 millisecond of run time
> between samples
> Sampling completed, processing symbols...
> Analysis of sampling BibDesk (pid 721) every 1 millisecond
> Call graph:
>     1924 Thread_2507
>       1924 start
>         1924 _start
>           1924 main
>             1924 NSApplicationMain
>               1924 -[NSApplication run]
>                 1924 -[NSApplication
> nextEventMatchingMask:untilDate:inMode:dequeue:]
>                   1924 _DPSNextEvent
>                     1924 _NSHandleCarbonMenuEvent
>                       1924 _HandleMenuSelection
>                         1924 _HandleMenuSelection2
>                           1924 MenuSelectCore(MenuData*, Point,
> double, unsigned long, OpaqueMenuRef**, unsigned short*)
>                             1924 FinishMenuSelection(MenuData*,
> MenuData*, MenuResult*, MenuResult*, unsigned long, unsigned long,
> unsigned long, unsigned char)
>                               1924 SendMenuItemSelectedEvent
>                                 1924
> SendMenuCommandWithContextAndModifiers
>                                   1924 SendHICommandEvent(unsigned
> long, HICommand const*, unsigned long, unsigned long, unsigned char,
> OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**)
>                                     1924 SendEventToEventTarget
>                                       1924
> SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
> HandlerCallRec*)
>                                         1924
> DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*,
> HandlerCallRec*)
>                                           1924 AppKitMenuEventHandler
>                                             1924 -[NSCarbonMenuImpl
> performActionWithHighlightingForItemAtIndex:]
>                                               1924 -[NSMenu
> performActionForItemAtIndex:]
>                                                 1924 -
> [BDSKApplication sendAction:to:from:]
>                                                   1924 -
> [NSApplication sendAction:to:from:]
>                                                     1924 -
> [NSDocumentController(NSPrivate) _openRecentDocument:]
>                                                       1924 -
> [NSApplication openFile:ok:]
>                                                         1924 -
> [NSApplication _doOpenFile:ok:tryTemp:]
>                                                           1924 -
> [NSDocumentController(NSInternal) _openFile:]
>                                                             1924 -
> [BDSKDocumentController openDocumentWithContentsOfURL:display:error:]
>                                                               1924 -
> [NSDocumentController openDocumentWithContentsOfURL:display:error:]
>                                                                 1924 -
> [NSDocumentController makeDocumentWithContentsOfURL:ofType:error:]
>
> 1924 -[NSDocument initWithContentsOfURL:ofType:error:]
>
> 1924 -[BibDocument readFromURL:ofType:error:]
>
> 1924 -[BibDocument readFromURL:ofType:encoding:error:]
>                                                                         1924
>  -[BibDocument readFromBibTeXData:fromURL:encoding:error:]
>                                                                           1924
>  -[BDSKItemSearchIndexes addPublications:]
>                                                                             
> 1891
>  -[BibItem skimNotesForLocalURL]
>                                                                               
> 1884
>  -[NSURL(BDSKExtensions) textSkimNotes]
>                                                                               
>   1876
>  -[NSFileManager(SKNExtensions)
> readSkimTextNotesFromExtendedAttributesAtURL:error:]
>                                                                               
>     1876
>  -[SKNExtendedAttributeManager
> propertyListFromExtendedAttributeNamed:atPath:traverseLink:error:]
>                                                                               
>       1817
>  getxattr
>                                                                               
>         1817
>  getxattr
>                                                                               
>       55
>  -[SKNExtendedAttributeManager
> extendedAttributeNamed:atPath:traverseLink:error:]
>                                                                               
>         42
>  getxattr
>                                                                               
>           42
>  getxattr
>                                                                               
>         7
>  -[SKNExtendedAttributeManager bunzipData:]
>
[snip]

It seems to spend a lot of time getting the Skim notes for the search  
index. Have you got a lot of annotated PDFs with lots of notes? Also,  
where are your linked files located, are they stored on your computer?

Christiaan


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to