<p dir="ltr">This gets more confusing when we look at RSqueak, because we still see massive changes in performance there due to ongoing refactorings and continued changes to the JIT.</p>
<p dir="ltr">I will just delete the older results. </p>
<br><div class="gmail_quote"><div dir="ltr">Tim Felgentreff <<a href="mailto:timfelgentreff@gmail.com">timfelgentreff@gmail.com</a>> schrieb am So., 25. Dez. 2016, 21:33:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="gmail_msg">No, sorry, my bad. There was no change in hardware. </p>
<p dir="ltr" class="gmail_msg">The jumps you are seeing stem from a change in how we report our measurements. Before, we had scaled all benchmarks to find a number of iterations that took longer than 600ms on Cog and then reported the time it took for those to run. </p>
<p dir="ltr" class="gmail_msg">Now we do a first pass to find a number of iterations that take 600ms for each VM separately each time, and when we report we divide by the number of iterations. This is, for example, why we are now seeing such low numbers for simple loops. Before we were reporting something like a few million iterations, now we still run those millions of iterations, but we then divide to get the time each iteration took.</p>
<p dir="ltr" class="gmail_msg">I should probably just delete older results, because they are no longer comparable. </p>
<p dir="ltr" class="gmail_msg">And we are already running Pharo tests, the "nocounters" VM is the exact same Cog VM running the benchmarks in a Pharo image. </p>
<p dir="ltr" class="gmail_msg">Also, I should update the website to show the image version, too, because we update that sporadically, too. </p>
<br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">Levente Uzonyi <<a href="mailto:leves@caesar.elte.hu" class="gmail_msg" target="_blank">leves@caesar.elte.hu</a>> schrieb am So., 25. Dez. 2016, 16:10:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Probably the tests were run on different hardware.<br class="gmail_msg">
<br class="gmail_msg">
Levente<br class="gmail_msg">
<br class="gmail_msg">
On Sun, 25 Dec 2016, Ben Coman wrote:<br class="gmail_msg">
<br class="gmail_msg">
> On Sat, Dec 24, 2016 at 8:13 PM, Tim Felgentreff<br class="gmail_msg">
> <<a href="mailto:timfelgentreff@gmail.com" class="gmail_msg" target="_blank">timfelgentreff@gmail.com</a>> wrote:<br class="gmail_msg">
>> We run benchmarks every day on<br class="gmail_msg">
>> <a href="http://speed.squeak.org/" rel="noreferrer" class="gmail_msg" target="_blank">http://speed.squeak.org/</a>.<br class="gmail_msg">
><br class="gmail_msg">
> Reviewing at the timeline   <a href="http://speed.squeak.org/timeline/" rel="noreferrer" class="gmail_msg" target="_blank">http://speed.squeak.org/timeline/</a><br class="gmail_msg">
> I am curious about some of the performance improvements.<br class="gmail_msg">
><br class="gmail_msg">
> Several significant improvements seem aligned with Cog commit 2016120519<br class="gmail_msg">
> for example AStar...<br class="gmail_msg">
> <a href="http://speed.squeak.org/timeline/#/?exe=2,4,1,5,6,7,8,9&ben=AStar&env=2&revs=50&equid=off&quarts=on&extr=on" rel="noreferrer" class="gmail_msg" target="_blank">http://speed.squeak.org/timeline/#/?exe=2,4,1,5,6,7,8,9&ben=AStar&env=2&revs=50&equid=off&quarts=on&extr=on</a><br class="gmail_msg">
><br class="gmail_msg">
> which seems to be "Merge pull request #105 from estebanlm/Cog"<br class="gmail_msg">
> <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/network" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/network</a><br class="gmail_msg">
><br class="gmail_msg">
> But then also aligned with the same Cog commit, there is a<br class="gmail_msg">
> corresponding improvement in the rsqueak performance, for example<br class="gmail_msg">
> ArrayAccess...<br class="gmail_msg">
> <a href="http://speed.squeak.org/timeline/#/?exe=2,4,1,5,6,7,8,9&ben=ArrayAccess&env=2&revs=50&equid=off&quarts=on&extr=on" rel="noreferrer" class="gmail_msg" target="_blank">http://speed.squeak.org/timeline/#/?exe=2,4,1,5,6,7,8,9&ben=ArrayAccess&env=2&revs=50&equid=off&quarts=on&extr=on</a><br class="gmail_msg">
><br class="gmail_msg">
> ...which seems to indicate a common cause from an in-Image<br class="gmail_msg">
> improvement, for which between 2016120322 and 2016120519 I see "The<br class="gmail_msg">
> various scanFor: and scanForEmptySlotFor: implementations only need to<br class="gmail_msg">
> access the size of their array once."<br class="gmail_msg">
> * Trunk: Kernel-eem.1050.mcz  (MethodDictionary)<br class="gmail_msg">
>   <a href="http://forum.world.st/The-Trunk-Kernel-eem-1050-mcz-td4925618.html" rel="noreferrer" class="gmail_msg" target="_blank">http://forum.world.st/The-Trunk-Kernel-eem-1050-mcz-td4925618.html</a><br class="gmail_msg">
> * Trunk: System-eem.920.mcz (SystemDictionary)<br class="gmail_msg">
>   <a href="http://forum.world.st/The-Trunk-System-eem-920-mcz-td4925619.html" rel="noreferrer" class="gmail_msg" target="_blank">http://forum.world.st/The-Trunk-System-eem-920-mcz-td4925619.html</a><br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> So I'm curious do the benchmarks track both Image and VM changes?<br class="gmail_msg">
> Perhaps it would be useful to also benchmark Pharo to control for<br class="gmail_msg">
> Image changes (now that its returned to the fold using the mainline<br class="gmail_msg">
> opensmalltalk-vm)<br class="gmail_msg">
><br class="gmail_msg">
> Now I'm further curious, the benchmarks below see a massive jump down<br class="gmail_msg">
> for 2016120519 for all data series, but all results are relatively<br class="gmail_msg">
> very close to zero, so I wonder are these valid results?<br class="gmail_msg">
>  ByteStringHash<br class="gmail_msg">
>  ClassVarBinding<br class="gmail_msg">
>  Compiler<br class="gmail_msg">
>  EqualBytes<br class="gmail_msg">
>  Fib<br class="gmail_msg">
>  FillArray<br class="gmail_msg">
>  FillByteArray<br class="gmail_msg">
>  FillString<br class="gmail_msg">
>  Graphsearch<br class="gmail_msg">
>  HashBytes<br class="gmail_msg">
>  HashWords<br class="gmail_msg">
>  InstVarAccess<br class="gmail_msg">
>  IntLoop<br class="gmail_msg">
>  IntegerByteCodes<br class="gmail_msg">
>  ModularConvolutionBytes<br class="gmail_msg">
>  ModularConvolutionWords<br class="gmail_msg">
>  ModularDotProductBytes<br class="gmail_msg">
>  ModularDotProductWords<br class="gmail_msg">
>  ModularSumBytes<br class="gmail_msg">
>  ModularSumWords<br class="gmail_msg">
>  PermutationCompositionArray<br class="gmail_msg">
>  PermutationCompositionWords<br class="gmail_msg">
>  Richards<br class="gmail_msg">
>  Send<br class="gmail_msg">
>  SendPrimitive<br class="gmail_msg">
>  SendWithManyArguments<br class="gmail_msg">
>  Slopstone<br class="gmail_msg">
>  WideStringHash<br class="gmail_msg">
><br class="gmail_msg">
> Here all series jump down, and the result range seems valid...<br class="gmail_msg">
>  FloatLoop<br class="gmail_msg">
><br class="gmail_msg">
> Here all series jump, and the result range seems valid. Rsqueak improves more...<br class="gmail_msg">
>  ShootoutSpectraNorm<br class="gmail_msg">
><br class="gmail_msg">
> Here cog32, cog64 & rsqueakvm32 have a small jump down, but its is<br class="gmail_msg">
> very close to zero, so are they valid?  rsqueakvm64 shows no change...<br class="gmail_msg">
>  Blowfish<br class="gmail_msg">
><br class="gmail_msg">
> Here only Cog jumps down, RSqueak stays much higher, seems valid..<br class="gmail_msg">
>  OrderedCollectionRandomInsert<br class="gmail_msg">
>  Nbody<br class="gmail_msg">
><br class="gmail_msg">
> Here only Cog jumps down, RSqueak being already pretty low. The<br class="gmail_msg">
> results seem valid<br class="gmail_msg">
>  AStar<br class="gmail_msg">
>  ArrayAccess<br class="gmail_msg">
>  BinaryTree<br class="gmail_msg">
>  BitBltExampleOne<br class="gmail_msg">
>  DeltaBlue<br class="gmail_msg">
>  DoesNotUnderstand<br class="gmail_msg">
>  Json<br class="gmail_msg">
>  Mandala<br class="gmail_msg">
>  MandelbrotIterative1Thread<br class="gmail_msg">
>  MandelbrotIterative2Thread<br class="gmail_msg">
>  MandelbrotIterative4Thread<br class="gmail_msg">
>  MandelbrotIterative8Thread<br class="gmail_msg">
>  MandelbrotRecursive1Thread<br class="gmail_msg">
>  MandelbrotRecursive2Thread<br class="gmail_msg">
>  MandelbrotRecursive4Thread<br class="gmail_msg">
>  MandelbrotRecursive8Thread<br class="gmail_msg">
>  OrderedCollectionInsertFirst<br class="gmail_msg">
><br class="gmail_msg">
> Here only Cog jumps down, Rsqueak is unchanged or not present, seems valid...<br class="gmail_msg">
>  Smopstone<br class="gmail_msg">
>  SplayTree<br class="gmail_msg">
>  ToolInteraction<br class="gmail_msg">
><br class="gmail_msg">
> Here only cog32 jumps down, cog64, rsqueakvm32 & rsqueakvm64 no<br class="gmail_msg">
> change, seems valid...<br class="gmail_msg">
>  Fannkuck<br class="gmail_msg">
><br class="gmail_msg">
> Here RSqueak improves, Cog stays the same, seems valid...<br class="gmail_msg">
>  ShootoutMandelbrot3<br class="gmail_msg">
>  ShootoutNBody<br class="gmail_msg">
><br class="gmail_msg">
> The follow have no significant change around 5 Dec...<br class="gmail_msg">
>  BitBltColorMapping  - all already low<br class="gmail_msg">
>  DSAGen - all already low<br class="gmail_msg">
>  KMeans<br class="gmail_msg">
>  LRUCachePrintString<br class="gmail_msg">
>  Mandelbrot<br class="gmail_msg">
>  Polymorphy<br class="gmail_msg">
>  RaiseToLargeNumber<br class="gmail_msg">
>  RenderFont<br class="gmail_msg">
>  ShaLongString<br class="gmail_msg">
>  ShootoutBinarytrees<br class="gmail_msg">
>  ShootoutChameneosRedux<br class="gmail_msg">
>  ShootoutFannkuchRedux<br class="gmail_msg">
>  ShootoutFasta<br class="gmail_msg">
>  ShootoutFastaRedux<br class="gmail_msg">
>  ShootoutKnucleotide<br class="gmail_msg">
>  ShootoutMeteor<br class="gmail_msg">
>  ShootoutPidigits<br class="gmail_msg">
>  ShootoutRegexDNA<br class="gmail_msg">
>  ShootoutReverseComplement<br class="gmail_msg">
>  ShootoutThreadring<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> I also see around that time on 2 Dec Fabio says "I have fixed the<br class="gmail_msg">
> Squeak-trunk pipeline and we finally get daily updates again." So<br class="gmail_msg">
> maybe there were suddenly a bundle of improvements that showed up in<br class="gmail_msg">
> one go - but it seems the 2016120322 build should have picked those up<br class="gmail_msg">
> and didn't.<br class="gmail_msg">
> <a href="http://forum.world.st/Squeak-trunk-images-td4925570.html" rel="noreferrer" class="gmail_msg" target="_blank">http://forum.world.st/Squeak-trunk-images-td4925570.html</a><br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div></blockquote></div>