<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Viperi has just managed to execute pystone (with a patch to the
<br>final print statement, since % formatting isn't supported yet).
<br>The transcript is below. Looks like viperi is running
<br>only 10 times slower than CPython. The test machine
<br>is a 166 MHz Pentium I with 64M ram, running Linux.
<p>At present, the interpreter doesn't implement 'fast lookup',
<br>although this is planned, not only for functions, but also modules.
<br>Also, the method of handling globals, which are heavily used
<br>in pystone, is very inefficient (every lookup inside a function is
checked against
<br>a singly linked list of global names).
<p>BTW: A request to the Pystone maintainer: in the next
<br>release, make it print out the version of the interpreter.
<p>------------------------------------
<br>[root@ruby] ~/viper>./viperi pystone.py
<br>INSTALLING MODULE exceptions
<br>INSTALLING MODULE py_types
<br>EXECUTING PY_TYPES.PY
<br>install_modules: cannot find file for strop
<br>INSTALLING MODULE types
<br>Viperi 2.0.1
<br>Copyright Maxtal P/L, John Skaller, Australia, 1999
<br>Pystone 1.1 time for 10000 passes = 80
<br>This machine benchmarks at 125 pystones/second
<br>DONE
<br>[root@ruby] ~/viper>python /usr/local/lib/python1.5/test/pystone.py
<br>Pystone(1.1) time for 10000 passes = 7.87
<br>This machine benchmarks at 1270.65 pystones/second
<br>
<pre>--
John Skaller, <A HREF="mailto:skaller@maxtal.com.au">mailto:skaller@maxtal.com.au</A>
1/10 Toxteth Rd Glebe NSW 2037 Australia
homepage: <A HREF="http://www.maxtal.com.au/~skaller">http://www.maxtal.com.au/~skaller</A>
downloads: <A HREF="http://www.triode.net.au/~skaller">http://www.triode.net.au/~skaller</A></pre>
</html>