
10 Jun
2009
10 Jun
'09
1:13 a.m.
Chandrashekhar Kumar wrote:
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
Did you check repeatablity of these measurements? Disk caches can significantly skew timings. Were these separate files with the various include guard techniques? If so is the disk fully defragged? Jeff