catch2/tests/SelfTest/IntrospectiveTests
Martin Hořeňovský 43f02027e4
Avoid allocations when looking for trackers
Now we delay allocating owning `NameAndLocation` instances until
we construct a new tracker (because a tracker's lifetime can be
significantly different from the underlying tracked-thing's name).

This saves 4239 allocations (436948 -> 432709) when running
`./tests/SelfTest -o /dev/null`, at some cost to code clarity
due to introducing a new ref type, `NameAndLocationRef`.
2023-01-29 10:14:20 +01:00
..
Clara.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
CmdLine.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
CmdLineHelpers.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
ColourImpl.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Details.tests.cpp Decomposer checks for 0 when assuming an int arg was 0 literal 2022-11-05 20:43:52 +01:00
FloatingPoint.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
GeneratorsImpl.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
InternalBenchmark.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Parse.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
PartTracker.tests.cpp Avoid allocations when looking for trackers 2023-01-29 10:14:20 +01:00
RandomNumberGeneration.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Reporters.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Sharding.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Stream.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
String.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
StringManip.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Tag.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
TestCaseInfoHasher.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
TestSpec.tests.cpp Split out parseTestSpec into test-only helpers 2022-10-28 13:27:46 +02:00
TestSpecParser.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
TextFlow.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
ToString.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Traits.tests.cpp Support decomposing types that only compare with literal 0 2022-11-04 19:24:44 +01:00
UniquePtr.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00
Xml.tests.cpp Fix references to license file 2022-10-28 11:30:15 +02:00