• 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: 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


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

  • Prev by Date: EyeTV Exporter, HOWTO change "2 at a time" to "1 at a time"
  • Next by Date: Re: making applescript wait until shell script finishes
  • Previous by thread: Re: speed test, anyone?
  • Next by thread: Re: speed test, anyone?
  • Index(es):
    • Date
    • Thread