From: gabriele renzi Date: 2004-12-03T18:22:41+09:00 Subject: Re: Does anyone have benchmark programs for YARV? SASADA Koichi ha scritto: > Hi, > > I'm developing YARV - Yet Another RubyVM. I'm looking for > benchmark programs to evaluate YARV's performance. So, Does > anyone have suitable benchmarks for this purpose? I don't have a benchmark.. but I think the OO Richards Benchmark as found here: http://pws.prserv.net/dlissett//ben/bench1-ruby-28.htm may be interesting. > Current YARV has some limitations (especially, can't require > any files). But I can fix YARV or your program to work and > measure execution time. > > If you have a ruby program which is slow for you, feel free to > send me that :) Perhaps, YARV will be optimized for your > application. Not that it is a valuable application... but I have this dumb example of using backtracking to solve the map coloring problem as found here: http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-16.html#node_sec_14.4.2 It stresses callcc a lot and takes ~15 seconds to terminate on my old athlon 2000 box. If you want take a look at it at: http://rafb.net/paste/results/x4gckY22.html (sorry for italian naming I guess it is still understandable :)