D GC Benchmark Suite

Leandro Lucarella llucax at gmail.com
Sat Mar 28 13:28:11 PDT 2009


bearophile, el 28 de marzo a las 16:17 me escribiste:
> Leandro Lucarella:
> > Hello. I'm trying to make a benchmark suite to evaluate different GC
> > implementations. I'm looking for trivial benchmarks and full real-life
> > programs. If you have something like that or if you are interested in more
> > details about what I'm looking for, please read the following link:
> 
> This topic was discussed more than one time by me too. A gentle person
> here even has written a patch for the GC to solve one of the performance
> problems I did find (I think such patch was never accepted, I don't know
> why).

I was just looking at my collected post about the subject and found that
mail and saw the patch (and yes, it's not applied yet). This was 1 minute
ago. The bug is this:
http://d.puremagic.com/issues/show_bug.cgi?id=1923

I've just tested it and it seems to work great (it even improves the
performance of other mini benchmarks I've collected).

> I think D deserves a benchmark suite to test "everything". Haskell
> implementations have several of them.

Agree, but for now I'm just interested in the GC to finally get my diploma
;)

> Inside here you can find 3 tests of the GC (gc1, gc2 and gc3) (one of
> them is the binary tree test you already have seen many times):
> http://www.fantascienza.net/leonardo/js/slow_d.zip

I just saw that too a minute ago (it was on my notes too). Thank you.

> Thy are tiny programs: I think a test suite has to contain both tiny and
> longhish programs, because the shorter ones are able to spot troubles in
> a more definite way, and the longer ones are able to spot less specific
> troubles.

Sure, that's exactly the reason I want both type of benchmarks.

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
cigarette takes away 5 minutes of a person's life


More information about the Digitalmars-d-announce mailing list