Version française
Home     About     Download     Resources     Contact us    
Browse thread
JIT VM in OCaml: Impossible?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] JIT VM in OCaml: Impossible?
On Friday 17 August 2007 03:50:00 skaller wrote:
> Slow? No, not really: [AMD64 2300 1G]:
>
> (includes parsing the file)
> skaller@rosella:/work/felix/svn/felix/felix/trunk$ time f hello
> Hello World
>
> real    0m2.073s
> user    0m1.972s
> sys     0m0.084s

[AMD64 2200 2G]

$ cat >test.ml
print_endline "Hello world"
$ time ocamlnat test.ml
Hello world

real    0m0.063s
user    0m0.033s
sys     0m0.029s

Thats 33x faster on a slower machine.

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