全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: libtest-memorygrowth-perl  ]

软件包:libtest-memorygrowth-perl(0.04-1)

libtest-memorygrowth-perl 的相关链接

Screenshot

Debian 的资源:

下载源码包 libtest-memorygrowth-perl

维护小组:

外部的资源:

相似软件包:

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.

其他与 libtest-memorygrowth-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 libtest-memorygrowth-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 11.1 kB29.0 kB [文件列表]