Re: [Pharo-users] About how to benchmark the lookup speed...

2017-06-15 Thread Steven Costiou
Hi, i added the garbage collect and the numbers are better ! There are fluctuations but no more "random-like" variations of the measured values. I computed the standard error which is, for all measures i did, inferior to 0.5% of the mean (then the confidence interval is good). Thank you both

Re: [Pharo-users] About how to benchmark the lookup speed...

2017-06-14 Thread werner kassens
On 06/14/2017 09:12 PM, Steven Costiou wrote: repetitions timesRepeat:[ results add: [100 timesRepeat:[o m]] timeToRun]. Hi Steven, the influence of the garbage collector is in cases like these often somewhat difficult to forecast. i would eventually change the code to: repetitions

Re: [Pharo-users] About how to benchmark the lookup speed...

2017-06-14 Thread Steven Costiou
@lists.pharo.org] ON BEHALF OF > Steven Costiou > SENT: 14 June 2017 18:14 > TO: Pharo users users <pharo-users@lists.pharo.org> > SUBJECT: [Pharo-users] About how to benchmark the lookup speed... > > Hi, > > i'm having trouble doing benchmarks in Pharo, at least i

Re: [Pharo-users] About how to benchmark the lookup speed...

2017-06-14 Thread PBKResearch
-users-boun...@lists.pharo.org] On Behalf Of Steven Costiou Sent: 14 June 2017 18:14 To: Pharo users users <pharo-users@lists.pharo.org> Subject: [Pharo-users] About how to benchmark the lookup speed... Hi, i'm having trouble doing benchmarks in Pharo, at least i don't understand the r

[Pharo-users] About how to benchmark the lookup speed...

2017-06-14 Thread Steven Costiou
Hi, i'm having trouble doing benchmarks in Pharo, at least i don't understand the results (maybe i'm missing something). I want to compare anonymous subclasses lookup speed with standard pharo classes lookup speed. I have a method m and a method m2 that execute the following code: ^ 100