Auto reformatted the base, ref #470
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
* along with LMS. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <benchmark/benchmark.h>
|
||||
#include <iostream>
|
||||
#include <thread>
|
||||
|
||||
#include <benchmark/benchmark.h>
|
||||
|
||||
#include "core/ILogger.hpp"
|
||||
@@ -59,8 +59,7 @@ namespace lms::core
|
||||
|
||||
static void BM_TraceLogger_Detailed_withArg(benchmark::State& state)
|
||||
{
|
||||
auto someExpensiveArgComputation{ []() -> std::string
|
||||
{
|
||||
auto someExpensiveArgComputation{ []() -> std::string {
|
||||
std::this_thread::sleep_for(std::chrono::microseconds{ 1 });
|
||||
return "foo";
|
||||
} };
|
||||
@@ -77,6 +76,6 @@ namespace lms::core
|
||||
BENCHMARK(BM_TraceLogger_Detailed)->Threads(1)->Threads(std::thread::hardware_concurrency());
|
||||
BENCHMARK(BM_TraceLogger_Detailed_withArg)->Threads(1)->Threads(std::thread::hardware_concurrency());
|
||||
|
||||
}
|
||||
} // namespace lms::core
|
||||
|
||||
BENCHMARK_MAIN();
|
||||
Reference in New Issue
Block a user