Paquet : libtest-memorygrowth-perl (0.03-1)
Liens pour libtest-memorygrowth-perl
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source libtest-memorygrowth-perl :
- [libtest-memorygrowth-perl_0.03-1.dsc]
- [libtest-memorygrowth-perl_0.03.orig.tar.gz]
- [libtest-memorygrowth-perl_0.03-1.debian.tar.xz]
Responsables :
Ressources externes :
- Page d'accueil [metacpan.org]
Paquets similaires :
module to assert that code does not cause growth in memory usage
Test::MemoryGrowth 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.
Autres paquets associés à libtest-memorygrowth-perl
|
|
|
|
-
- dep: perl
- langage de rapports et d'extractions pratiques de Larry Wall
Télécharger libtest-memorygrowth-perl
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 9,8 ko | 27,0 ko | [liste des fichiers] |