mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Performance test
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
This commit is contained in:
@@ -206,8 +206,8 @@ Logs::write(
|
||||
std::lock_guard lock(batchMutex_);
|
||||
|
||||
// Console output still immediate for responsiveness
|
||||
if (!silent_)
|
||||
std::cerr << result << '\n';
|
||||
// if (!silent_)
|
||||
// std::cerr << result << '\n';
|
||||
|
||||
size_t logSize = result.size() + 1; // +1 for newline
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user