Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
tag namev3.3.2 (20192da44883d602e0365c14b778f47b2deb15aa)
tag date2023-02-27 15:16:12 +0100
tagged byMartin Hořeňovský
tagged objectcommit 3f0283de7a...
downloadcatch3-3.3.2.tar.gz
v3.3.2
=== Improvements === * Further reduced allocations * The compact, console, TAP and XML reporters perform less allocations in various cases * Removed 1 allocation per entered `SECTION`/`TEST_CASE`. * Removed 2 allocations per test case exit, if stdout/stderr is captured * Improved performance * Section tracking is 10%-25% faster than in v3.3.0 * Assertion handling is 5%-10% faster than in v3.3.0 * Test case registration is 1%-2% faster than in v3.3.0 * Tiny speedup for registering listeners * Tiny speedup for `CAPTURE`, `TEST_CASE_METHOD`, `METHOD_AS_TEST_CASE`, and `TEMPLATE_LIST_TEST_*` macros. * `Contains`, `RangeEquals` and `UnorderedRangeEquals` matchers now support ranges with iterator + sentinel pair * Added `IsNaN` matcher * Unlike `REQUIRE(isnan(x))`, `REQUIRE_THAT(x, IsNaN())` shows you the value of `x`. * Suppressed `declared_but_not_referenced` warning for NVHPC (=2637) === Fixes === * Fixed performance regression in section tracking introduced in v3.3.1 * Extreme cases would cause the tracking to run about 4x slower than in 3.3.0 -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE8QyLZSqAHw/oZQgX3kgwe4sNOBoFAmP8u0gACgkQ3kgwe4sN OBo8vQ/8DEZQBc2bA3BCQzBeghJb4Du+nl0FLcDHhNfj3DXJGQ5cKQG75aL/LvBP rMXcU4d0lUIzWa+nFqY7yfLhLC6INT+VPairQA65OGU/myIIZY9a0F6UNt8GJ7QH gQUTnp8ogKkYMlbu4zeDpp7mGBN8DdAd0QFTyBZlFCPVZSAZl/F4qUk7Hu+pzthq b4sZUPXbr0zdrfSv3zPZ1zsRZ4UEDALx8xQLuDsiYP7BcXmcy2MqpHsMB+aiICbs AS5LAvLjhDqZobcnHqiaGN8oZiU7Djqi8Asc/O4zZ4S8G6HZoHBazkf3OdcPqUPo XHR5yvOjFvtytnYGnnOVGvUdUa7YIGlb7pI3VxgezETnmDfDdDXdaidmPdK07cuY UXUX9EYh4xAS6+tEbQpW6S4ksY90oJ5ywXmOXiZqKqZgZnpGzgVf0VafvRtZhWA6 hrVWTZs73kviheJ1jZ5d3tct+mhrjsLB9+1EGFLastGSiDVDPc6F7YYoUncsP9z1 qShtVrIWH64MqX2xI43JYJcOiQtBYPDioiXzQs7/w6/fG7619OtDmkOqdi3MOH2t 89KgE3IvEzE5ySZL0GjtXbowJS4NaT2Qwdxl8MZXjpOQtiBftkt2l+a19DO2VC1E GpW35E9TSoUJZtDyN7IpCFglVBGK6e/UBm66yY5q8295tSgD8F8= =vdwY -----END PGP SIGNATURE-----