I want to log (and investigate) slow requests, but I can't find a way to do it. There's an afterRequestHandler, but not a before one, and QHttpServerRequest doesn't seem to have creation timestamp. Am I missing something?
I don't think you missed anything.
One possible I can imagine is to create a wrapper function that you would use in your route that would measure the execution time of the real function that you would have passed to said method.