Repository navigation
Conversation
|
@dpwiz, thanks for the contribution. Sorry for the delay, I needed to read up on the topic. Swapping A small thing, but I am not sure Also, it seemed to me that it was rather a case of: -- The strategy recommended by the GHC User's Guide for the
-- automatic insertion of cost centres for profiling:
recommendedProfStrategy :: Version -> String
recommendedProfStrategy ghcVersion
| ghcVersion >= mkVersion [9, 4, 1] = "-fprof-late"
| otherwise = "-fprof-auto" |
|
I've rebased on the |
|
I think a simpler approach can be taken to Cabal's --profiling-detail=none. I've added a commit and the code comment in it explains my reasoning. EDIT: That allows for simplification elsewhere, which I have reflected in a second commit. |
|
I've framed the change log entry in terms of Stack catching up with the GHC User's Guide's recommendation (that is, this could be viewed as a sort of 'bug fix'). |
For #6197, following https://well-typed.com/blog/2023/03/prof-late/