• 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: speed test, anyone?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: speed test, anyone?
      • From: jj <email@hidden>
    • Re: speed test, anyone?
      • From: Daniel Jalkut <email@hidden>
References: 
 >Re: speed test, anyone? (From: Emmanuel <email@hidden>)
 >Re: speed test, anyone? (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: New FireFox 1.5 browser -- applescript implementation
  • Next by Date: reopened app running a different context?
  • Previous by thread: Re: speed test, anyone?
  • Next by thread: Re: speed test, anyone?
  • Index(es):
    • Date
    • Thread