• 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: Applescript 201 - speed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript 201 - speed


  • Subject: Re: Applescript 201 - speed
  • From: "Mark J. Reed" <email@hidden>
  • Date: Mon, 24 May 2010 13:18:38 -0400

Yvan's no doubt referring to the second edition.  The first edition has some tips on pages 259-60.  There's also a thread here: http://discussions.apple.com/thread.jspa?threadID=1877444

But in any case, if you have a script that is slow to run, the first step is to profile it so you know what to spend time trying to speed up and what not to bother with (advice repeated in the above thread).  The problem there is that it's tough to profile AS, especially given the lack of built-in support for high-resolution timestamps.

On Mon, May 24, 2010 at 1:07 PM, Robert Poland <email@hidden> wrote:

On May 24, 2010, at 10:56 AM, Yvan KOENIG wrote:


Le 24 mai 2010 à 18:08, Robert Poland a écrit :


On May 24, 2010, at 9:51 AM, Tommy Bollman wrote:

There are some tips in the book Applscript The Definitive Guide by Matt Neuburg.

The loops are what you want to optimize.

What you really should get are some tools for timing milliseconds they are out there with some googling.

Best regards

Tommy Bollman

I looked at Matt's book and all I could find was a short section on loops.

A really efficient tip is the one upon list access (page 382).

My book, copyright 2003, doesn't seem to have anything about list access page 382.

Yvan KOENIG (VALLAURIS, France) lundi 24 mai 2010 18:55:31

Robert Poland - Fort Collins, CO




 _______________________________________________
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



--
Mark J. Reed <email@hidden>

 _______________________________________________
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: Applescript 201 - speed
      • From: Tommy Bollman <email@hidden>
    • Re: Applescript 201 - speed
      • From: "Stockly, Ed" <email@hidden>
References: 
 >Re: Applescript 201 - speed (From: "John C. Welch" <email@hidden>)
 >Re: Applescript 201 - speed (From: Robert Poland <email@hidden>)
 >Re: Applescript 201 - speed (From: Tommy Bollman <email@hidden>)
 >Re: Applescript 201 - speed (From: Robert Poland <email@hidden>)
 >Re: Applescript 201 - speed (From: Yvan KOENIG <email@hidden>)
 >Re: Applescript 201 - speed (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Applescript 201 - speed
  • Next by Date: Re: Applescript 201 - speed
  • Previous by thread: Re: Applescript 201 - speed
  • Next by thread: Re: Applescript 201 - speed
  • Index(es):
    • Date
    • Thread