http://www.perlmonks.org?node_id=466667


in reply to Re: Benchmarking with Memory Profiling
in thread Benchmarking with Memory Profiling

valgrind (http://valgrind.org) may be of use.