You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like there's a bug here, it's caused by a profile that has zero duration. The simplest fix would be to add a special case to frame_proportion_of_total_time to just return 1 if self.root_frame.time is zero. If you have time to submit a PR, that would be appriciated!
Hi I use this middleware for my fastapi app
However, I get this error when testing an endpoint. The error only happens for this endpoint, and I don't understand why
pyinstrument: 4.6.2
python: 3.10
fastapi: 0.95.1
Thanks in advance for your help
The text was updated successfully, but these errors were encountered: