Hi,
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...
The line of perl code that takes up so much time is:
my $data = $parser->parse_file('jobs.xml');
Whats the solution?
thx - et
--
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