Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
4.08 switch creation time on raspian - +164% ! #8811
One important difference in 4.08 is the switch to a Menhir-generated parser generator, which generates a
To measure this, I would recommend running the following from a clean checkout of the OCaml compiler (on both versions):
(On my machine this takes 8s on 4.08 compared to 2s on 4.07.)
@progman1, do you observe a significant difference between 4.07 and 4.08 on the build of the parser?
I measured the times of various parts of the build on my usual machine, under 4.07 and 4.08.
some numbers on individual compiler/parser invocations that mention ml/mli/mly/mll/cma/cmxa
take-away? @nojb has a much faster machine than I!
4.08 world 20m.53
64.58 COMPILING: parsing/parser.ml
4.07 world 14m.58 !?
107.43 COMPILING: ocamldoc link ...
4.08 world.opt 32m21
87.77 COMPILING: parsing/parser.ml
4.07 world.opt 27m.23
97.89 COMPILING: odoc_html.ml
I haven't looked in details but the overall result don't seem terribly surprising:
For the record I tried to bisect a change in compilation time of