mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
Updated bench of empty logger
This commit is contained in:
parent
52b6be0dfe
commit
ca571e7a7a
@ -65,7 +65,7 @@ int main(int argc, char *argv[])
|
||||
auto daily_st = spdlog::daily_logger_st("daily_st", "logs/daily_st.log");
|
||||
bench(howmany, std::move(daily_st));
|
||||
|
||||
bench(howmany, spdlog::create<null_sink_st>("null_st"));
|
||||
bench(howmany, std::make_shared<spdlog::logger>("empty_logger"));
|
||||
|
||||
spdlog::info("**************************************************************");
|
||||
spdlog::info("C-string (400 bytes). Single thread, {:n} iterations", howmany);
|
||||
|
Loading…
Reference in New Issue
Block a user