Hi folks

I just had a bash at implementing precompiled header support in PoDoFo 
to speed builds a bit. In brief: not worth the effort, and I thought I'd 
say so here so nobody else wasted their time.

Using make -j 1 :

with:    1m9.963s
without: 1m25.056s

using make -j 4 :

with:    0m38.089s
without: 0m46.858s

(Yes, I'm impatient. I also do a lot of clean builds.)

Since Boost's headers are pretty slow to compile, it might start to 
matter if they see more use (the above tests were done without 
-DWANT_BOOST). It shouldn't be too hard to implement support in cmake, 
so that's not that big a deal. The above tests used cmake, but I 
hand-generated the precompiled header.

--
Craig Ringer

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to