ZipPy status update

Chris Seaton chris at
Sat Dec 21 06:43:16 PST 2013

Christian has covered all the points I was going to look for, but I was
going to suggest that if you get something like fannkuch running we can
make some general comparisons. Smalltalk and Ruby have similar properties
that mean they probably look pretty similar in their ASTs, such as closures
for control structures and operators being method calls, so I can relate
what I know about using Truffle for those kinds of problems to Smalltalk.


On 21 December 2013 14:35, Stefan Marr <java at> wrote:

> Hi Chris:
> On 21 Dec 2013, at 13:33, Chris Seaton <chris at> wrote:
> > What is the minimal benchmark where you think it's most obvious that
> Truffle isn't giving the performance that it should, and how do I run it?
> Preferably something numerically intensive, as I know that works well in
> ZipPy and RubyTruffle, but minimal is also important.
> Numerically intensive and minimal?
> Not sure what you are thinking of exactly. But the simple WhileLoop
> benchmark in Examples/Benchmarks is I think my first focus. Will try to go
> though Christian’s extensive list of comments. Thanks a lot Christian!
> With a properly set up (in the TruffleSOM repo), it can be
> executed with:
> ./ -cp `pwd`/Smalltalk
> `pwd`/Examples/Benchmarks/BenchmarkHarness.som WhileLoop  1 3 3000
> But note, there is still a SOM benchmark harness. And the standard library
> gets loaded partially as well.
> For more computational intensive benchmarks, there is Fannkuch perhaps, or
> the Queens benchmark?
> Not sure what you got in mind concretely, but perhaps I can just port
> something that you think would be useful to guide my work?
> In general, the benchmarks can be execute by either just calling their
> script, or using the harness which allows to define the number of
> measurements, the number of warmup runs ahead, and the number of inner
> iterations each benchmark is executed. In the command line above,
> represented in order by 1, 3, and 3000.
> To get a proper TruffleSOM checkout, please checkout the submodule with
> the SOM standard library in the proper version. For instance this does the
> trick (note the `--recursive): git clone --recursive
> Best regards
> Stefan
> --
> Stefan Marr
> Software Languages Lab
> Vrije Universiteit Brussel
> Pleinlaan 2 / B-1050 Brussels / Belgium
> Phone: +32 2 629 2974
> Fax:   +32 2 629 3525

More information about the graal-dev mailing list