Performance test

Signed-off-by: JCW <a1q123456@users.noreply.github.com>
This commit is contained in:
JCW
2025-09-11 07:59:17 +01:00
parent 294dae5766
commit a4498f084e

View File

@@ -203,7 +203,7 @@ Logs::write(
// Add to batch buffer for file output
{
std::lock_guard lock(batchMutex_);
// std::lock_guard lock(batchMutex_);
// Console output still immediate for responsiveness
// if (!silent_)
@@ -218,7 +218,7 @@ Logs::write(
}
// Copy log into write buffer
// std::copy(result.begin(), result.end(), writeBuffer_.begin());
std::copy(result.begin(), result.end(), writeBuffer_.begin());
writeBuffer_[result.size()] = '\n';
return;