Re: speed test, anyone?
Re: speed test, anyone?
- Subject: Re: speed test, anyone?
- From: Emmanuel <email@hidden>
- Date: Sun, 6 Nov 2005 10:58:14 +0100
At 2:14 PM -0800 11/5/05, Christopher Nebel wrote:
On Nov 5, 2005, at 2:10 AM, Emmanuel wrote:
I recall that the release note for 10.4.3 mentions improving the
performance of "do shell script". We observe that it's a stealth
performance improvement.
The improvement is in fact very real, but it's not the one you were
looking for. This particular bug had to do with repeated calls to
"do shell script ... with administrator privileges": successive
calls would be delayed by a few additional seconds each time.
Ha, great, we did observe crazy slowdowns in successive "do shell
script ... with a.p". Thanks for that.
Your performance problem is still under analysis, but seems to
have mostly to do with a switch from vfork(2) to fork(2) to create
the new process. This was done for reasons of correctness: vfork(2)
is not guaranteed to work right except under very stringent
requirements that "do shell script" cannot obey.
It cannot obey but the question is, does it burn cars.
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden