Add memory counter profiling
We want to have some way to make memory usage visible in GJS applications (and particularly gnome-shell). I have an experimental branch that adds a
System.memoryInfo() API which gnome-shell could consume, and an experimental branch of gnome-shell to make it visible in Looking Glass. However, @feaneron's idea was to use
sysprof_capture_writer_set_counters() and thereby remove the need to incorporate some sort of graphing; we can just use Sysprof for visualization. That also makes it unnecessary to settle on a
System.memoryInfo() API that we have to stick to.
- the about:memory page in Firefox
- the Task Manager in Chrome