Pure Interpreter Speed

Stefan Marr java at stefan-marr.de
Fri Oct 24 07:29:37 UTC 2014


Hi Thomas:

> On 24 Oct 2014, at 02:37, Thomas Wuerthinger <thomas.wuerthinger at oracle.com> wrote:
> 
> Can you post the “-version” results for the two VMs you are comparing and the two command lines?

I just reproduced it locally with the following VMs:

$ java -server -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(™) 64-Bit Server VM (build 25.20-b23, mixed mode)


$ ../graal/mxtool/mx --vm server vm -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
OpenJDK 64-Bit Server VM (build 25.25-b02-internal-graal-unknown-venus-2014-10-19_13-05-36_CEST, mixed mode)

The Graal code base is from October 18th. 


java -server -cp build/classes:libs/truffle.jar som.vm.Universe -cp Smalltalk:Examples/Benchmarks/DeltaBlue Examples/Benchmarks/BenchmarkHarness.som DeltaBlue 100 0 1000

Starting DeltaBlue benchmark ...
DeltaBlue: iterations=1 runtime: 830573us
DeltaBlue: iterations=1 runtime: 493144us
DeltaBlue: iterations=1 runtime: 564083us
DeltaBlue: iterations=1 runtime: 520939us
…


../graal/mxtool/mx --vm server vm -G:TruffleCompileOnly=__something_that_really_doesnt_exist__so_that_nothing_is_compiled__ -G:-TraceTruffleInlining -G:-TraceTruffleCompilation -Xbootclasspath/a:build/classes:../graal/truffle.jar som.vm.Universe -cp Smalltalk:Examples/Benchmarks/DeltaBlue Examples/Benchmarks/BenchmarkHarness.som DeltaBlue 100 0 1000

Starting DeltaBlue benchmark ...
DeltaBlue: iterations=1 runtime: 1405182us
DeltaBlue: iterations=1 runtime: 1094049us
DeltaBlue: iterations=1 runtime: 1079595us
DeltaBlue: iterations=1 runtime: 1065108us
…



And, that’s measured with the latest version of TruffleSOM:

$ git clone --recursive https://github.com/SOM-st/TruffleSOM.git
$ ant

Best regards
Stefan


-- 
Stefan Marr
INRIA Lille - Nord Europe
http://stefan-marr.de/research/





More information about the graal-dev mailing list