about summary refs log tree commit homepage
path: root/t/hl_mod.t
diff options
context:
space:
mode:
Diffstat (limited to 't/hl_mod.t')
-rw-r--r--t/hl_mod.t15
1 files changed, 0 insertions, 15 deletions
diff --git a/t/hl_mod.t b/t/hl_mod.t
index 238f8ec5..f2eb5f91 100644
--- a/t/hl_mod.t
+++ b/t/hl_mod.t
@@ -40,19 +40,4 @@ my $orig = $str;
         }
 }
 
-my $nr = $ENV{TEST_MEMLEAK};
-if ($nr && -r "/proc/$$/status") {
-        my $fh;
-        open $fh, '<', "/proc/$$/status";
-        diag "starting at memtest at ".join('', grep(/VmRSS:/, <$fh>));
-        PublicInbox::HlMod->new->do_hl(\$orig) for (1..$nr);
-        open $fh, '<', "/proc/$$/status";
-        diag "creating $nr instances: ".join('', grep(/VmRSS:/, <$fh>));
-        my $hls = PublicInbox::HlMod->new;
-        $hls->do_hl(\$orig) for (1..$nr);
-        $hls = undef;
-        open $fh, '<', "/proc/$$/status";
-        diag "reused instance $nr times: ".join('', grep(/VmRSS:/, <$fh>));
-}
-
 done_testing;