Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1560: Performance testing with boost::test
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-23 09:00:20
#1560: Performance testing with boost::test
----------------------------------------------+-----------------------------
Reporter: John Pavel <jrp_at_[hidden]> | Owner: rogeeff
Type: Feature Requests | Status: reopened
Milestone: To Be Determined | Component: test
Version: Boost Development Trunk | Severity: Optimization
Resolution: | Keywords:
----------------------------------------------+-----------------------------
Comment (by jrp at dial dot pipex dot com):
Thanks. Yes. It's a matter of resource. I wanted to spend time testing
different approaches and algorithms rather than building a complete
performance testing framework, particularly as I also want to test
correctness.
This library seems to do a good deal of the job very well, but some
enhancements along the lines described above -- particularly reporting
results -- would help.
The Musser, Derge Saini STL bool (Chapter 19) provides a class for timing
generic algorithms that has many of the features that I describe above. I
don't know how easy it would be to build something like it into
Boost.Test.
BTW, it would also be useful to have macros for the looser form of
closeness testing to avoid warnings like
./perftest.cpp(773): error in "convolve_r2c_vector_in_place": difference
between
x[j]/nSamples{2.76119927e-008} and yout(j){0} exceeds 1%
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1560#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC