mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 05:52:53 +00:00
Kernel: Put loopback adapter debug spam behind a flag
This significantly increases loopback adapter speed in normal use.
This commit is contained in:
parent
0184fc5e43
commit
586b47cede
Notes:
sideshowbarker
2024-07-17 07:38:17 +09:00
Author: https://github.com/tcl3
Commit: 586b47cede
Pull-request: https://github.com/SerenityOS/serenity/pull/19435
3 changed files with 6 additions and 1 deletions
|
@ -30,7 +30,7 @@ LoopbackAdapter::~LoopbackAdapter() = default;
|
|||
|
||||
void LoopbackAdapter::send_raw(ReadonlyBytes payload)
|
||||
{
|
||||
dbgln("LoopbackAdapter: Sending {} byte(s) to myself.", payload.size());
|
||||
dbgln_if(LOOPBACK_DEBUG, "LoopbackAdapter: Sending {} byte(s) to myself.", payload.size());
|
||||
did_receive(payload);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue