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

Allow converting an ALL_ALLOCATIONS capture file to AGGREGATED_ALLOCATIONS #305

Open
godlygeek opened this issue Jan 19, 2023 · 0 comments

Comments

@godlygeek
Copy link
Contributor

Allow converting a capture file containing information about every allocation to one that contains only information about high water mark and leaked allocations. This could drastically shrink the file, at the cost of throwing away lots of (seldom used) information. (It's also quite useful for convincing yourself that the ALL_ALLOCATIONS format is correct 😅)

https://github.com/godlygeek/memray/tree/transform_to_aggregated contains a working implementation of this, but it's a tough sell architecturally, as it duplicates some code and couples the reader to the writer.

We'll need to decide whether we want this feature enough to justify cleaning it up and implementing it in an architecturally justifiable way.

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

1 participant