A Possibly Interesting Link

Andreas Raab andreas.raab at gmx.de
Thu Apr 6 08:39:00 UTC 2006


Avi Bryant wrote:
>> SqueakOnJava:     2,390,914 bytecodes/sec;   125,697 sends/sec
>> SqueakOnC:      201,892,744 bytecodes/sec; 2,210,621 sends/sec
>>
>> That's about 1/100 of the regular VM.
> 
> Nah, it's just that I was looking at sends/sec and you're looking at 
> bytecodes/sec... (though you've got a 20x diff there where I had 10x).

Actually, my benchmarks are totally off (I was just wondering if I had 
screwed up my last built because the SqueakOnC numbers don't match up). 
I noticed a horrible slowdown of my machine and checking it showed that 
the JVM was happily taking 100% of my CPU (actually *two* JVMs both 
taking 50%). It looks as if quitting via the window close button keeps 
the JVM happily running in the background.

So here we go again:

SqueakOnJava:   5,509,641 bytecodes/sec;   324,946 sends/sec
SqueakOnC:    203,013,481 bytecodes/sec; 5,797,002 sends/sec

So that's between a factor of 20 (sends) and 50 (bytecodes). Not bad. 
Not bad at all.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list