Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How to use (interpret results from) Test::LeakTrace?

by Anonymous Monk
on Dec 12, 2024 at 09:04 UTC ( [id://11163150]=note: print w/replies, xml ) Need Help??


in reply to How to use (interpret results from) Test::LeakTrace?

And yet, "-6" is what the "no_leaks_ok" reports as result <= 0 i.e. the conclusion is drawn there are no leaks. But what are the ones on subsequent calls?

use strict; use warnings; use feature 'say'; use Test::LeakTrace; use Text::CSV_XS 'csv'; say leaked_count { my $ret = csv( in => \'1,2' ); } for 1 .. 12; __END__ 25 -6 1 1 1 1 1 1 1 1 1 1

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11163150]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2025-01-21 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (61 votes). Check out past polls.