How does one use `ocamloptp` from Dune?

Since the -p flag is no longer supported but with the ocamloptp tool being available, which does about the same thing, how does one invoke that from within Dune?

I’m not sure that it’s possible at the moment (see How to enable profiling? · Issue #398 · ocaml/dune · GitHub)

1 Like

That’s a shame. Is there any other way to use pprof for OCaml projects? Jane Street seem to be a big proponent of pprof, so I am assuming there is some way for this to be used.

My impression - at a distance - is that they’re rather more into magic-trace - see in particular the prior art page.

1 Like