diff options
| author | Martin Hořeňovský | 2026-09-11 13:13:12 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2026-09-11 13:13:15 +0200 |
| commit | 6534dbc3ef3a162111830d9b5d8a9092d378336d (patch) | |
| tree | 8971c4412b3533c944e7f321cf2a02d0a786b8e4 /tests/ExtraTests/X94-ThreadSafetyTests.cpp | |
| parent | b7f1a83ff0c36990a9840bcb3de56a848d24a893 (diff) | |
| download | catch3-6534dbc3ef3a162111830d9b5d8a9092d378336d.tar.gz | |
catch_discover_tests registers tests with --order decl
Catch2 defaults to random test execution order, which has to process
all tests present in the binary, even if they will be filtered down
to just 1 later. For the `SelfTest` binary, the overhead from this is
about 20% in Debug configuration and 5% in Release.
By registering the CTest tests with `--order decl`, we avoid this
overhead.
Diffstat (limited to 'tests/ExtraTests/X94-ThreadSafetyTests.cpp')
0 files changed, 0 insertions, 0 deletions