Profile with fork
Bert Freudenberg
bert at freudenbergs.de
Tue Feb 27 16:05:57 UTC 2007
On Feb 27, 2007, at 16:41 , Frédéric Pluquet wrote:
> Hello,
>
> I want profile my work to find how reduce the execution time.
>
> In my framework I do a lot of fork, creating processes. When I
> profile, via MessageTally spyOn: [], only the "active" process (the
> father) is profiled and I don't have any information on the
> subprocesses :-(
>
> Is there a simple way to resolve my problem ? Must I use an another
> tool ?
In Tweak there is a version that tallies all processes:
MessageTally spyOnScript: [...]
The block you spy on could simply contain a Delay. I attached the
relevant methods.
- Bert -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MessageTally class-spyOnScript.st
Type: application/octet-stream
Size: 375 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070227/68dd1e40/MessageTallyclass-spyOnScript.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MessageTally class-doReport.st
Type: application/octet-stream
Size: 290 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070227/68dd1e40/MessageTallyclass-doReport.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MessageTally-spyEveryonScript.st
Type: application/octet-stream
Size: 1279 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070227/68dd1e40/MessageTally-spyEveryonScript.obj
-------------- next part --------------
More information about the Squeak-dev
mailing list
|