> On Tue, Jun 16, 2015 at 2:48 PM, Roberto De Ioris <[email protected]>
> wrote:
>
>>
>> unfortunately when you know that request is "slow" its to late to
>> enable/disable the profiler.
>>
>
> Right :)
>
> What about a traceback?
>

again the infos are lost, a traceback inspects the currently running
frames, and when the request ends the stack is basically empty.

You could store every profiler output in a list, and print it only if the
request has been "slow"

-- 
Roberto De Ioris
http://unbit.com
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to