Skip to content

Heap analysis tool#529

Merged
dhalbert merged 4 commits into
adafruit:masterfrom
tannewt:random_heap_stuff
Jan 19, 2018
Merged

Heap analysis tool#529
dhalbert merged 4 commits into
adafruit:masterfrom
tannewt:random_heap_stuff

Conversation

@tannewt
Copy link
Copy Markdown
Member

@tannewt tannewt commented Jan 16, 2018

The main tool is tools/analyze_heap_dump.py tools/analyze_mpy.py is still very coarse but the Preamble stuff is used by the dump tool.

The heap dump tool creates graphs of the heap objects like this:
heap

@tannewt tannewt requested a review from dhalbert January 16, 2018 02:03
@tannewt tannewt added this to the Long term milestone Jan 16, 2018
Copy link
Copy Markdown
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great!

@dhalbert dhalbert merged commit d16af1f into adafruit:master Jan 19, 2018
sommersoft pushed a commit to sommersoft/circuitpython that referenced this pull request Jan 22, 2018
* random heap stuff

* Fix dicts

* Less hand coding. Now reads .map file for memory locations of stuff.

* Display qstr chunk contents.
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.

2 participants