increased fast_os size to 192

This commit is contained in:
gabime 2014-03-20 04:20:08 +02:00
parent 4b3e5b3e1a
commit 04549b8784
2 changed files with 5 additions and 5 deletions

View File

@ -29,14 +29,14 @@ int main(int argc, char* argv[])
cout_logger.info() << "Hello cout logger!";
logger my_logger ("my_logger", {null_sink});
auto start = system_clock::now();
std::string s(100, '0');
const unsigned int howmany = 5000000;
auto start = system_clock::now();
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;

View File

@ -71,7 +71,7 @@ protected:
}
private:
//std::string _str;
fast_buf<128> _fastbuf;
fast_buf<192> _fastbuf;
};
class fast_oss:public std::ostream