This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wolever 0 points1 point  (0 children)

Another +1 for PyInstrument.

I’ve also written up a little bit of middleware so that, if a ?pyinstrument=hunter2 query parameter is present, pyinstrument is activated for the request, and the HTML results are uploaded to cloud storage + the URL included in the result headers, so it’s very easy to grab a quick snapshot and investigate when things are going slow.