1
Fork 0
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:
Nico Weber 2022-01-21 20:04:58 -05:00 committed by Linus Groh
parent 0e56dac51e
commit 6d532649d4
4 changed files with 12 additions and 6 deletions

View file

@ -346,6 +346,10 @@
#cmakedefine01 REGEX_DEBUG
#endif
#ifndef REQUESTSERVER_DEBUG
#cmakedefine01 REQUESTSERVER_DEBUG
#endif
#ifndef RESIZE_DEBUG
#cmakedefine01 RESIZE_DEBUG
#endif