Hi folks. I saw this method in Squeak and seems interesting to include in Pharo too. What do you think ?
Cheers
Mariano
Item was added:
+ ----- Method: BlockClosure>>timeToRunWithoutGC (in category 'evaluating') -----
+ timeToRunWithoutGC
+ � � � "Answer the number of milliseconds taken to execute this block without GC time."
+
+ � � � ^(SmalltalkImage current vmParameterAt: 8) +
+ � � � � � � � (SmalltalkImage current vmParameterAt: 10) +
+ � � � � � � � self timeToRun -
+ � � � � � � � (SmalltalkImage current vmParameterAt: 8) -
+ � � � � � � � (SmalltalkImage current vmParameterAt: 10)
+ !