Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
lib/Test2/Plugin/ | H | 26-Feb-2020 | - | 124 | 42 | |
t/ | H | 26-Feb-2020 | - | 76 | 59 | |
xt/author/ | H | 26-Feb-2020 | - | 8 | 4 | |
Changes | H A D | 26-Feb-2020 | 265 | 12 | 6 | |
LICENSE | H A D | 26-Feb-2020 | 17.9 KiB | 380 | 292 | |
MANIFEST | H A D | 26-Feb-2020 | 248 | 16 | 15 | |
META.json | H A D | 26-Feb-2020 | 1.4 KiB | 56 | 54 | |
META.yml | H A D | 26-Feb-2020 | 759 | 26 | 25 | |
Makefile.PL | H A D | 26-Feb-2020 | 1.2 KiB | 50 | 39 | |
README | H A D | 26-Feb-2020 | 1.1 KiB | 51 | 28 | |
README.md | H A D | 26-Feb-2020 | 1 KiB | 50 | 28 | |
cpanfile | H A D | 26-Feb-2020 | 340 | 17 | 13 | |
dist.ini | H A D | 26-Feb-2020 | 1.9 KiB | 96 | 79 |
README
1NAME 2 3 Test2::Plugin::MemUsage - Collect and display memory usage information. 4 5CAVEAT - UNIX ONLY 6 7 Currently this only works on unix systems that provide /proc/PID/status 8 access. For all other systems this plugin is essentially a no-op. 9 10DESCRIPTION 11 12 This plugin will collect memory usage info from /proc/PID/status and 13 display it for you when the test is done running. 14 15SYNOPSIS 16 17 use Test2::Plugin::MemUsage; 18 19 This is also useful at the command line for 1-time use: 20 21 $ perl -MTest2::Plugin::MemUsage path/to/test.t 22 23 Output: 24 25 # rss: 36708kB 26 # size: 49836kB 27 # peak: 49836kB 28 29SOURCE 30 31 The source code repository for Test2-Plugin-MemUsage can be found at 32 https://github.com/Test-More/Test2-Plugin-MemUsage/. 33 34MAINTAINERS 35 36 Chad Granum <exodist@cpan.org> 37 38AUTHORS 39 40 Chad Granum <exodist@cpan.org> 41 42COPYRIGHT 43 44 Copyright 2019 Chad Granum <exodist@cpan.org>. 45 46 This program is free software; you can redistribute it and/or modify it 47 under the same terms as Perl itself. 48 49 See http://dev.perl.org/licenses/ 50 51
README.md
1# NAME 2 3Test2::Plugin::MemUsage - Collect and display memory usage information. 4 5# CAVEAT - UNIX ONLY 6 7Currently this only works on unix systems that provide `/proc/PID/status` 8access. For all other systems this plugin is essentially a no-op. 9 10# DESCRIPTION 11 12This plugin will collect memory usage info from `/proc/PID/status` and display 13it for you when the test is done running. 14 15# SYNOPSIS 16 17 use Test2::Plugin::MemUsage; 18 19This is also useful at the command line for 1-time use: 20 21 $ perl -MTest2::Plugin::MemUsage path/to/test.t 22 23Output: 24 25 # rss: 36708kB 26 # size: 49836kB 27 # peak: 49836kB 28 29# SOURCE 30 31The source code repository for Test2-Plugin-MemUsage can be found at 32`https://github.com/Test-More/Test2-Plugin-MemUsage/`. 33 34# MAINTAINERS 35 36- Chad Granum <exodist@cpan.org> 37 38# AUTHORS 39 40- Chad Granum <exodist@cpan.org> 41 42# COPYRIGHT 43 44Copyright 2019 Chad Granum <exodist@cpan.org>. 45 46This program is free software; you can redistribute it and/or 47modify it under the same terms as Perl itself. 48 49See `http://dev.perl.org/licenses/` 50