pyinstrument icon indicating copy to clipboard operation
pyinstrument copied to clipboard

Larger HTML files not loading in any browser

Open jonathanking-absci opened this issue 1 year ago • 2 comments

Hi,

Thanks for providing and supporting this great tool. I really enjoy the HTML feature. However, it seems like if the file gets too large or complex, it just won't load in any HTML viewer (vscode, Chrome, Safari) I have locally. For instance, turning on --show-all will prevent me from loading the resulting HTML file. Any ideas on how to circumvent this issue? Is it just an issue with my browsers, or is the a limitation or existing issue with the renderer for large reports? I have plenty of RAM available, and the pages won't load even after remaining open for some time.

Thanks for the help!

jonathanking-absci avatar Jun 05 '24 16:06 jonathanking-absci

Any chance you can share the file that wouldn't load? It might be too large, or maybe the stack trace is too deep.

joerick avatar Aug 25 '24 11:08 joerick

Sorry, in this instance I'm not able to. I was using beartyping, and I think that may have affected the depth of the stack trace greatly. Thanks for pointing that out.

jonathanking-absci avatar Aug 30 '24 17:08 jonathanking-absci