-
Notifications
You must be signed in to change notification settings - Fork 86
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
Heap profiling tools #3471
Heap profiling tools #3471
Conversation
a9d3718
to
b4dbbec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! I made a few minor requests based on the fact that we'll probably need to, at some point, maintain/explain this code you wrote :)
Thanks! Especially happy to see the nothunks check in here.
FYI @EncodePanda I approved this. Review soon if you have any objections :D |
In the end these were not needed, but they are simple and expand the capabilities there.
70165d1
to
a9e672e
Compare
Example usage: ``` cabal run db-analyser -- \ --db ~/topos/iohk/cardano-node/state-node-mainnet/db-mainnet/ \ --minimum-block-validation cardano \ --configByron ~/Downloads/mainnet-byron-genesis.json \ --configShelley ~/Downloads/mainnet-shelley-genesis.json \ --configAlonzo ~/Downloads/mainnet-alonzo-genesis.json \ --checkThunks 10000 ```
Adds a mode to the db-analyser (`--trace-lgr`) which maintains a ledger state and inserts appropriate markers into the event log at points during the epoch. At the moment only the epoch boundary is marked.
a9e672e
to
fadec1a
Compare
bors merge |
Build succeeded: |
Some additions to db-analyser to deal with heap profiling