RafaGago / mini-async-log

Non bloated asynchronous logger
Other
221 stars 20 forks source link

Updated the benchmark for better spdlog results #1

Closed gabime closed 9 years ago

gabime commented 9 years ago

Hi, I added the following for better spdlog results:

  1. spdlog async works best when max queue size is not so big.
  2. Added spdlog sync test (which is faster than async - as async mode is still work in progress)

Anyway, it is good stuff. Going to borrow ideas (and maybe code if ok :) for future spdlog async improvments..

Would be nice if you rerun and publish new results

RafaGago commented 9 years ago

I did measure in my machine and I got the next results, they are actually worse:

async 1->4.96s, 2->5.79s, 4->9.08s, 8->11.4s sync 1->4.06s, 2->5.37s, 4->9.23s, 8->11.6s

I don't know what's happening.