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

Is it possible to add some sort of "max residency" statistics? #8

Closed
mrkkrp opened this issue Apr 8, 2017 · 1 comment
Closed

Is it possible to add some sort of "max residency" statistics? #8

mrkkrp opened this issue Apr 8, 2017 · 1 comment

Comments

@mrkkrp
Copy link

@mrkkrp mrkkrp commented Apr 8, 2017

As I understand currently the library displays total number of allocated bytes. With streaming approach this number may be misleading, as it may appear as if memory consuption is significant, but max residency could be indeed still low. If we display max residency info along with the info weigh already displays, it may help detect memory leaks perhaps?

chrisdone added a commit that referenced this issue Apr 26, 2017
@chrisdone
Copy link
Member

@chrisdone chrisdone commented Apr 26, 2017

I've implemented this. You can now write:

main =
  mainWith (do setColumns [Case, Allocated, GCs, Max]
            ...

to configure the columns. And the Weight type has weightMaxBytes.

@chrisdone chrisdone closed this Apr 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.