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 ? Thank you for your future answers, Fréd ___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com |
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 ? MessageTally spyOnScript: [...] The block you spy on could simply contain a Delay. I attached the relevant methods. - Bert - MessageTally class-spyOnScript.st (533 bytes) Download Attachment MessageTally class-doReport.st (388 bytes) Download Attachment MessageTally-spyEveryonScript.st (1K) Download Attachment |
Hello,
Thank you for your answer. But it doesn't work directly. I need to define the method SystemDictionary>>getVMParameters as : getVMParameters ^SmalltalkImage current getVMParameters Now, it works :-) Thank you ! Fréd 2007/2/27, Bert Freudenberg <[hidden email]>:
-- Frédéric Pluquet Université Libre de Bruxelles (ULB) Assistant |
In reply to this post by Bert Freudenberg
Hello,
Thank you for your answer. But it doesn't work directly. I need to define the method SystemDictionary>>getVMParamete rs as : getVMParameters ^SmalltalkImage current getVMParameters Now, it works :-) Thank you ! Fréd 2007/2/27, Bert Freudenberg <[hidden email]>:
-- Frédéric Pluquet Université Libre de Bruxelles (ULB) Assistant |
In reply to this post by Bert Freudenberg
It could be nice to include this at 3.10.
Cheers, -- Diego El mar, 27-02-2007 a las 17:05 +0100, Bert Freudenberg escribió: > 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 - > Diego Gomez Deck ------------------------------------- http://diegogomezdeck.blogspot.com/ http://wwww.consultar.com/ |
Can you publish a bug on mantis please ?
2007/2/28, Diego Gomez Deck <[hidden email]>: > It could be nice to include this at 3.10. > > Cheers, > > -- Diego > > El mar, 27-02-2007 a las 17:05 +0100, Bert Freudenberg escribió: > > 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 - > > > -- > > Diego Gomez Deck > ------------------------------------- > http://diegogomezdeck.blogspot.com/ > http://wwww.consultar.com/ > > > > -- Damien Cassou |
In reply to this post by Diego Gomez Deck
El 2/28/07 9:24 AM, "Diego Gomez Deck" <[hidden email]> escribió: > It could be nice to include this at 3.10. > > Cheers, > > -- Diego I see when Bert send, like. To all: What else of Croquet, Sophie , Tweak, OLPC, etc could be nice to have ? Any another base Tool or feature ready for inclusion ? Cheers Diego, good work in Spain. Abrazo !! Edgar __________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas |
In reply to this post by Frederic Pluquet-2
Actually, that method was removed in 3.9 so you should not simply add
it back. Rather, change the sending side. - Bert - On Feb 28, 2007, at 13:14 , Frederic Pluquet wrote: > Hello, > > Thank you for your answer. But it doesn't work directly. I need to > define the method SystemDictionary>>getVMParameters as : > > getVMParameters > ^SmalltalkImage current getVMParameters > > Now, it works :-) > > Thank you ! > > Fréd > > > 2007/2/27, Bert Freudenberg <[hidden email]>: > 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 - > |
Free forum by Nabble | Edit this page |