caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Adrien <camaradetux@gmail.com>
To: Gabriel Scherer <gabriel.scherer@gmail.com>
Cc: SerP <serp256@gmail.com>, caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Very slow compilation
Date: Sun, 11 Mar 2012 10:04:14 +0100	[thread overview]
Message-ID: <CAP5QFJkC3Xv1j586L8GE3TN7tk1oAJ8vsVZPvr+o9riU_Xccgg@mail.gmail.com> (raw)
In-Reply-To: <CAPFanBHsBUkAh8-rJJdC=uv9pXnef7duxQ-gHL0FOtvceuwTPQ@mail.gmail.com>

Hi,

On 11/03/2012, Gabriel Scherer <gabriel.scherer@gmail.com> wrote:
> I can't comment on the type-checker internals, but a general first
> step would be to make sure that you don't recompile things that you
> don't need to.

There's another "easy" thing to try: using .opt version of the ocaml
binaries. It's not often done by default and I've sometimes noticed 5
to 6 times faster builds with them (of course, on files which were
slow to build).

Hope this helps,
Adrien Nader

  reply	other threads:[~2012-03-11  9:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-11  8:11 SerP
2012-03-11  8:39 ` Gabriel Scherer
2012-03-11  9:04   ` Adrien [this message]
2012-03-11  9:21   ` Raphael Proust
2012-03-13 22:02     ` Matti Jokinen
2012-03-13 22:46       ` Gerd Stolpmann
2012-03-14  5:33         ` Gabriel Scherer
2012-03-14  8:52         ` Pierre Chambart
2012-03-13 16:58 ` Richard W.M. Jones
2012-03-14 14:45 tools

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=CAP5QFJkC3Xv1j586L8GE3TN7tk1oAJ8vsVZPvr+o9riU_Xccgg@mail.gmail.com \
    --to=camaradetux@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=gabriel.scherer@gmail.com \
    --cc=serp256@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).