• 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: How can I format an integer ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I format an integer ?


  • Subject: Re: How can I format an integer ?
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 07 Nov 2008 09:11:37 +1100
  • Thread-topic: How can I format an integer ?

On 7/11/08 3:28 AM, "André Berg" <email@hidden> wrote:

> On my MacPro 3000Mhz octo-core which I bought two months ago
> 'do shell script' takes approx 0.070 - 0.080 s (avg of 1000 execs)
> not counting the time for the actual shell script to run.

That sounds on the slow side. On my 2.5GHz MacBook Pro this:

set time1 to current date
repeat 1000 times
    do shell script "ls /"
end repeat
set time2 to current date
return (time2 - time1) / 1000

returns around 0.009 seconds, and that is counting the time for ls to do its
thing. I'm a bit surprised to hear that your eight-core superbox is an order
of magnitude slower.

--
Shane Stanley <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: How can I format an integer ?
      • From: André Berg <email@hidden>
References: 
 >Re: How can I format an integer ? (From: André Berg <email@hidden>)

  • Prev by Date: Re: Did anyone try to script Bento 2?
  • Next by Date: Re: How can I format an integer ?
  • Previous by thread: Re: How can I format an integer ?
  • Next by thread: Re: How can I format an integer ?
  • Index(es):
    • Date
    • Thread