swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Execution speed of current snapshot vs. official 2.1.1


From: Marcus G. Daniels
Subject: Re: Execution speed of current snapshot vs. official 2.1.1
Date: 16 Apr 2002 08:55:06 -0600
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7

>>>>> "SR" == M Lang / S Railsback <address@hidden> writes:

SR> However, we do a lot of messageProbe calls too.

You mean calls for logging data via EZGraph or the like, or do you
mean message dispatch?  Logging may be faster in some cases.  Message
dispatch won't be any faster in later versions.  What you should do is
profile your model with a version of Swarm built with profiling and start
knocking down bottlenecks in order of their cost.  

To elimate message dispatch, you can either do use get_imp (Class,
SEL) to find the function that will be called for a given message
(saving the function pointer in a variable), or restructure your code
to have functions or (better) inlined function for the bottlenecks.
If you find a bottleneck in Swarm, post the gmon.out data to
swarm-support and I can probably suggest another approach.


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]