regexes has asked for the wisdom of the Perl Monks concerning the following question:
Just looking at the XML function calls produces this list:Total Elapsed Time = 1.292316 Seconds User+System Time = 0.282316 Seconds Name XML::SAX::PurePerl::Reader::URI::new XML::SAX::PurePerl::BEGIN main::BEGIN XML::Simple::find_xml_file main::ParseFile XML::SAX::PurePerl::Productions::BEGIN strict::bits Encode::BEGIN XML::SAX::ParserFactory::BEGIN XML::SAX::PurePerl::Reader::URI::BEGIN File::Temp::BEGIN XML::Simple::start_element XML::Simple::XMLin XML::SAX::PurePerl::Name XML::SAX::PurePerl::CharData
This is what I don't understand... why are there some function calls being performed on some OSes but not on others? Or are some irrelevant enough that they are simply not being listed?XML::SAX::PurePerl::Reader::URI::new XML::SAX::PurePerl::BEGIN XML::Simple::find_xml_file XML::SAX::PurePerl::Productions::BEGIN XML::SAX::ParserFactory::BEGIN XML::SAX::PurePerl::Reader::URI::BEGIN XML::Simple::start_element XML::Simple::XMLin XML::SAX::PurePerl::Name XML::SAX::PurePerl::CharData
XML::SAX::PurePerl::BEGIN XML::SAX::Base::get_feature XML::SAX::ParserFactory::_parser_class XML::SAX::BEGIN XML::SAX::ParserFactory::BEGIN XML::SAX::PurePerl::Reader::BEGIN XML::SAX::PurePerl::Reader::URI::BEGIN XML::SAX::PurePerl::doctypedecl
I would have thought the output of DProf on the XML::Simple module would be identical on each OS. Why is this not so?XML::SAX::PurePerl::BEGIN XML::SAX::PurePerl::skip_whitespace XML::SAX::PurePerl::Reader::data XML::Simple::start_element XML::SAX::PurePerl::Reader::Stream::move_along XML::SAX::PurePerl::element XML::SAX::PurePerl::Productions::BEGIN XML::Simple::BEGIN XML::SAX::ParserFactory::BEGIN XML::SAX::PurePerl::Reader::BEGIN XML::SAX::PurePerl::Reader::URI::BEGIN
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DProf output of named functions.
by kyle (Abbot) on Sep 25, 2007 at 13:54 UTC | |
by djp (Hermit) on Sep 27, 2007 at 03:58 UTC | |
|
Re: DProf output of named functions.
by perrin (Chancellor) on Sep 25, 2007 at 13:42 UTC |