Thanks Herbert for tip on timing.<div><br></div><div>For interest I tried.  The results were.</div><div><br></div><div>Squeak 5600 - 5800 milliseconds</div><div>Pharo 5400 - 5500 milliseconds</div><div>Cuis 200 - 500 milliseconds</div>
<div><br></div><div>So there was a factor of 10 in it which I why I noticed I guess.  </div><div><br><br><div class="gmail_quote">2009/11/12 Herbert König <span dir="ltr">&lt;<a href="mailto:herbertkoenig@gmx.net">herbertkoenig@gmx.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi John,<br>
<br>
JW&gt; Absolute beginner playing with smalltalk.  I have a simple<br>
JW&gt; program that opens a number of text files, plays with data closes<br>
JW&gt; files and gives a count of things in the files. (Its actually my<br>
JW&gt; Squeak version of the Cincom VW Tutorial).  I have run it on<br>
JW&gt; Squeak, Pharo and Cuis images. What suprised me was the difference<br>
JW&gt; in speeds.  I haven&#39;t done tried to time it (I should do that or<br>
<br>
in case you don&#39;t know how:<br>
Time millisecondsToRun: [your code goes here]<br>
returns what it says.<br>
<br>
JW&gt; at least work out how to) but Squeak and Pharo take about the same<br>
JW&gt; time whereas Cuis is significantly quicker. I know its a cut down<br>
JW&gt; image but the difference is remarkable.  Is this to be expected?<br>
<br>
If you talk about files, a significant part of the time might be spent<br>
in the OS which depends on cacheing.<br>
<br>
So unless there is significant processing, file access might dominate<br>
(and invalidate) the measured times.<br>
<br>
Cuis has removed and cleaned up things which tends to speed things up<br>
but usually not to a noticeable degree. Even if you hit a<br>
significantly sped up method, such results should not be generalized.<br>
<br>
Cuis is not advertised for higher speed but for cleaner code, less<br>
bulk and better looks. IMHO that is.<br>
<br>
<br>
--<br>
Cheers,<br>
<font color="#888888"><br>
Herbert<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br></div>