Boost logo

Boost :

Subject: Re: [boost] Proposal for #pragma once support
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2009-06-09 21:13:22


Chandrashekhar Kumar wrote:
> On Tue, Jun 9, 2009 at 11:33 PM, Christopher Jefferson <
> chris_at_[hidden]> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk