mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
increased fast_os size to 192
This commit is contained in:
parent
4b3e5b3e1a
commit
04549b8784
@ -29,14 +29,14 @@ int main(int argc, char* argv[])
|
||||
|
||||
cout_logger.info() << "Hello cout logger!";
|
||||
|
||||
|
||||
logger my_logger ("my_logger", {null_sink});
|
||||
|
||||
std::string s(100, '0');
|
||||
const unsigned int howmany = 5000000;
|
||||
auto start = system_clock::now();
|
||||
|
||||
const unsigned int howmany = 5000000;
|
||||
for(unsigned int i = 0; i < howmany ; i++)
|
||||
my_logger.info() << "Hello logger " << i;
|
||||
my_logger.info() << s;
|
||||
//my_logger.info() << "Hello logger " << i;;
|
||||
|
||||
//async->shutdown(seconds(3));
|
||||
auto delta = system_clock::now() - start;
|
||||
|
@ -71,7 +71,7 @@ protected:
|
||||
}
|
||||
private:
|
||||
//std::string _str;
|
||||
fast_buf<128> _fastbuf;
|
||||
fast_buf<192> _fastbuf;
|
||||
};
|
||||
|
||||
class fast_oss:public std::ostream
|
||||
|
Loading…
Reference in New Issue
Block a user