mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
1d1ccf8f3c
Doing some benchmarking with ClangBuildAnalyzer suggests that compiling Catch2's `SelfTest` spends 10% of the time instantiating `std::unique_ptr` for some interface types required for registering and running tests. The lesser compilation overhead of `Catch::Detail::unique_ptr` should significantly reduce that time. The compiled implementation was also changed to use the custom impl, to avoid having to convert between using `std::unique_ptr` and `Catch::Detail::unique_ptr`. This will likely also improve the compile times of the implementation, but that is less important than improving compilation times of the user's TUs with tests. |
||
---|---|---|
.. | ||
000-CatchMain.cpp | ||
010-TestCase.cpp | ||
020-TestCase-1.cpp | ||
020-TestCase-2.cpp | ||
030-Asn-Require-Check.cpp | ||
100-Fix-Section.cpp | ||
110-Fix-ClassFixture.cpp | ||
120-Bdd-ScenarioGivenWhenThen.cpp | ||
210-Evt-EventListeners.cpp | ||
231-Cfg-OutputStreams.cpp | ||
300-Gen-OwnGenerator.cpp | ||
301-Gen-MapTypeConversion.cpp | ||
310-Gen-VariablesInGenerators.cpp | ||
311-Gen-CustomCapture.cpp | ||
CMakeLists.txt |