<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/src/catch2/benchmark, branch v3.0.0-preview4</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>Sweep out some Wsign-conversion warnings</title>
<updated>2021-11-23T22:16:08+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-11-20T22:40:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=8cb8f0b08b0ec35edd346df999f3b854ad05aa41'/>
<id>8cb8f0b08b0ec35edd346df999f3b854ad05aa41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing include to benchmark/catch_execution_plan.hpp</title>
<updated>2021-08-26T18:19:25+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-08-26T18:19:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=54edab53bf38260a60e42e6faf73ce15b7224fe0'/>
<id>54edab53bf38260a60e42e6faf73ce15b7224fe0</id>
<content type='text'>
Fixes #2275
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2275
</pre>
</div>
</content>
</entry>
<entry>
<title>Change callable/model::clone to return a unique_ptr</title>
<updated>2021-08-21T19:00:00+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-08-21T19:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=928ecbaccf7f4ae8dfae2c1a649e2ee461bcb450'/>
<id>928ecbaccf7f4ae8dfae2c1a649e2ee461bcb450</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Sweep out unused &lt;utility&gt; includes</title>
<updated>2021-08-19T19:44:17+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-08-19T19:44:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7f3297f7e81c4d96329f56e13e56cb18c58522d3'/>
<id>7f3297f7e81c4d96329f56e13e56cb18c58522d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prefer _t over ::type form for std type traits</title>
<updated>2021-08-18T22:21:13+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-08-16T15:01:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=edad4d0af7a91693448bbf884236ea6ff2a4bd15'/>
<id>edad4d0af7a91693448bbf884236ea6ff2a4bd15</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace uses of std::move and std::forward with macros</title>
<updated>2021-08-16T14:22:19+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-08-13T12:16:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d2ee7100d26128b3956571cc802f3a52c9b9aea8'/>
<id>d2ee7100d26128b3956571cc802f3a52c9b9aea8</id>
<content type='text'>
This improves the SelfTest build times by about 3% (measured
with Clang 10 on random Linux box I had lying around).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This improves the SelfTest build times by about 3% (measured
with Clang 10 on random Linux box I had lying around).
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove superfluous catch_enforce include from complete_invoke</title>
<updated>2021-08-11T20:52:04+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-08-09T22:38:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=2b54f1e7a63f80098f354b6ff186f47a8e6da6fa'/>
<id>2b54f1e7a63f80098f354b6ff186f47a8e6da6fa</id>
<content type='text'>
Also added missing transitive include to `catch_benchmark.hpp`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also added missing transitive include to `catch_benchmark.hpp`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use unique_ptr to hold Environment measurements in benchmarking</title>
<updated>2021-08-11T20:52:01+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-08-09T22:33:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=2c84854b90f626032c47c88d1bbbc8af2b5bdab4'/>
<id>2c84854b90f626032c47c88d1bbbc8af2b5bdab4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix inconsistencies in reporting benchmarking failures</title>
<updated>2021-08-07T13:16:11+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-06-09T18:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=0a3f511cfed071c9c4ad512341ae7569383922b7'/>
<id>0a3f511cfed071c9c4ad512341ae7569383922b7</id>
<content type='text'>
With these changes, all these benchmarks
```cpp
BENCHMARK("Empty benchmark") {};
BENCHMARK("Throwing benchmark") {
    throw "just a plain literal, bleh";
};
BENCHMARK("Asserting benchmark") {
    REQUIRE(1 == 2);
};
BENCHMARK("FAIL'd benchmark") {
    FAIL("This benchmark only fails, nothing else");
};
```

report the respective failure and mark the outer `TEST_CASE` as
failed. Previously, the first two would not fail the `TEST_CASE`,
and the latter two would break xml reporter's formatting, because
`benchmarkFailed`, `benchmarkEnded` etc would not be be called
properly in failure cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With these changes, all these benchmarks
```cpp
BENCHMARK("Empty benchmark") {};
BENCHMARK("Throwing benchmark") {
    throw "just a plain literal, bleh";
};
BENCHMARK("Asserting benchmark") {
    REQUIRE(1 == 2);
};
BENCHMARK("FAIL'd benchmark") {
    FAIL("This benchmark only fails, nothing else");
};
```

report the respective failure and mark the outer `TEST_CASE` as
failed. Previously, the first two would not fail the `TEST_CASE`,
and the latter two would break xml reporter's formatting, because
`benchmarkFailed`, `benchmarkEnded` etc would not be be called
properly in failure cases.
</pre>
</div>
</content>
</entry>
<entry>
<title>Better arg name for run_for_at_least</title>
<updated>2021-08-05T22:55:31+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2021-08-03T14:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=77df08b44d3527e472048b8fdac98ea82c343fbf'/>
<id>77df08b44d3527e472048b8fdac98ea82c343fbf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
