|
Boost : |
From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2008-07-09 10:26:23
On Jul 8, 2008, at 11:08 PM, Gennadiy Rozental wrote:
> Ji <jpalecek <at> web.de> writes:
>
>>
>> Hello,
>>
>> I have a test that uses many BOOST_CHECKs (~ 10 thousands or so).
>> Running that
> test is very slow and I have
>> noticed most of the time is spent by formatting the description
>> string to be
> passed to check_impl, only to
>> be ignored, because I don't want to log successful checks (and
>> they are
> successful).
>>
>> I have improved this by using some kind of expression template for
>> this
> (called lazy_output). It works like this:
>
> Hi,
>
> Thanks you very much for the idea. I've implemented it a bit
> differently and
> extended to support manipulators. Also I've integrated it with UTF
> internals a
> bit more. Checked into svn in 47258.
Hi Gennadiy,
Is this change
http://www.boost.org/development/tests/trunk/developer/output/Sandia-
intel-10-0-boost-bin-v2-libs-config-test-limits_test-test-intel-
linux-10-0-debug-link-static.html
related to these problems?
I was gone for a while and didn't notice when these BOOST_CHECK
errors began showing up.
-- Noel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk