[ANN] Nile 0.9.0

Lukas Renggli renggli at gmail.com
Sun Jun 10 07:46:56 UTC 2007


> The best way to measure in this kind of scenario is to measure
> instructions. If the VM would support counting byte code
> instructions executed, ideally on a per-process basis, you would
> get a more precise measurement.

ContextPart class>>tallyInstructions: aBlock
	"This method uses the simulator to count the number of occurrences of
	each of the Smalltalk instructions executed during evaluation of aBlock.
	Results appear in order of the byteCode set."

-- 
Lukas Renggli
http://www.lukas-renggli.ch



More information about the Squeak-dev mailing list