Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extremely large call graph not able to load in chrome/firefox #177

Open
zeryl opened this issue Oct 21, 2021 · 1 comment
Open

Extremely large call graph not able to load in chrome/firefox #177

zeryl opened this issue Oct 21, 2021 · 1 comment

Comments

@zeryl
Copy link

zeryl commented Oct 21, 2021

Howdy! I have a VERY large call graph (likely bad code, recurrsion, etc), but have no way to view it. It's something like 92GB gzipped.

Is there anything that can be done, whether a C program, parsing, etc, to get even a CLI level profile out of this, so I can get something to see what's going on?

@dochne
Copy link
Contributor

dochne commented Nov 5, 2021

If you've got a dump that is that kind of size, you probably want to rerun it with SPX_SAMPLING_PERIOD set to something reasonably high.

That should dramatically reduce the size of the file you're generating and give you a chance of getting the first optimisations done.

The alternative is to potentially use the spx_profiler_start() functions to profile a subset of your script rather than trying to view it all at once.

In fact, you probably want to make use of both of these simultaneously if you've ended up with a that kind of behemoth 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants