1Test2::Plugin::MemUsageU(s3e)r Contributed Perl DocumentaTteisotn2::Plugin::MemUsage(3)
2
3
4

NAME

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

CAVEAT - UNIX ONLY

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

DESCRIPTION

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

SYNOPSIS

18           use Test2::Plugin::MemUsage;
19
20       This is also useful at the command line for 1-time use:
21
22           $ perl -MTest2::Plugin::MemUsage path/to/test.t
23
24       Output:
25
26           # rss:  36708kB
27           # size: 49836kB
28           # peak: 49836kB
29

SOURCE

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

MAINTAINERS

35       Chad Granum <exodist@cpan.org>
36

AUTHORS

38       Chad Granum <exodist@cpan.org>
39
41       Copyright 2019 Chad Granum <exodist@cpan.org>.
42
43       This program is free software; you can redistribute it and/or modify it
44       under the same terms as Perl itself.
45
46       See http://dev.perl.org/licenses/
47
48
49
50perl v5.32.0                      2020-07-28        Test2::Plugin::MemUsage(3)
Impressum