2020-04-16 14:18:31 (GMT)
@Simon Cruanes I am trying to fix some performance bug in Zip, but --profile option does not seem to work because ZProf.ml does not compile (?)
2020-04-16 14:18:49 (GMT)
I mean, it does not get ocaml compiler skips it during compilation
2020-04-16 14:18:58 (GMT)
so the option --profile is not added at all
2020-04-16 14:19:7 (GMT)
do you know why this happens?
2020-04-16 15:0:46 (GMT)
You need to look into the makefile, I think there's make enable-prof or something like that. It was added so profiling doesn't have any overhead in production.
Side note: you can also use perf if you're on linux, I think there's a script somewhere to parse the output.