Test-MemoryGrowth

 view release on metacpan or  search on metacpan

lib/Test/MemoryGrowth.pm  view on Meta::CPAN


=item burn_in => INT

The number of times to call the code initially, before watching for memory
usage.

=back

=cut

sub no_growth(&@)
{
   my $code = shift;
   my $name; $name = pop if @_ % 2;
   my %args = @_;

   my $tb = __PACKAGE__->builder;

   my $burn_in = $args{burn_in} || 10;
   my $calls   = $args{calls}   || 10_000;



( run in 0.732 second using v1.01-cache-2.11-cpan-49f99fa48dc )