-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Sun, Dec 21, 2008 at 11:26 AM, Kalman Noel wrote: -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREKAAYFAklOd6oACgkQvpDo5Pfl1oIAEACcCzIDg3SAHlJ/SoJpSHiJ6BvQ ansAn2DSVF6w+c9LvS5CWFaBeBZ+9JRj =PAPh -----END PGP SIGNATURE----- > > 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. Perhaps you could add that to the README or the wiki FAQ? -- gwern --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---