<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/benchmark, branch v2.12.1</title>
<subtitle>Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.</subtitle>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/'/>
<entry>
<title>include &lt;iterator&gt; in catch_stats.hpp</title>
<updated>2020-02-24T18:36:34+00:00</updated>
<author>
<name>khyperia</name>
</author>
<published>2020-02-24T11:21:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=87b5bf77bc98030bdbca52bff65ee24fc6483d3b'/>
<id>87b5bf77bc98030bdbca52bff65ee24fc6483d3b</id>
<content type='text'>
needed for std::back_inserter on some platforms
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
needed for std::back_inserter on some platforms
</pre>
</div>
</content>
</entry>
<entry>
<title>Make CATCH_BREAK_INTO_DEBUGGER be user-configurable</title>
<updated>2020-02-01T16:01:50+00:00</updated>
<author>
<name>khyperia</name>
</author>
<published>2020-01-27T14:43:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ccb1f70629e8952c4b92d77535f79ad6c7055d23'/>
<id>ccb1f70629e8952c4b92d77535f79ad6c7055d23</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added &lt;random&gt; include for std::uniform_int_distribution</title>
<updated>2020-01-14T11:48:09+00:00</updated>
<author>
<name>Matthias Moulin</name>
</author>
<published>2020-01-14T11:48:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=4ea74ff9662177987606791b0a0391210b214848'/>
<id>4ea74ff9662177987606791b0a0391210b214848</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide const overload of ObjectStorage::stored_object()</title>
<updated>2019-12-23T20:22:32+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-12-23T20:22:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e4004e0adb77d897fa4b1446a7f3d3c6bce2016f'/>
<id>e4004e0adb77d897fa4b1446a7f3d3c6bce2016f</id>
<content type='text'>
Fixes #1820
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1820
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix wrong namespacing of benchmarking constructor helpers</title>
<updated>2019-11-21T15:22:04+00:00</updated>
<author>
<name>Joe Burzinski</name>
</author>
<published>2019-11-19T04:22:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=cfba9dce97e8b15f84d4ff329cc065abccf1cea1'/>
<id>cfba9dce97e8b15f84d4ff329cc065abccf1cea1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure the full benchmarking support is present in the single header</title>
<updated>2019-11-15T10:59:43+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-11-15T10:54:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f23f96883a59979e693852ffa9f180eccdd09862'/>
<id>f23f96883a59979e693852ffa9f180eccdd09862</id>
<content type='text'>
Fixes #1800
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1800
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix error when period of steady_clock is not nano</title>
<updated>2019-11-01T20:52:38+00:00</updated>
<author>
<name>cericks0n</name>
</author>
<published>2019-11-01T20:52:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=fa6d52e2a344bb7be7ab03b38ffb3c193be3a84e'/>
<id>fa6d52e2a344bb7be7ab03b38ffb3c193be3a84e</id>
<content type='text'>
On systems where std::chrono::steady_clock::period is not std::nano, benchmark tests fail to compile due to trying to convert analysis.samples from a vector of duration&lt;double, clock::period&gt; to a vector of std::chrono::duration&lt;double, std::nano&gt;.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On systems where std::chrono::steady_clock::period is not std::nano, benchmark tests fail to compile due to trying to convert analysis.samples from a vector of duration&lt;double, clock::period&gt; to a vector of std::chrono::duration&lt;double, std::nano&gt;.</pre>
</div>
</content>
</entry>
<entry>
<title>Rework how warning suppression in macros is done</title>
<updated>2019-10-27T20:07:21+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-10-27T20:07:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=849f2848bdf625a7b6248e4e62ba0e39ee609634'/>
<id>849f2848bdf625a7b6248e4e62ba0e39ee609634</id>
<content type='text'>
Previously, each warning suppression was self-contained, with its
own pair of `SUPPRESS_X_WARNING` and `UNSUPPRESS_X_WARNING` macros.
This had the obvious advantage of being self-containing, but it
also meant that if we needed to suppress more than one warning
in a single place, then we would manipulate the compiler's warning
state multiple times, even though logically we would only need one
layer.

The new way of suppressing warnings in macros is to push compiler's
warning state with `CATCH_INTERNAL_START_WARNINGS_SUPPRESSION` macro,
then disable whatever macros we need with the
`CATCH_INTERNAL_SUPPRESS_X_WARNINGS` macro, and then return to the
previous state using `CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, each warning suppression was self-contained, with its
own pair of `SUPPRESS_X_WARNING` and `UNSUPPRESS_X_WARNING` macros.
This had the obvious advantage of being self-containing, but it
also meant that if we needed to suppress more than one warning
in a single place, then we would manipulate the compiler's warning
state multiple times, even though logically we would only need one
layer.

The new way of suppressing warnings in macros is to push compiler's
warning state with `CATCH_INTERNAL_START_WARNINGS_SUPPRESSION` macro,
then disable whatever macros we need with the
`CATCH_INTERNAL_SUPPRESS_X_WARNINGS` macro, and then return to the
previous state using `CATCH_INTERNAL_STOP_WARNINGS_SUPPRESSION`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Standardize and document the parallel processing toggle</title>
<updated>2019-06-15T10:50:36+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-06-15T10:50:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=c365ac392b3b4edf1cb232407111902146249404'/>
<id>c365ac392b3b4edf1cb232407111902146249404</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move the async-using parts of benchmarking into a .cpp file</title>
<updated>2019-06-15T09:43:25+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2019-06-15T09:14:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e640c3837aaf3d627f8f77998cf3cd142ee139fa'/>
<id>e640c3837aaf3d627f8f77998cf3cd142ee139fa</id>
<content type='text'>
This keeps it out of the main include path when benchmarking is
enabled, somewhat reducing the compilation-time penalty.

Also moved some other functions into the .cpp file, especially
helpers that could be given internal linkage, and concretized some
iterator-templated code that only ever used
`std::vector&lt;double&gt;::iterator`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This keeps it out of the main include path when benchmarking is
enabled, somewhat reducing the compilation-time penalty.

Also moved some other functions into the .cpp file, especially
helpers that could be given internal linkage, and concretized some
iterator-templated code that only ever used
`std::vector&lt;double&gt;::iterator`.
</pre>
</div>
</content>
</entry>
</feed>
