5

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?

Community
  • 1
  • 1
Petr
  • 62,528
  • 13
  • 153
  • 317

1 Answers1

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