Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any real disadvantage in building all libraries with profiling enabled?

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?

like image 582
Petr Avatar asked Jul 17 '14 08:07

Petr


1 Answers

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.
like image 139
Don Stewart Avatar answered Oct 05 '22 05:10

Don Stewart