caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@epfl.ch>
To: Denis Bueno <dbueno@gmail.com>
Cc: OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] Tools for execution timing
Date: Tue, 27 Feb 2007 19:52:05 +0100	[thread overview]
Message-ID: <3FDA206F-C220-47D2-B772-57DCF196DD4A@epfl.ch> (raw)
In-Reply-To: <6dbd4d000702271024w1cabaec6u95aee737b411393e@mail.gmail.com>


Le 27 févr. 07 à 19:24, Denis Bueno a écrit :

> what do people use to time executions?

Assuming you are not on windows. Compile with -p and use gprof  
(linux) or shark (macos). If you want to time within the program  
itself there is Unix.times and Gc.stat to respectively track time and  
memory usage.

Best,

Daniel





  parent reply	other threads:[~2007-02-27 18:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-27 18:24 Denis Bueno
2007-02-27 18:48 ` [Caml-list] " Martin Jambon
2007-02-27 18:52 ` Daniel Bünzli [this message]
2007-02-27 19:05   ` Denis Bueno
2007-02-27 19:15 ` Sam Steingold
2007-02-28  1:27 ` [Caml-list] " Christian Stork

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=3FDA206F-C220-47D2-B772-57DCF196DD4A@epfl.ch \
    --to=daniel.buenzli@epfl.ch \
    --cc=caml-list@inria.fr \
    --cc=dbueno@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;
as well as URLs for NNTP newsgroup(s).