• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

parser performance

 
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On what basis is the performance of parsers judged?
What are the factors taken into account while choosing a parser for an application?
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Parser performance is judged mostly on speed and memory consumption. How long does it take for the parser to parse a large document( > !MB ) and what is its memory footprint.
While choosing a parser you will have to consider issues such as -

  • The average size of the XML document(s) on hand.
  • The complexity of the documents.
  • The available memory resources on the machine.
  • The acceptable latency.
  • Once the document is parserd, do you need random access to the nodes? Is sequential access too limiting for your application?
  • Conformance to evolving XML standards and support for new specs and technologies. For instance, whether the parser has Schema support, Support for various DOM Levels etc

  • Cheers!
    ------------------
    Ajith Kallambella M.
    Sun Certified Programmer for the Java�2 Platform.
    IBM Certified Developer - XML and Related Technologies, V1.
 
rani bedi
Ranch Hand
Posts: 358
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
great words Ajith !!
Can you even give some information on the performance for the parsers available in the market. A comparison chart would be highly appreciated.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Checkout this link - http://65.1.136.127/developerlife/parsertest2/performance.html
It has some benchmarking statistics for various popular parsers. A word of caution though, this data is quite old and there are newer versions of these parsers available today. Not to mention there are more number of parsers available today that are not in the list. So take the data with a pinch of salt
------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic