* (2013) [From the creator of memory_profiler ](http://fa.bianp.net/blog/2013/different-ways-to-get-memory-consumption-or-lessons-learned-from-memory_profiler/), resource is a bit faster than psutil, but possibly less accurate. Spawning `ps` is some orders of magnitude slower.