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

[Speedscope] Remove col field #690

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndrewNolte
Copy link

I noticed the generated json has a lot of col: null, and that py-spy doesn't ever write this. This field isn't needed in the output, so this can reduce the file size.

I'm open to suggestions on whether the commented out code should be there, I think it's useful to know that this field does exist. If the col is optionally written in the future, we can add #[serde(skip_serializing_if = "Option::is_none")] to it, but adding that now introduces an unnecessary branch.

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

Successfully merging this pull request may close these issues.

1 participant