Files
Catch2/src/catch2
Martin Hořeňovský 715558fd97 Use the fast path for passing assertions in RunContext::handleNonExpr
`handleNonExpr` is responsible for handling assertions that do not
result in a decomposable expression, e.g. `REQUIRE_THROWS`, or
`REQUIRE_NOTHROW`.

Running benchmark on these two macros specifically, with
`REQUIRE_THROWS([](){ throw 1; }())`, and `REQUIRE_NOTHROW([](){}())`,
we get these speedups:

|         |  Debug | Release |
|---------|--------|---------|
| THROWS  |  3.69x |   2.10x |
| NOTHROW |  1.18x |   1.05x |

Obviously the actual performance improvement is dependent on
how expensive the expression under test is.
2025-07-20 21:01:10 +02:00
..
2025-04-27 21:14:04 -06:00
2025-04-29 13:15:34 +02:00
2023-05-12 09:51:13 +02:00
2022-10-28 11:30:15 +02:00
2025-04-27 11:08:41 -06:00
2025-04-27 21:14:04 -06:00
2025-04-08 12:40:18 -06:00
2025-04-08 12:40:18 -06:00