Gwern Branwen wrote:
> How does one now profile darcs Yi?

Here's how one, with the two recent HConf patches, should be able to 
profile yi when not using -fhacking.

(1) Compile yi with appropriate profiling options, i.e. as the
     prof rule in the Makefile says (only without -fhacking,
     obviously).

(2) yi --recompile-force --ghc-options="-prof -auto-all" +RTS -p -hc
        # or whatever profiling options you need

For the archives, some caveats that I was running into:

* Don't forget --ghc-options="-auto-all" for a usable cost centre
   configuration in (1), too.

* When switching your working tree from -fhacking to -f-hacking, do a
   cabal clean.

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to