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-users [mailto:pharo-users-bounces@lists.pharo.org]
De la part de abdelghani ALIDRA
Envoy�� : vendredi 13 novembre 2015 10:21
�� : pharo-users@lists.pharo.org
Objet : [Pharo-users] Transcrip Show: in a loop
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 shown one after another but all together after the loop is finished, unless I put a ... self halt
Is this behavior normal? is there any way to make the messages come one by one?
Thanks
Abdelghani