Test2::Plugin::MemUsage - Collect and display memory usage information.
Currently this only works on unix systems that provide
/proc/PID/status access. For all other systems this plugin is essentially a no-op.
This plugin will collect memory usage info from
/proc/PID/status and display it for you when the test is done running.
This is also useful at the command line for 1-time use:
$ perl -MTest2::Plugin::MemUsage path/to/test.t
# rss: 36708kB # size: 49836kB # peak: 49836kB
The source code repository for Test2-Plugin-MemUsage can be found at https://github.com/Test-More/Test2-Plugin-MemUsage/.
Copyright 2019 Chad Granum <email@example.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.