mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:27:35 +00:00
RequestServer+AK: Move happy-path logging behind REQUESTSERVER_DEBUG
vdbgln() was responsible for ~10% of samples on pv's flamegraph for RequestServer (under request_did_finish) when loading github.com in Browser and recording a whole-system profile. This makes that almost completely disappear.
This commit is contained in:
parent
0e56dac51e
commit
6d532649d4
4 changed files with 12 additions and 6 deletions
|
@ -346,6 +346,10 @@
|
|||
#cmakedefine01 REGEX_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef REQUESTSERVER_DEBUG
|
||||
#cmakedefine01 REQUESTSERVER_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef RESIZE_DEBUG
|
||||
#cmakedefine01 RESIZE_DEBUG
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue