Re: MARC::File::XML perfs

2006-01-09 Thread Ed Summers
I should have mentioned that MARC::File::XML uses XML::SAX for XML parsing. XML::SAX can use a variety of backend XML parsers, but I believe by default it will use the XML::SAX::PurePerl parser if it can't find any other ones installed, which is exceptionally slow. I recommend taking a look at ins

Re: MARC::File::XML perfs

2006-01-09 Thread Ed Summers
On 1/9/06, Paul POULAIN <[EMAIL PROTECTED]> wrote: > what am I doing wrong ? Using Perl? :-) Seriously though, i'd be interested in DProf [1] output from your program if you have the energy. //Ed [1] http://search.cpan.org/~ilyaz/DProf-19990108/DProf.pm

MARC::File::XML perfs

2006-01-09 Thread Paul POULAIN
Hi, I begin using MARC::File::XML in Koha, to read XML records and transform them in MARC::Record. I tried some perfs and it seems they are really poor. something like : * reading a line in mySQL (1 DB line, indexed, so really fast, contains a MARCXML field) * create a MARC::Record with my $