• 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: Damn send button / Wind chill
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Damn send button / Wind chill


  • Subject: Re: Damn send button / Wind chill
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Mon, 04 Mar 2002 14:46:52 +1100

Yes, and the results below show that two tell blocks can be faster than one.
Of course, John snuck in the version that was outside any tell block and it
wins hands down. My results were:

-- {1.633333325386, 10.75, 10.5}



on 4/3/02 1:22 PM, Shane Stanley at email@hidden wrote:

> On 4/3/02 1:07 PM +1000, John W Baxter, email@hidden, wrote:
>
>> Ran this, which did show a difference between current date inside one (or
>> two) tells, and a naked current date (500 was not enough repetitions...all
>> results were 1; kept the style of reporting results backwards):
>>
>> set repetitions to 20000
>> set time1 to the current date
>> repeat repetitions times
>> tell application "Finder"
>> tell application "BBEdit 6.5"
>> current date
>> end tell
>> end tell
>> end repeat
>> set time2 to the current date
>> repeat repetitions times
>> tell application "BBEdit 6.5"
>> current date
>> end tell
>> end repeat
>> set time3 to the current date
>> repeat repetitions times
>> current date
>> end repeat
>> set time4 to the current date
>> {time4 - time3, time3 - time2, time2 - time1}
>> --> {9, 53, 53}
>> -- units are seconds; machine is dual 533 with plenty of RAM, Mac OS X
>> 10.1.3; AS 1.8.1
>>
>> I find nothing surprising there.
>
> And does it not suggest that whether a "tell app" is nested inside another
> or not makes no difference to the performance of its contents?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Damn send button / Wind chill
      • From: John W Baxter <email@hidden>
References: 
 >Re: Damn send button / Wind chill (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Speeding Up Scripts 101
  • Next by Date: Re: Damn send button / Wind chill
  • Previous by thread: Re: Damn send button / Wind chill
  • Next by thread: Re: Damn send button / Wind chill
  • Index(es):
    • Date
    • Thread