Yes, the benchmark object is a nice idea. I just did not know about it
Thanks to all
Abdelghani.
De : Sven Van Caekenberghe
À : Any question about pharo is welcome
Cc : abdelghani ALIDRA
Envoyé le : Vendredi 13 novembre 2015 14h32
Objet : Re: [Pharo-users] Transcrip Show: in a loop
>> À : abdelghani ALIDRA ; Any question about pharo is
>> welcome
>> Envoyé le : Vendredi 13 novembre 2015 10h37
>> Objet : RE: [Pharo-users] Transcrip Show: in a loop
>>
>> Hi,
>>
>> For benchmarking, you should do :
>> [ aLongComputation]
s not seem to work but I think I am going to use bench.
>>
>> Abdelghani
>>
>> De : Blondeau Vincent > <mailto:vincent.blond...@worldline.com>>
>> À : abdelghani ALIDRA mailto:alidran...@yahoo.fr>>;
>> Any question about pharo is welcome > <
De : Blondeau Vincent
> À : abdelghani ALIDRA ; Any question about pharo is
> welcome
> Envoyé le : Vendredi 13 novembre 2015 10h37
> Objet : RE: [Pharo-users] Transcrip Show: in a loop
>
> Hi,
>
> For benchmarking, you should do :
> [ aLongComputation] ben
flush does not seem to work but I think I am going to use bench.
Abdelghani
De : Blondeau Vincent
À : abdelghani ALIDRA ; Any question about pharo is
welcome
Envoyé le : Vendredi 13 novembre 2015 10h37
Objet : RE: [Pharo-users] Transcrip Show: in a loop
Hi,
For benchmarking, you
Thanks Vincent,
flush does not seem to work but I think I am going to use bench.
Abdelghani
De : Blondeau Vincent
À : abdelghani ALIDRA ; Any question about pharo is
welcome
Envoyé le : Vendredi 13 novembre 2015 10h37
Objet : RE: [Pharo-users] Transcrip Show: in a loop
> On 13 Nov 2015, at 10:20, abdelghani ALIDRA wrote:
>
> Hi all,
>
> In order to monitor my program performance, I am using Transcrip>>show as
> follows ;
>
> 10 timesRepeat:[
> aLongComputation.
> Transcript show: 'some message'.
> ]
>
> The thing is that the messages are not sh
Hi,
For benchmarking, you should do :
[ aLongComputation] bench
It is simpler that to write on Transcript the execution time.
About the writing of the messages on Transcript, that is a normal behavior.
Maybe you should try “Transcript flush” to force the message writing?
Vincent
De : Pharo-use