mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 09:31:34 +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