
9 Jun
2009
9 Jun
'09
6:29 p.m.
On Tue, Jun 9, 2009 at 11:33 PM, Christopher Jefferson < chris@bubblescope.net> wrote:
RedundantGuard: 0.130s Nothing: 0.170s PragmaOnce: 0.710s
So PragmaOnce is over 7 times slower. That time is almost entirely in the 'sys' column, so I suspect it querying files to check if they are identical or not.
Chris
I got the following timings on my laptop with g++ -c Main.cpp (4.3.2 on FC10): PragmaOnce real 0m0.776so user 0m0.158s sys 0m0.227s Nothing real 0m0.292s user 0m0.191s sys 0m0.040s RedundantGuard real 0m0.238s user 0m0.120s sys 0m0.038s