From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id FAA25391; Sun, 4 Aug 2002 05:11:41 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA25508 for ; Sun, 4 Aug 2002 05:11:40 +0200 (MET DST) Received: from imac.sobor.org (adsl-63-198-183-99.dsl.snfc21.pacbell.net [63.198.183.99]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g742nw516506 for ; Sun, 4 Aug 2002 04:50:21 +0200 (MET DST) Received: from quasar.ipa.nw.ru (unknown [192.168.123.51]) by imac.sobor.org (Postfix) with ESMTP id 92525102ADCD; Sat, 3 Aug 2002 19:49:29 -0700 (PDT) Message-ID: <3D4C965D.775F23DD@quasar.ipa.nw.ru> Date: Sat, 03 Aug 2002 19:50:05 -0700 From: "Alexander V. Voinov" Organization: Fear of the Lord is the beginning of wisdom X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Gerd Stolpmann Cc: "caml-list@inria.fr" Subject: Re: [Caml-list] ocaml-3.05: a performance experience References: <3D49FD72.68388864@quasar.ipa.nw.ru> <20020803123311.GA631@ice.gerd-stolpmann.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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