4 ms·
It takes a full minute to build the finished project - is this normal or..?
by dingdingdang 12y ago
It takes a full minute to build the finished project - is this normal or..?
- avsm 12y agoThat's without parallelisation. There is a slowdown when building OCaml projects with a lot of packages, but this is being fixed with some build system improvements (removing the need for ocamlfind on every compiler invocation, switching from camlp4 to ppx extensions, and using the native code compiler instead of a bytecode one). It only affects large projects though, as most of the time you just modify a few files and do an incremental build.
- edwintorok 12y agoThat made me curious and did a quick profile: 25.52% camlp4 ocamlrun [.] caml_interprete 14.60% ocamlopt.opt ocamlopt.opt [.] 0x000000000016ec61 10.51% ocamlfind ocamlfind [.] caml_interprete Looks like ocamlfind is the bytecode version too ... I opened a bug.