• 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: Slow app with Fusion drive.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow app with Fusion drive.


  • Subject: Re: Slow app with Fusion drive.
  • From: Axel Luttgens <email@hidden>
  • Date: Wed, 13 Mar 2013 18:48:14 +0100

Le 12 mars 2013 à 02:20, Brian Christmas a écrit :

> Thanks Shane
>
> It looks like the offending code is anything to do with getting folders and folder contents off the disk.
>
> Just one of the problem areas in my code is below, with times in green.
>
> Any thoughts on how to fix it anyone?
>
> Regards
>
> Santa
>
> on setTheLabel()
>    set tt to current date
>    tell application "Finder"
>         [...]
>    end tell
>    if runforoz then say "label, "& current date - tt as text
> end setTheLabel

Hello Brian,

Indeed, those 17 and 37 seconds durations are quite surprising...

What's the average count of items into those "RTF Documents", "Temporary Printing", "Unrecognized items for Manual printing", "UnZipped items for Manual Storage" folders?

You wrote that you noticed a performance degradation when moving from a late 2010 iMac to a new fusion drive iMac.
Did the OS version change at the same time?
And that of Xcode at the same time?

I know that Shane and you already have devised various ways to avoid the Finder and to make use of cocoa instead.

But I would like to elucidate the underlying causes of such a performance degradation.
The OS? Xcode? Fusion drive (as implied by the thread's subject)?

So, I created a folder named "mailmanagerdesktopfolder" on my desktop, with above sub-folders populated with a few items. And then ran this one in AppleScript Editor on a 10.8.2 box (without Fusion drive):

	property mailmanagerdesktopfolder : (path to desktop as text) & "mailmanagerdesktopfolder"
	property runforoz : false
	property FlaggedSpoken : true

	on setTheLabel()
		[... your code, unchanged ...]
	end setTheLabel

	setTheLabel()

Beside the slownesses to be expected because of some coding choices, the excution times I got here appear quite normal.

Could you try the same?

Axel


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: Slow app with Fusion drive.
      • From: Shane Stanley <email@hidden>
References: 
 >Slow app with Fusion drive. (From: Brian Christmas <email@hidden>)
 >Re: Slow app with Fusion drive. (From: Shane Stanley <email@hidden>)
 >Re: Slow app with Fusion drive. (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Slow app with Fusion drive.
  • Next by Date: Continuing the battle, Play Sounds with script
  • Previous by thread: Re: Slow app with Fusion drive.
  • Next by thread: Re: Slow app with Fusion drive.
  • Index(es):
    • Date
    • Thread