From: <bc...@wo...> - 2001-05-26 19:32:15
|
[John Mudd] >... >Oh, I just saw a briefing on Java 1.4. The reflection speed is >supposed to be several times faster. That might be a big help to >Jython performance. I've received this pystone measurement using jdk1.4 from Timo-Pekka: >Setup: > > AMD Athlon Thunderbird @ 750Mhz > 512MB RAM > Red Hat 7.0 > CPython 1.5.2 > Jython 2.0 (Java SDK 1.4 beta + Server VM) > >% python pystone.py >Pystone(1.1) time for 1000000 passes = 111.61 >This machine benchmarks at 8959.77 pystones/second > ~~~~~~~ > >% /usr/java/j2sdk1.4.0/bin/java -server -Xmx384m >-Dpython.home=/opt/jython-2.0 -cp /opt/jython-2.0/jython.jar:. pystone >Pystone(1.1) time for 10000000 passes = 803.84 >This machine benchmarks at 12440.3 pystones/second > ~~~~~~~ > >Note that Jython benchmark runs ten times more iterations, but it doesn't >affect CPython results. Lastest Hotspot Server VM does quite a good job :-) regards, finn |