Given how laborious it is to enable profiling later, is there any real disadvantage (except more disk space used) in building all libraries with profiling enabled by default? In particular, are there any disadvantages for development, once all libraries with profiling enabled are installed?
Asked
Active
Viewed 152 times
1 Answers
7
The disadvantages are:
- longer compile times (> 2x slower to build two or more copies of the libraries)
- increased installer sizes (> 2x larger)
Advantages are:
- you can profile when you need to profile without rebuilding the world.

Don Stewart
- 137,316
- 36
- 365
- 468
-
Which is why the first thing I do after installing `haskell-platform-prof` is turn on library profiling in my cabal configuration. – Boyd Stephen Smith Jr. Jul 17 '14 at 16:24
-
In particular, neither of these disadvantages apply to development, once everything is installed. – John L Jul 17 '14 at 22:50