Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 52609 invoked from network); 1 Jul 2004 17:20:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Jul 2004 17:20:37 -0000 Received: (qmail 92585 invoked by uid 500); 1 Jul 2004 17:20:28 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 92540 invoked by uid 500); 1 Jul 2004 17:20:27 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 92503 invoked by uid 99); 1 Jul 2004 17:20:26 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org From: "Clayton Cottingham" To: "Perrin Harkins" , Cc: "Modperl List" Subject: RE: mod_perl with libxml2 - slooow? Date: Thu, 1 Jul 2004 10:20:01 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <1088701934.3166.54.camel@localhost.localdomain> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N i have use XML::LibXML on linux without those sort of speed crawls, you might want to look at trying it on a linux machine > -----Original Message----- > From: Perrin Harkins [mailto:perrin@elem.com] > Sent: Thursday, July 01, 2004 10:12 AM > To: ETarazi@factset.com > Cc: Modperl List > Subject: Re: mod_perl with libxml2 - slooow? > > > On Thu, 2004-07-01 at 11:54, ETarazi@factset.com wrote: > > I'm doing some XSL transformations in perl via the libxml2 package. > > libxml2, at least for me, is a pre-compiled third-party package > that does > > XML stuff really really fast. I interface to it with perl's > XML::LibXSLT. > > The transform I have selects a tiny fraction of an 8 meg XML > file. Running > > the script from my cgi-bin (ie w/o mod_perl) or just from the > command line > > takes about 3-4 seconds. > > > > Running the script under mod_perl takes almost 2 minutes!!! I'm new to > > mod_perl... so what's happening here? Im running this on winXP. > Apache.exe > > takes up over 150 megs of virtual memory and almost all the CPU time > > bringing everything to a crawl... > > There is some info on reporting bugs here (assuming you are using apache > 2): > http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems > > Some of that info (which Perl, which mod_perl, etc.) would be helpful > here. > > However, the usual place to start looking is where things are different > from CGI: the user and permissions, possibly the version of perl being > used, etc. > > - Perrin > > > -- > Report problems: http://perl.apache.org/bugs/ > Mail list info: http://perl.apache.org/maillist/modperl.html > List etiquette: http://perl.apache.org/maillist/email-etiquette.html > > -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html