Call vs Send

Dar Scott dsc at swcp.com
Fri Jun 10 00:32:10 EDT 2005


On Jun 9, 2005, at 9:51 PM, Richard Gaskin wrote:

>> What are the relative timings of handlers in the message path vs. 
>> handlers
>> outside?
>
> About twice as long, but as with many benchmarks with Transcript it 
> hardly matters:  "twice as long" sounds like a big deal, but on my 
> 1GHz G4 that's still less than a microsecond. :)

Do you mean millisecond?

I find addition to be less than a microsecond, but a path call is 8 to 
15 microseconds for the 3rd invocation and up. A send or call takes 50 
to 70 microseconds for the 3rd call and up.  (2 short parameters)

Maybe we should compare notes.

This is on a dual 1.25 GHz G4.

Dar

-- 
**********************************************
     DSC (Dar Scott Consulting & Dar's Lab)
     http://www.swcp.com/dsc/
     Yahoo!  RevCon West in one week!
**********************************************



More information about the use-livecode mailing list