From: skaller <skaller@users.sourceforge.net>
To: caml-list <caml-list@inria.fr>
Subject: [Caml-list] some profile data
Date: 26 Jun 2004 03:43:24 +1000 [thread overview]
Message-ID: <1088185404.1941.126.camel@pelican.wigram> (raw)
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
next reply other threads:[~2004-06-25 17:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-25 17:43 skaller [this message]
2004-06-26 7:39 ` Alain Frisch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1088185404.1941.126.camel@pelican.wigram \
--to=skaller@users.sourceforge.net \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).