Simple metrics
Restore the original SimpleMetrics.cs from feature/PerformanceTracking and expand on it with additional features.
I found these tools to be useful in determining where to find and squish memory leak bugs.
Note, HeapSnapshotCollector won't be found within the BPF code. It turns out there's a version of UnityHeapCrawler (found here: https://github.com/vasyab/UnityHeapCrawler/) baked into the BT release binaries, so that is what gets used.
I really like the ideas of all your changes so far, is there a dll I and the RogueTech crew can just download for testing?
https://drive.google.com/file/d/1UfRTno_pqGdCGdZKncNxNtLqACt1pzGr/view?usp=sharing
After renaming, you should be able to just drop-in replace it for the main .dll
To enable set "SimpleMetrics" = true, in your settings.json
Ctrl+Shift+M to dump message subscriptions to the log file Ctrl+Shift+D to dump memory info into a snapshot-[timestamp] directory in your BT directory. NOTE: memory dump can cause instability & crashes post-dump, haven't pinned down exact reason yet