Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2002-08-04 (03:11)
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?

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: