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 TAA31033; Fri, 25 Jun 2004 19:43:31 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA31258 for ; Fri, 25 Jun 2004 19:43:30 +0200 (MET DST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i5PHhQEV018562 for ; Fri, 25 Jun 2004 19:43:28 +0200 Received: from [192.168.1.200] (ppp215-31.lns1.syd2.internode.on.net [203.122.215.31]) by smtp1.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id i5PHhO4Y037022 for ; Sat, 26 Jun 2004 03:13:25 +0930 (CST) Subject: [Caml-list] some profile data From: skaller Reply-To: skaller@users.sourceforge.net To: caml-list Content-Type: text/plain Message-Id: <1088185404.1941.126.camel@pelican.wigram> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 26 Jun 2004 03:43:24 +1000 Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 40DC643E.005 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; sourceforge:01 hash:01 0.00:01 0.00:01 val:01 1.09:01 0.96:01 hash:01 1.02:01 1.01:01 oldify:01 6347:99 oldify:01 0.30:99 alloc:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk This is curious enough to report: I use hash tables quite a bit, but i didn't quite expect this profile: 2/3 of ALL time doing comparisons?? ------------------------------------------------------------ Flat profile: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls s/call s/call name 66.71 58.94 58.94 36199622 0.00 0.00 compare_val 5.00 63.35 4.42 84281045 0.00 0.00 caml_string_length 4.26 67.11 3.76 20758 0.00 0.00 camlHashtbl__find_rec_115 3.38 70.11 2.99 3080491 0.00 0.00 caml_fl_allocate 3.28 73.00 2.90 2794 0.00 0.00 mark_slice 2.13 74.89 1.88 3583 0.00 0.00 sweep_slice 1.81 76.48 1.60 3148035 0.00 0.00 camlHashtbl__find_120 1.09 77.44 0.96 3365533 0.00 0.00 hash_aux 1.02 78.34 0.90 39364860 0.00 0.00 caml_c_call 1.01 79.24 0.90 35021640 0.00 0.00 caml_compare 0.93 80.06 0.82 558897 0.00 0.00 caml_make_vect 0.42 80.43 0.37 5050624 0.00 0.00 camlSet__bal_104 0.42 80.80 0.37 3710761 0.00 0.00 camlList__map_86 0.42 81.17 0.37 3210933 0.00 0.00 caml_oldify_one 0.42 81.54 0.37 6347 0.00 0.00 caml_oldify_local_roots 0.35 81.84 0.30 3080346 0.00 0.00 caml_alloc_shr 0.28 82.09 0.25 95811 0.00 0.00 camlFlx_lookup__trclosem_478 ^^ most heavily used of my own routines only takes 0.3% of all CPU .. -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net ------------------- 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