1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:37:43 +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

@ -145,6 +145,7 @@ set(PTHREAD_DEBUG ON)
set(PTMX_DEBUG ON)
set(REACHABLE_DEBUG ON)
set(REGEX_DEBUG ON)
set(REQUESTSERVER_DEBUG ON)
set(RESIZE_DEBUG ON)
set(RESOURCE_DEBUG ON)
set(ROUTING_DEBUG ON)