On Wed, Sep 19, 2007 at 12:30:31AM +0200, Andre Poenitz wrote: > > Little puzzle for you: > > What belongs together? > > Configurations: > > (A) current svn, --enable-pch > (B) current svn, --disable-pch > > Compile times/size of build tree part frontend/qt4: > > (1) real 7m35s user 6m25s sys 0m23s 58.5 MB > (2) real 6m12s user 5m12s sys 0m19s 19.9 MB > > > > Solution: (A)-(1), (B)-(2). This is gcc (GCC) 4.1.2. > > > Possible conclusions: Precompiled headers are a waste of time and space. > 22% increase on compile times, ~300% increase on disk space. > > Could somebody please try the same test with a different compiler?
Results for frontend/controllers: pch as-is: real 3m34.209s user 2m47.630s sys 0m11.185s pch without boost: real 2m46.650s user 2m15.288s sys 0m9.193s empty pch: real 2m43.938s user 2m8.272s sys 0m8.577s without pch: real 2m43.244s user 2m11.160s sys 0m8.761s So boost really sucks, otherwise pch are "mostly harmless" but do not actually help. Do MSVC people use pch from pch.h or are they generated somehow else? And can somebody please test another compiler/OS/whatever? Andre'