You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by "Philippe M. Chiasson" <go...@ectoplasm.org> on 2004/09/16 20:54:50 UTC
[Patch] Caching apxs queries
I had been investigating into ways to make test runs run faster, and I found that
one of the biggest bottlenecks on my test machine was useless repetitive calls
to apxs. The following patch caches apxs queries.
For instance, timings for mod_perl test run:
+ Before:
Files=218, Tests=2512, 1032 wallclock secs (594.94 cusr + 431.33 csys = 1026.27 CPU)
+ After:
Files=218, Tests=2512, 246 wallclock secs (196.69 cusr + 33.55 csys = 230.24 CPU)
--
--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
Re: [Patch] Caching apxs queries
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
>> + Before:
>>
>> Files=218, Tests=2512, 1032 wallclock secs (594.94 cusr + 431.33 csys
>> = 1026.27 CPU)
>>
>> + After:
>>
>> Files=218, Tests=2512, 246 wallclock secs (196.69 cusr + 33.55 csys =
>> 230.24 CPU)
>
>
> gozer++, +1
whee!
gozer++
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [Patch] Caching apxs queries
Posted by Geoffrey Young <ge...@modperlcookbook.org>.
>> + Before:
>>
>> Files=218, Tests=2512, 1032 wallclock secs (594.94 cusr + 431.33 csys
>> = 1026.27 CPU)
>>
>> + After:
>>
>> Files=218, Tests=2512, 246 wallclock secs (196.69 cusr + 33.55 csys =
>> 230.24 CPU)
>
>
> gozer++, +1
whee!
gozer++
--Geoff
Re: [Patch] Caching apxs queries
Posted by Stas Bekman <st...@stason.org>.
Philippe M. Chiasson wrote:
> I had been investigating into ways to make test runs run faster, and I
> found that
> one of the biggest bottlenecks on my test machine was useless repetitive
> calls
> to apxs. The following patch caches apxs queries.
>
> For instance, timings for mod_perl test run:
>
> + Before:
>
> Files=218, Tests=2512, 1032 wallclock secs (594.94 cusr + 431.33 csys =
> 1026.27 CPU)
>
> + After:
>
> Files=218, Tests=2512, 246 wallclock secs (196.69 cusr + 33.55 csys =
> 230.24 CPU)
gozer++, +1
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: [Patch] Caching apxs queries
Posted by Stas Bekman <st...@stason.org>.
Philippe M. Chiasson wrote:
> I had been investigating into ways to make test runs run faster, and I
> found that
> one of the biggest bottlenecks on my test machine was useless repetitive
> calls
> to apxs. The following patch caches apxs queries.
>
> For instance, timings for mod_perl test run:
>
> + Before:
>
> Files=218, Tests=2512, 1032 wallclock secs (594.94 cusr + 431.33 csys =
> 1026.27 CPU)
>
> + After:
>
> Files=218, Tests=2512, 246 wallclock secs (196.69 cusr + 33.55 csys =
> 230.24 CPU)
gozer++, +1
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org