Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: Benchmarks of XML Parsers

by Anonymous Monk
on Apr 28, 2009 at 17:20 UTC ( #760678=note: print w/replies, xml ) Need Help??

in reply to Re^2: Benchmarks of XML Parsers
in thread Benchmarks of XML Parsers

Not sure, I would check with ldd
#!/usr/bin/perl -- use strict; use warnings; use XML::LibXML; use XML::Parser; for my $so( grep /xml/i, @DynaLoader::dl_shared_objects ){ print "$so\n"; print `ldd $so\n`; } __END__

Replies are listed 'Best First'.
Re^4: Benchmarks of XML Parsers
by ikegami (Pope) on Apr 28, 2009 at 17:46 UTC

    [ You linked to the Lego Digital Designer *giggle* ]

    That array is empty (!?), confirmed with Data::Dumper.

    Update: There appears to be a line missing from my install of DynaLoader (!!!). Once I added it, I got:

    /usr/lib/perl5/auto/XML/LibXML/Common/ => (0xffffe000) => /usr/lib/ (0xb7ded000) => /usr/lib/ (0xb7dd9000) => /lib/tls/i686/cmov/ (0xb7dc7 +000) => /lib/tls/i686/cmov/ (0xb7da2000) => /lib/tls/i686/cmov/ (0xb7c71000) => /lib/tls/i686/cmov/ (0xb7c6d000) /lib/ (0x80000000) /home/ikegami/lib/perl5/i486-linux-gnu-thread-multi/auto/XML/LibXML/Li => (0xffffe000) => /usr/lib/ (0xb7df4000) => /lib/tls/i686/cmov/ (0xb7dbd000) => /lib/tls/i686/cmov/ (0xb7c8c000) => /lib/tls/i686/cmov/ (0xb7c88000) => /usr/lib/ (0xb7c74000) /lib/ (0x80000000) /usr/lib/perl5/auto/XML/Parser/Expat/ => (0xffffe000) => /usr/lib/ (0xb7f40000) => /lib/tls/i686/cmov/ (0xb7e0f000) => /lib/tls/i686/cmov/ (0xb7dfd +000) /lib/ (0x80000000)

    That doesn't seem to include any version info?

    Update: The bug was fixed in DynaLoader 1.05 which comes with Perl 5.8.{4,5,6,7,8,9}. I'm using Perl 5.8.8, but DynaLoader is just 1.04. WTF?!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://760678]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2018-01-22 03:25 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (231 votes). Check out past polls.