<div dir="ltr">The MC packages are also available at <a href="http://smalltalkhub.com/#!/~nice/NiceVMExperiments">http://smalltalkhub.com/#!/~nice/NiceVMExperiments</a><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/9/27 Nicolas Cellier <span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>Again, this is a resolved problem, see <a href="https://code.google.com/p/cog/issues/detail?id=41&amp;can=1&amp;q=float" target="_blank">https://code.google.com/p/cog/issues/detail?id=41&amp;can=1&amp;q=float</a><br>

<br></div>On my home brewed COG, I have <br></div>Home brewed 4.10.10 interpreter VM -&gt; 1219 1215<br><div>Home brewed COG VM -&gt;  156 157<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br>
<br><div class="gmail_quote">2013/9/27 Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Bob,<div><br></div><div>    thanks for the heads up!  I&#39;ll take a look at this ASAP, but ephemerons in the Spur scavenger come first. </div>

</div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">
On Fri, Sep 27, 2013 at 11:12 AM, Bob Arning <span dir="ltr">&lt;<a href="mailto:arning315@comcast.net" target="_blank">arning315@comcast.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Following up Herbert&#39;s question, I wrote:<br>
    <br>
    compareTiming: a to: b<br>
    &quot;<br>
    ---interpreter vm (5.7.4.1) ---------<br>
    Float compareTiming: 1 to: 1.0 ==&gt; 719<br>
    Float compareTiming: 1.0 to: 1.0 ==&gt; 991<br>
    Float compareTiming: 1 to: 1 ==&gt; 312<br>
    Float compareTiming: 1.0 to: 1 ==&gt; 686<br>
    ---cog vm (2749)---------<br>
    <b>Float compareTiming: 1 to: 1.0  ==&gt; 28162</b><br>
    Float compareTiming: 1.0 to: 1.0  ==&gt; 148<br>
    Float compareTiming: 1 to: 1  ==&gt; 97<br>
    Float compareTiming: 1.0 to: 1  ==&gt; 179<br>
    &quot;<br>
        <br>
    ^[1000000 timesRepeat: [ <br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
        a &lt; b.<br>
    ]] timeToRun<br>
    <br>
    So, some obvious questions:<br>
    - in the interpreter vm, why is comparing two floats slower that an
    integer and a float?<br>
    - what&#39;s up with Cog? Three tests are faster by the expected ratio
    and one took a real dive.<br>
    <br>
    Also, the profiler Herbert used could use some attention to the
    NewFloat printing:<br>
    <br>
    99.9 (898,069)  Multiline1  doOneStep:<br>
       <b>77.30000000000001</b> (694,902)  Multiline1 [HkTestLine] 
    doTests:<br>
          73.8 (663,438)  HkRunin [HkTestStation]  canStartNextTest:<br>
    <br>
    Cheers,<br>
    Bob<br>
    <br>
  </div>

<br><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br>best,<div>Eliot</div>
</font></span></div>
<br><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>