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
The second case is correct as the first line of sleep executes for an average of 1 second.
The first case is incorrect as the first line of sleep is assumed to execute for an average of 3 seconds.
Ideas:
Use static analysis to somehow detect these cases and distinguish between them
Figure out how pyspy would behave, once intermediate output is available. Maybe it solves this issue for us.
The text was updated successfully, but these errors were encountered:
PyFlame reports one unique stack trace here:
f:1 (3000 ms) -> sleep:1 (3000 ms)
On the other hand:
PyFlame reports three unique stack traces:
f:1 (1000 ms) -> sleep:1 (1000ms)
f:2 (1000 ms) -> sleep:1 (1000ms)
f:3 (1000 ms) -> sleep:1 (1000ms)
The second case is correct as the first line of sleep executes for an average of 1 second.
The first case is incorrect as the first line of sleep is assumed to execute for an average of 3 seconds.
Ideas:
Use static analysis to somehow detect these cases and distinguish between them
Figure out how pyspy would behave, once intermediate output is available. Maybe it solves this issue for us.
The text was updated successfully, but these errors were encountered: