We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如题,实测发现,单单输出这句write代码就会耗时16ms甚至64ms,不稳定出现,但是频率不低
if self.usedSize > self.maxSize then self.file:write('[REACH MAX SIZE]!') self.file:close() self.file = nil else self.file:write(fullMessage) end
The text was updated successfully, but these errors were encountered:
这个日志系统的是同步的,write 的时候会有IO开销。以后想办法改成异步的。
write
Sorry, something went wrong.
No branches or pull requests
如题,实测发现,单单输出这句write代码就会耗时16ms甚至64ms,不稳定出现,但是频率不低
The text was updated successfully, but these errors were encountered: