From: Jean Krivine <jean.krivine@gmail.com>
To: Vincent Aravantinos <vincent.aravantinos@gmail.com>
Cc: Joel Reymont <joelr1@gmail.com>, caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] mac profiling
Date: Thu, 19 May 2011 13:26:42 +0200 [thread overview]
Message-ID: <BANLkTikqHMTLX41GY-5tgDuH1A=x2_0sdw@mail.gmail.com> (raw)
In-Reply-To: <952CD335-BB99-4046-9CEC-746388F0C45F@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]
Yes I too used shark under mac os x
http://developer.apple.com/tools/sharkoptimize.html
I don't think it is as accurate as gprof but it helps quite a lot.
J.
On Tue, May 17, 2011 at 7:34 PM, Vincent Aravantinos <
vincent.aravantinos@gmail.com> wrote:
>
> Le 17 mai 11 ą 18:37, Joel Reymont a écrit :
>
>
> Has anyone given thought to how OCaml programs can be profiled on the Mac?
>>
>> gprof on the Mac gives only call counts and no timing information.
>>
>> Using Instruments on native OCaml programs clearly shows only C functions
>> in the OCaml runtime.
>>
>
> I never really managed to profile my ocaml programs properly under OSX.
> Actually, gprof just never worked for me (didn't generate any gmon.out
> file).
> I ended up using Shark which is better than nothing.
>
> V.
>
>
> --
> Caml-list mailing list. Subscription management and archives:
> https://sympa-roc.inria.fr/wws/info/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>
[-- Attachment #2: Type: text/html, Size: 1856 bytes --]
next prev parent reply other threads:[~2011-05-19 11:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-17 16:37 Joel Reymont
2011-05-17 16:45 ` [Caml-list] " Joel Reymont
2011-05-17 17:34 ` [Caml-list] " Vincent Aravantinos
2011-05-19 11:26 ` Jean Krivine [this message]
2011-05-19 11:47 ` Joel Reymont
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='BANLkTikqHMTLX41GY-5tgDuH1A=x2_0sdw@mail.gmail.com' \
--to=jean.krivine@gmail.com \
--cc=caml-list@inria.fr \
--cc=joelr1@gmail.com \
--cc=vincent.aravantinos@gmail.com \
/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