logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Test2::Plugin::MemUsage - Collect and display memory usage information.

Authors

       Chad Granum <exodist@cpan.org>

Caveat - Unix Only

       Currently this only works on unix systems that provide "/proc/PID/status" access. For all other systems
       this plugin is essentially a no-op.

Description

       This plugin will collect memory usage info from "/proc/PID/status" and display it for you when the test
       is done running.

Maintainers

       Chad Granum <exodist@cpan.org>

Name

       Test2::Plugin::MemUsage - Collect and display memory usage information.

Source

       The source code repository for Test2-Plugin-MemUsage can be found at
       https://github.com/Test-More/Test2-Plugin-MemUsage/.

Synopsis

           use Test2::Plugin::MemUsage;

       This is also useful at the command line for 1-time use:

           $ perl -MTest2::Plugin::MemUsage path/to/test.t

       Output:

           # rss:  36708kB
           # size: 49836kB
           # peak: 49836kB

See Also