Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ocaml-3.05: a performance experience
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alexander V. Voinov <avv@q...>
Subject: Re: [Caml-list] ocaml-3.05: a performance experience
Hi Gerd,

Gerd Stolpmann wrote:
> I think you observe GC compaction. You can turn it off:
> OCAMLRUNPARAM="O=1000000" (or Gc.set).

Thank you. This eliminated 2/3 of the difference and adding
Gc.space_overhead = 95 returned the app to the numbers of 3.04, both for
the speed and for the footprint.

> If XML validation is not needed, you could also rewrite your program
> to use the new event-based parsing in PXP-1.1.90. That would completely
> avoid to represent the XML tree in memory (and increase the speed, because
> GC of large memory footprints is expensive).

thanks again, but it's not yet officially announced, is it? I managed to
download it, but I didn't find any direct link. Also, it this parsing
mode mentioned in the manual?

Alexander
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners