[Newbies] How to profile a bunch of code

Frank Urbach frank.urbach at schmees.com
Mon May 8 12:42:47 UTC 2006

Hi Cèdric,

I think the MessageTally is what you are searching for. 
With MessageTally spyOn: [Block] you get some information about the execution.
On top of the result-window you find the execution time.

Hope this helps!


Original Message        processed by David InfoCenter 
Subject: [Newbies] How to profile a bunch of code (08-Mai-2006 14:20)
From:    cdrick <cdrick65 at gmail.com>
To:      frank.urbach at schmees.com


Is it possible to compare methods time execution...

I know the possiblity to use 
Time millisecondsToRun: aBlock
but it's not really useful...
I've seen a profiler but not really sure...

My aim is just to compare for instance the access to an existing dictionary, or creating it with several methods... 

If you have any hints

ps: what is a "reasonnable" execution time ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20060508/914a8e03/attachment.htm

More information about the Beginners mailing list