Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Test-MemoryGrowth | Distribution: Mageia |
Version: 0.40.0 | Vendor: Mageia.Org |
Release: 2.mga9 | Build date: Mon Mar 21 09:47:31 2022 |
Group: Development/Perl | Build host: localhost |
Size: 42562 | Source RPM: perl-Test-MemoryGrowth-0.40.0-2.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/Test-MemoryGrowth | |
Summary: Assert that code does not cause growth in memory usage |
This module provides a function to check that a given block of code does not result in the process consuming extra memory once it has finished. Despite the name of this module it does not, in the strictest sense of the word, test for a memory leak: that term is specifically applied to cases where memory has been allocated but all record of it has been lost, so it cannot possibly be reclaimed. While the method employed by this module can detect such bugs, it can also detect cases where memory is still referenced and reachable, but the usage has grown more than would be expected or necessary. The block of code will be run a large number of times (by default 10,000), and the difference in memory usage by the process before and after is compared. If the memory usage has now increased by more than one byte per call, then the test fails. In order to give the code a chance to load initial resources it needs, it will be run a few times first (by default 10); giving it a chance to load files, AUTOLOADs, caches, or any other information that it requires. Any extra memory usage here will not count against it.
GPLv1+ or Artistic
* Mon Mar 21 2022 umeabot <umeabot> 0.40.0-2.mga9 + Revision: 1812777 - Mageia 9 Mass Rebuild * Fri Jun 19 2020 tv <tv> 0.40.0-1.mga8 + Revision: 1596601 - update to 0.04 * Thu Jun 11 2020 tv <tv> 0.30.0-1.mga8 + Revision: 1592312 - imported package perl-Test-MemoryGrowth * Thu Jun 11 2020 Thierry Vignaud <tv@mageia.org> 0.30.0-1.mga8 - initial mageia release, generated with cpan2dist
/usr/share/doc/perl-Test-MemoryGrowth /usr/share/doc/perl-Test-MemoryGrowth/Changes /usr/share/doc/perl-Test-MemoryGrowth/LICENSE /usr/share/doc/perl-Test-MemoryGrowth/META.json /usr/share/doc/perl-Test-MemoryGrowth/META.yml /usr/share/doc/perl-Test-MemoryGrowth/MYMETA.yml /usr/share/doc/perl-Test-MemoryGrowth/README /usr/share/man/man3/Test::MemoryGrowth.3pm.xz /usr/share/perl5/vendor_perl/Test /usr/share/perl5/vendor_perl/Test/MemoryGrowth.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Mon Sep 16 10:39:08 2024