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 protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]