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
I can't investigate why, as I do not have access to the code that does this, only reports.
The only thing I can suggest is to elide in the middle and re-root PyinstrumentMagic.pyinstrument to be a direct child of the main thread, or if there another option to hide frames globally instead of fixing every renderers ?
Alternatively if you have any idea why the Mainthread registers more time...
The text was updated successfully, but these errors were encountered:
my guess is that there's a frame somewhere that has been removed by a processor. Can you print the profile with show_all=True? e.g. ConsoleRenderer(show_all=True).render(session)
Carreau
added a commit
to Carreau/pyinstrument
that referenced
this issue
Jul 29, 2024
This should help with joerick#313
In most case it should have no effects as anyway all the root of the
tree is removed as there is no time spent in it. Though with some
compiled code and threads, some time may be affected to the root.
This should help with joerick#313
In most case it should have no effects as anyway all the root of the
tree is removed as there is no time spent in it. Though with some
compiled code and threads, some time may be affected to the root.
Mostly this create deep hard to read report as
def _trim_stem
trimms nothing:I can't investigate why, as I do not have access to the code that does this, only reports.
The only thing I can suggest is to elide in the middle and re-root PyinstrumentMagic.pyinstrument to be a direct child of the main thread, or if there another option to hide frames globally instead of fixing every renderers ?
Alternatively if you have any idea why the Mainthread registers more time...
The text was updated successfully, but these errors were encountered: