Multi-standalone communication
Richard Gaskin
ambassador at fourthworld.com
Sat Dec 9 12:16:35 EST 2006
Jesse Sng wrote:
> I wasn't talking about AppleScript, but AppleEvents. These are far
> simpler and much faster to send/receive and decode than AS.
>
> 6 to 10 per second is probably not a problem for AppleEvents....
Yes, AE is MUCH faster than AS, but I wonder how they benchmark against
checking for the existence of a file. One the one hand, the general
rule of thumb is that any time you touch the disk you're slowing things
down, but on the other hand checking the existence of a file will
usually be working in the OS' cache after the first request, and even AE
has quite a few layers of obverhead.
Checking the existence of a file benchmarks here at 0.0165 ms on a 1GHz
PB G4, running the second script I posted at
<http://lists.runrev.com/pipermail/use-revolution/2006-December/091219.html>.
Anyone have time to run a comparative benchmark?
--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list