• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: TextEdit - Open Recent - slow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TextEdit - Open Recent - slow


  • Subject: Re: TextEdit - Open Recent - slow
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Tue, 07 Feb 2012 19:27:00 +0700

On 7 Feb 2012, at 05:46, Jens Alfke wrote:

> On Feb 6, 2012, at 2:12 PM, Gerriet M. Denkmann wrote:
>
>> 1788 __open  (in libsystem_kernel.dylib) + 10  [0x7fff8b1c9ad2]
>
> Running fs_usage on TextEdit while this is going on might be useful … it’ll show you what files it opened and how long it took.

Here is some output of fs_usage -w:

18:58:13.175205  getattrlist                            /Volumes/เม่น/Users/gerriet/Schriften/Massage.rtf                                        0.000032   TextEdit.1317
18:58:13.176053  getattrlist                            /Volumes/เม่น/Users/gerriet/Source/Stuff 10.6.2/ไทย Dict Wv/Agenda.rtf             0.000039   TextEdit.1317
18:58:13.177119  getattrlist                            /Volumes/เม่น/Users/gerriet/Source/Stuff 10.6.2/ไทย Dict Wv                        0.000078   TextEdit.1317
                  0.000054   TextEdit.1317              /Volumes/เม่น/Users/gerriet/Source/Stuff 10.6.2/ไทย Dict Wv/Icon
18:58:13.181122  PAGE_IN_FILE      A=0x7fff8ca03000        <TEXT>     Automator.framework                                                                0.000009   TextEdit.1317
                  0.000016   TextEdit.1317              /Volumes/เม่น/Users/gerriet/Source/Stuff 10.6.2/ไทย Dict Wv/Icon
>>>>>>>>>>>>>     0.000092   TextEdit.1317 1] (R_____)  /Volumes/เม่น/Users/gerriet/Source/Stuff 10.6.2/ไทย Dict Wv/Icon
18:58:18.702729  getattrlist                            /Applications                                                                                    0.000045   TextEdit.1317

It took 5 seconds to read (and process ?) the folder icon.


5 minutes later, it took only 0.8 seconds:

19:06:23.893929  getattrlist                            /Volumes/เม่น/Users/gerriet/Source/Stuff 10.6.2/ไทย Dict Wv                        0.000092   TextEdit.1317
                  0.000019   TextEdit.1317              /Volumes/เม่น/Users/gerriet/Source/Stuff 10.6.2/ไทย Dict Wv/Icon
                  0.000012   TextEdit.1317              /Volumes/เม่น/Users/gerriet/Source/Stuff 10.6.2/ไทย Dict Wv/Icon
>>>>>>>>>>>>>     0.000071   TextEdit.1317 1] (R_____)  /Volumes/เม่น/Users/gerriet/Source/Stuff 10.6.2/ไทย Dict Wv/Icon
19:06:24.611690  getattrlist                            /System/Library/CoreServices/Finder.app                                                          0.000020   TextEdit.1317


But my debug version of TextEdit can do all of the recent docs (including the folder icons) in 0.06 seconds.


Kind regards,

Gerriet.




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: TextEdit - Open Recent - slow
      • From: Kyle Sluder <email@hidden>
References: 
 >Re: TextEdit - Open Recent - slow (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: TextEdit - Open Recent - slow (From: Jens Alfke <email@hidden>)
 >Re: TextEdit - Open Recent - slow (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: TextEdit - Open Recent - slow (From: Jens Alfke <email@hidden>)

  • Prev by Date: Lion: Lock documents and custom undomanager
  • Next by Date: Using custom controls on top of custom graphics
  • Previous by thread: Re: TextEdit - Open Recent - slow
  • Next by thread: Re: TextEdit - Open Recent - slow
  • Index(es):
    • Date
    • Thread