Background context:go/memory-infra: memory profiling in chrome://tracing
This emerged during trim convergence. We should have a mode in memory-infra where dumps are triggered on a peak.
The idea is to do something like this:
After each messageloop task ends, cheaply measure the RSS and if it increased by X%, trigger a dump. This will be useful for benchmarking peak memory usage.
Comment 1 by ericrk@chromium.org
, May 4 2016