in reply to XML Parse performance

Check how much memory is on the two boxes, and monitor the swapping status. It's distinctly possible that the windows box has insufficient memory to handle the parsing, and thus swaps, while the Unix box may well have more memory on it and avoids swapping. That'd definitely kill your performance.

You also might want to check and see if any optional modules are missing on the windows side of things. Many modules will use a pure perl version of something if the XS version isn't available, so an operation still works, albeit at a much slower rate.

Replies are listed 'Best First'.
Re: Re: XML Parse performance
by mirod (Canon) on Mar 19, 2003 at 19:10 UTC
    You also might want to check and see if any optional modules are missing on the windows side of things. Many modules will use a pure perl version of something if the XS version isn't available, so an operation still works, albeit at a much slower rate.

    Not likely in this case. The only modules that could impact performances would be Scalar::Util which would give weaken, but would improves performances only when deleting parts of the tree, and Encode or Text::Iconv if an output_encoding was specified, which is not the case (and would be used only when printing the twig anyway).

    Insufficient memory is a definite possibility though.