Re: speed test, anyone?
Re: speed test, anyone?
- Subject: Re: speed test, anyone?
- From: Christopher Nebel <email@hidden>
- Date: Sat, 5 Nov 2005 14:14:25 -0800
On Nov 5, 2005, at 2:10 AM, Emmanuel wrote:
I wrote:
First results show a speed still lower than 10.4.2, by 50% approx.
With more inputs, the difference between 10.4.2 and 10.4.3 is
becoming statistically irrelevant (in other words there is no
observable change.)
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. 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.
--Chris Nebel
AppleScript and Automator Engineering
_______________________________________________
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