Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 66710 invoked from network); 15 Aug 2005 15:43:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Aug 2005 15:43:04 -0000 Received: (qmail 36870 invoked by uid 500); 15 Aug 2005 15:42:55 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 36856 invoked by uid 500); 15 Aug 2005 15:42:55 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 36843 invoked by uid 99); 15 Aug 2005 15:42:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Aug 2005 08:42:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 209.86.89.63 is neither permitted nor denied by domain of perrin@elem.com) Received: from [209.86.89.63] (HELO smtpauth03.mail.atl.earthlink.net) (209.86.89.63) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Aug 2005 08:43:15 -0700 Received: from [69.3.199.216] (helo=[192.168.1.100]) by smtpauth03.mail.atl.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1E4h6y-000817-VL; Mon, 15 Aug 2005 11:42:53 -0400 Message-ID: <4300B7FC.80707@elem.com> Date: Mon, 15 Aug 2005 11:42:52 -0400 From: Perrin Harkins User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Frank Wiles CC: Badai Aqrandista , modperl@perl.apache.org Subject: Re: web application speed problem with OO modules References: <43001AC9.3080400@p6m7g8.com> <20050815094143.682bf847.frank@wiles.org> In-Reply-To: <20050815094143.682bf847.frank@wiles.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: c0887ac1ba12fd211aa676d7e74259b7b3291a7d08dfec79846ea2ede0f01090cfd20c712a1ff8f4350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 69.3.199.216 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Frank Wiles wrote: > Give Apache::SmallProf a try. Where Apache::DProf shows you the > subroutine calls, SmallProf will show you a profile on a line by line > basis. This should help you zero in on what is causing the slowness. I'd say just the opposite in most cases. Usually you want to see which subs are taking the time. SmallProf is mostly useful when your subs are much too big. It is very common though for people to not properly initialize the debugger when using DProf and thus not get results for most of their code. That often leads them to think they should use a different profiler, like SmallProf. - Perrin