[Shootout-list] Directions of various benchmarks

Jon Harrop jon@ffconsultancy.com
Mon, 16 May 2005 19:39:14 +0100


On Monday 16 May 2005 16:23, Isaac Gouy wrote:
> --- Jon Harrop <jon@ffconsultancy.com> wrote:
> > > > > fasta (new)
> C# program - 8% random, 44% writing chars

C# is also taking about twice as long, so it sounds like poor IO performance 
in C#.

> > > > > k-nucleotide (new)
> C# program - 1.6% hashcode, 25% substring, 40% hashtable find

I profiled for the wrong input originally. With the correct input, 50% of the 
time in the OCaml implementation is spent replacing hash table buckets. That 
is data structure intensive and is stressing the GC. Only 12.5% is spent 
computing hashes.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists