• 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: Super slow 'do shell script' command OS X 10.11 vs 10.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Super slow 'do shell script' command OS X 10.11 vs 10.8


  • Subject: Re: Super slow 'do shell script' command OS X 10.11 vs 10.8
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 22 Feb 2017 09:51:49 +1100

On 22 Feb 2017, at 9:22 am, Jim Skibbie <email@hidden> wrote:
>
> Has anyone noticed that the "do shell script” command in OS X 10.11 is sometimes between 2-6x slower than it was in OS X 10.8?
>
> If I run this script in Script Debugger on OS X 10.8, I get a result of 3-4 seconds. In Script Debugger on OS X 10.11, I get a result of 7-8 seconds. On some user accounts, it can take up to 20-30 seconds.

For a variety of reasons, you shouldn't pay much attention to such timings made in any script editor -- for one thing, the monitoring of events so they can be logged can add considerable overhead. This particularly affects 'do shell script'.

Save your script as an applet or run it from a script menu -- you will see a very different result. On my Mac, the time drops to about 1-2 seconds.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>



 _______________________________________________
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


References: 
 >Super slow 'do shell script' command OS X 10.11 vs 10.8 (From: Jim Skibbie <email@hidden>)

  • Prev by Date: Super slow 'do shell script' command OS X 10.11 vs 10.8
  • Next by Date: combine dialogbox
  • Previous by thread: Super slow 'do shell script' command OS X 10.11 vs 10.8
  • Next by thread: Re: Super slow 'do shell script' command OS X 10.11 vs 10.8
  • Index(es):
    • Date
    • Thread