SergiusTheBest / plog

Portable, simple and extensible C++ logging library
MIT License
2.19k stars 385 forks source link

Readme typo? #242

Closed aisnote closed 1 year ago

aisnote commented 1 year ago

From the readme:

Assume 20 microsec per a log call then 500 log calls per a second will slow down an application by 1%. It is acceptable for most use cases.

SergiusTheBest commented 1 year ago

What do you find wrong there?

aisnote commented 1 year ago

I dont understand how come out: 500 log calls per a sencod to slow down 1%

500 * 20 microsec = 10,000 millisec

SergiusTheBest commented 1 year ago

500 * 20 microsec = 10,000 microsec = 10 millisec

SergiusTheBest commented 1 year ago

1 sec = 1000 millisec, 10 / 1000 = 0.01 = 1%

SergiusTheBest commented 1 year ago

I hope now everything is clear so I'm closing the issue.

aisnote commented 1 year ago

thanks