Re: proposed memory size test method

2005-09-12 Thread Stas Bekman
Jim Brandt wrote: [...] OK. I may need some help here, but I'll give it a shot. You can count on that, Jim. For the next step, should I take a shot at a version of Apache::TestMemoryLeak? +1 -- __ Stas BekmanJAm_p

Re: proposed memory size test method

2005-09-12 Thread Jim Brandt
On Sep 9, 2005, at 1:12 PM, Stas Bekman wrote: Jim Brandt wrote: On 8/30/05 1:05 PM, "Stas Bekman" <[EMAIL PROTECTED]> wrote: Jim Brandt wrote: The reason I recently ended up diving down the rabbit hole of the same_interp_tie method was actually that I was working on writing a helper met

Re: proposed memory size test method

2005-09-08 Thread Jim Brandt
On 8/30/05 1:05 PM, "Stas Bekman" <[EMAIL PROTECTED]> wrote: > Jim Brandt wrote: >> The reason I recently ended up diving down the rabbit hole of the >> same_interp_tie method was actually that I was working on writing a >> helper method to watch memory size on a mod_perl process. My >> methodolog

Re: proposed memory size test method

2005-08-30 Thread Jim Brandt
Here's a copy of my initial test script. I thought it might illustrate how I envisioned it being used. - use strict; use warnings; use Apache::Test qw(-withtestmore); use Apache::TestUtil; require 't/test_funcs.pl'; plan( tests => 12, need_module('mod_perl') ); #

Re: proposed memory size test method

2005-08-30 Thread Jim Brandt
On Aug 30, 2005, at 12:45 PM, William McKee wrote: On Tue, Aug 30, 2005 at 10:46:38AM -0400, Jim Brandt wrote: I'd be interested in any feedback on what I've got so far. I was also thinking it might fit nicely in Apache::TestUtil? It looks useful, Jim. I could see where it may be helpful i

Re: proposed memory size test method

2005-08-30 Thread Stas Bekman
Jim Brandt wrote: The reason I recently ended up diving down the rabbit hole of the same_interp_tie method was actually that I was working on writing a helper method to watch memory size on a mod_perl process. My methodology was simply a brute force series of requests with a memory check b

Re: proposed memory size test method

2005-08-30 Thread William McKee
On Tue, Aug 30, 2005 at 10:46:38AM -0400, Jim Brandt wrote: > I'd be interested in any feedback on what I've got so far. I was also > thinking it might fit nicely in Apache::TestUtil? It looks useful, Jim. I could see where it may be helpful in figuring out which modules to preload in start.pl s

proposed memory size test method

2005-08-30 Thread Jim Brandt
The reason I recently ended up diving down the rabbit hole of the same_interp_tie method was actually that I was working on writing a helper method to watch memory size on a mod_perl process. My methodology was simply a brute force series of requests with a memory check before and after.