Sequoia
Loading...
Searching...
No Matches
TestRunnerPerformanceTest.hpp
Go to the documentation of this file.
1
2// Copyright Oliver J. Rosten 2023. //
3// Distributed under the GNU GENERAL PUBLIC LICENSE, Version 3.0. //
4// (See accompanying file LICENSE.md or copy at //
5// https://www.gnu.org/licenses/gpl-3.0.en.html) //
7
8#pragma once
9
13
14namespace sequoia::testing
15{
17 {
18 public:
19 using performance_test::performance_test;
20
21 [[nodiscard]]
22 std::filesystem::path source_file() const;
23
24 void run_tests();
25 private:
26
27 void test_parallel_acceleration();
28
29 void test_thread_pool_acceleration();
30
31 void test_serial_execution();
32
33 [[nodiscard]]
34 std::filesystem::path fake_project() const;
35
36 [[nodiscard]]
37 std::filesystem::path minimal_fake_path() const;
38
39 std::filesystem::path write(std::string_view dirName, std::stringstream& output) const;
40
41 std::filesystem::path check_output(std::string_view description, std::string_view dirName, std::stringstream& output);
42 };
43}
Extension of the testing framework for perfomance testing.
class template from which all concrete tests should derive
Definition: PerformanceTestCore.hpp:261
Definition: TestRunnerPerformanceTest.hpp:17