MessageTally spyOn: ?
Avi Bryant
avi at beta4.com
Thu Feb 20 06:18:36 UTC 2003
On Wed, 19 Feb 2003, Jimmie Houchin wrote:
> Also how would you profile the below code?
> I used MessageTally spyOn: with the block around the 'output' and 'start.'.
Jimmie,
The handler block runs in a different process (a new process for each
request), which confuses MessageTally. You could try putting the #spyOn:
inside it but I don't think that would tell you much - the time will be
dominated by #getData and #sendData:. To get anything interesting you'd
probably have to hunt around in ConnectionHandler for a good place to put
it.
As for stopping the listener, "listener stop" should do it.
More information about the Squeak-dev
mailing list
|