Interpreter speedup possible?

John Clonts jclonts at mastnet.net
Fri Aug 11 16:54:12 UTC 2000


Dan Ingalls wrote:
> 
> >The following described the Dolphin interpreter:
> >
> >> Another of our most dramatic performance improvements was achieved by
> >> dispatching independently from each instruction rather than from a main
> >> interpreter loop (threaded dispatch). This actually has very little effect
> >> on the code size, as at most four instructions are required. The
> >> implementation of many bytecodes is very short, and the dispatch
> >> instructions can often be intermixed with the bytecode's instructions in
> >> such a way that the overhead is reduced to the cost of the jump.
> 
> PS:  I think Dolphin ST only runs on Windows.  Is anyone out there in a position to compare our simple integer benchmark (a very good test of simple bytecode speed) on Squeak and DST on the same machine?  I would be interested to see the results.
> 
>         - Dan

5000000 // (Time millisecondsToRun: [10 benchmark]) * 1000

gives:

Squeak 2.8alpha  14326000
Dolphin 3.0      16393000
VisualWorks 5i.1 52631000

Cheers,
John

-- 

[:o|] Buster BlockBlaster





More information about the Squeak-dev mailing list