spdlog
Loading...
Searching...
No Matches
Functions
latency.cpp File Reference

Go to the source code of this file.

#include "benchmark/benchmark.h"
#include "spdlog/spdlog.h"
#include "spdlog/async.h"
#include "spdlog/sinks/basic_file_sink.h"
#include "spdlog/sinks/daily_file_sink.h"
#include "spdlog/sinks/null_sink.h"
#include "spdlog/sinks/rotating_file_sink.h"

Functions

void bench_c_string (benchmark::State &state, std::shared_ptr< spdlog::logger > logger)
 
void bench_logger (benchmark::State &state, std::shared_ptr< spdlog::logger > logger)
 
void bench_logger_fmt_string (benchmark::State &state, std::shared_ptr< spdlog::logger > logger)
 
void bench_disabled_macro (benchmark::State &state, std::shared_ptr< spdlog::logger > logger)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ bench_c_string()

void bench_c_string ( benchmark::State &  state,
std::shared_ptr< spdlog::logger logger 
)

Definition at line 19 of file latency.cpp.

◆ bench_disabled_macro()

void bench_disabled_macro ( benchmark::State &  state,
std::shared_ptr< spdlog::logger logger 
)

Definition at line 52 of file latency.cpp.

◆ bench_logger()

void bench_logger ( benchmark::State &  state,
std::shared_ptr< spdlog::logger logger 
)

Definition at line 33 of file latency.cpp.

◆ bench_logger_fmt_string()

void bench_logger_fmt_string ( benchmark::State &  state,
std::shared_ptr< spdlog::logger logger 
)

Definition at line 42 of file latency.cpp.

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 77 of file latency.cpp.