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

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/IntrospectiveTests/StringManip.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2026-08-22 19:00:32 +0200
committerMartin Hořeňovský2026-08-22 23:01:51 +0200
commit69da66ee7370d7c249ba6f2a322a78dcdd623761 (patch)
treea688adc0ac208a44dde27da6b2800b439a0f3b88 /tests/SelfTest/IntrospectiveTests/StringManip.tests.cpp
parent45f9ea1e798c2e128dcba53602ccbddfe5676f6f (diff)
downloadcatch3-69da66ee7370d7c249ba6f2a322a78dcdd623761.tar.gz
Don't instantiate the default implementation of benchmarks in every TU
The underlying benchmarking machinery is templated, so that it can use different clock implementations (either for testing, or to support user with platform-specific clocks). However, 99.99% of all users interact with it using the `BENCHMARK` macro, which means that they use it with `std::chrono::steady_clock`. By adding outlined implementation of benchmarking helpers specialized onto `std::chrono::steady_clock`, we save some amount of time per every TU that uses benchmarks.
Diffstat (limited to 'tests/SelfTest/IntrospectiveTests/StringManip.tests.cpp')
0 files changed, 0 insertions, 0 deletions