#include #include #include #include #include #include #include static void BM_ReplacePlaceholders(benchmark::State& state) { for (auto _: state) { Utils::ReplacePlaceholders("One night is %V %U", Utils::MakeArray('V', 'U'), Utils::MakeSvArray("Rest", "Do not Rest")); } } BENCHMARK(BM_ReplacePlaceholders); BENCHMARK_MAIN();