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
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
@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
-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
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