parsing and string processing

Dave <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Hello All,

I'm trying to profile a program which uses expat xml
parsing. What I'd like to see is where the xml parser
spends most of its time. So, my gprof results are as
follows:

  %   cumulative   self              self     total   
       
 time   seconds   seconds    calls  ms/call  ms/call 
name    
 50.0       0.01     0.01                            
_normal_getAtts [1]
 50.0       0.02     0.01                            
_normal_scanAtts [2]
   0.0       0.02     0.00        1     0.00     0.00 
_main [26]

I looked at the source code but couldn't understand
exactly what getAtts and scanAtts do. What I'm trying
to find out is if they do any sort of string/pattern
matching. Or maybe a general question, do xml parsers
do string/pattern matching a lot? If yes, how much
does it affect performance? Thank you for your help!

Regards,

Dave


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.