[ANN] New Version of VI4 (block closures)

Stephen Pair squeak-dev at lists.squeakfoundation.org
Wed Oct 23 13:46:05 UTC 2002


I just downloaded VI4 and tried the CCodeGenerator benchmark (on a 1ghz
PIII laptop):

Normal vm: 23,230 ms
VI4 vm: 12,339 ms

Fantastic!

- Stephen

-----Original Message-----
From: Stephen Pair [mailto:spair at advantive.com] 
Sent: Wednesday, October 23, 2002 9:41 AM
To: 'Anthony Hannan'
Subject: RE: [ANN] New Version of VI4 (block closures)


Hi Anthony,

Will you be at OOPSLA?  VI4 sounds great...have you compared the
performance of generating the interpreter of the two VMs?  Here's the
code:

Smalltalk garbageCollect.
[((CCodeGenerator new initialize
	addClass: Interpreter;
	prepareMethods;
	doInlining: true)
		cCodeForMethod: #interpret)] timeToRun

In working on the "Chango" persistence VM, I've found that
#tinyBenchmarks doesn't really give an accurate picture of real
performance.

Anyway...I'm planning to demo my persistence VM at OOPSLA and would like
to re-implement it on top of VI4 (I may gain back some of the
performance I lost ;) ).  It would be nice to sit down with you to get
an idea how much work that would entail.

Cheers,
Stephen

> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org
> [mailto:squeak-dev-admin at lists.squeakfoundation.org] On
> Behalf Of Anthony Hannan
> Sent: Wednesday, October 23, 2002 1:42 AM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: [ANN] New Version of VI4 (block closures)
> 
> 
> Hello Squeakers,
> 
> I'm pleased to announce that I'm finally finished with the latest 
> version of VI4.  You can get it from its usual place at 
> http://minnow.cc.gatech.edu/squeak/VI4.  It has been rewritten and 
> cleaned up and should be very stable.  Once other image format changes

> are incorporated (if any) and once it is approved for a future Jitter,

> it should be ready for prime time.
> 
> The Interpreter still operates directly on the process stack object, 
> but hooks have been provided so the process stack can be internalized 
> by the VM if desired.  See the aboutVI4 method comment for more 
> details.
> 
> 0 tinyBenchmarks reports a 30% increase in bytecode speed and a 75% 
> increase in send speed.
> 
> Enjoy!
> Anthony
> 
> 




More information about the Squeak-dev mailing list