Which Smalltalk to use for production ?

Jon Hylands jon at huv.com
Mon Oct 25 02:00:52 UTC 2004


On Sun, 24 Oct 2004 14:35:22 -0400, Jon Hylands <jon at huv.com> wrote:

> On Sun, 24 Oct 2004 14:18:52 -0400, Jon Hylands <jon at huv.com> wrote:
> 
> > I have a version of Squeak 1.23, and copying the tinyBenchmark code to it,
> > on my 1.0 GHz P3 WinXP laptop, I get:
> > 
> > 	35,106,966 bytecodes/sec; 1,054,243 sends/sec
> > 
> > On Squeak 3.7 (same machine), I get:
> > 
> > 	108,291,032 bytecodes/sec; 3,063,725 sends/sec
> 
> Interestingly, I just tried VisualSmalltalk with this code (it hasn't
> changed since 1997).
> 
> 	195,121,951 bytecodes/sec; 28,684,633 sends/sec
> 
> On VisualWorks 5i.2 (which is the newest one I have on my machine), I get:
> 
> 	248,062,015 bytecodes/sec; 32,210,422 sends/sec
> 
I also remembered I have Dolphin 5.1 Professional installed, and so I tried
it there:

	85,906,040 bytecodes/sec; 2,417,656 sends/sec

So, Squeak is actually a bit faster than Dolphin right now, at least for
these benchmarks.  Not bad, all in all.

Incidentally, I tried to run the 1.23 image with the 3.7 VM, but it won't
let me compile methods, so I can't get the benchmark code into the image.

I also have an old 1.23 DOS Squeak version, which also runs. With it, I
get:

	20,779,220 bytecodes/sec; 1,080,570 sends/sec

I also have a version of 1.31 on my hard-drive, which gives the following:

	34,915,439 bytecodes/sec; 2,101,902 sends/sec

The really interesting thing about 1.31 was that a JIT VM was available:

	 52,373,158 bytecodes/sec; 2,939,687 sends/sec

Same image, different VM.

Now, that 1.31 image will run with the 3.7 VM, which gives:

	84,544,253 bytecodes/sec; 3,031,744 sends/sec

Its interesting that the sends per second is almost identical to the 3.7
image/VM combo, but the bytecodes/sec is slower. Its also interesting that
our current interpreter VM is faster than the JIT VM that came with 1.31...

Later,
Jon

--------------------------------------------------------------
   Jon Hylands      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
           http://www.huv.com



More information about the Squeak-dev mailing list