Super slow 'do shell script' command OS X 10.11 vs 10.8
Super slow 'do shell script' command OS X 10.11 vs 10.8
- Subject: Super slow 'do shell script' command OS X 10.11 vs 10.8
- From: Jim Skibbie <email@hidden>
- Date: Tue, 21 Feb 2017 22:22:24 +0000
- Thread-topic: Super slow 'do shell script' command OS X 10.11 vs 10.8
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.
set theStart
to current date
repeat 500
times
do shell script "echo 'hello world!'"
end
repeat
set theTime
to (current date) -
theStart
display dialog theTime
as string
I saw this post on another discussion page about this: https://discussions.apple.com/thread/7559256?start=0&tstart=0
Is there any known speed issue with "do shell script” that was introduced in OS X 10.11 that anyone is aware of?
Thanks.
Jim
|
_______________________________________________
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