senjuhashirama / pugixml

Automatically exported from code.google.com/p/pugixml
0 stars 0 forks source link

Add Qt parsers to the benchmarks. #193

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Qt framework provides 3 XML parser implementations:
* QXmlStreamReader (pull)
* QXmlSimpleReader (SAX)
* QDomDocument (DOM)

It would be useful to have them in benchmark, so people could know how much 
PugiXML is faster before doing measurements for their specific use cases.

SAX and DOM parsers are considered to be deprecated in Qt 5, however 
QDomDocument is used in many code bases.

Original issue reported on code.google.com by annu...@gmail.com on 17 Jan 2013 at 10:56

GoogleCodeExporter commented 9 years ago
Please provide Pugi compatibility for Qt 

Original comment by suhasg...@gmail.com on 13 May 2014 at 5:15

GoogleCodeExporter commented 9 years ago
#1 What do you mean? I use PugiXML with Qt without any issues. If you start 
converting all data to QString or QVariant, you'll easily kill some of 
performance advantage that PugiXML gives you.

Original comment by annu...@gmail.com on 28 May 2014 at 8:23

GoogleCodeExporter commented 9 years ago
Due to some optimizations that were already done and due to some pending memory 
optimization work I'll have to revive the benchmark suite and rerun the numbers 
- I think I'll do Qt then. I'm not sure I remember how I generated the graphs 
so it would be fun...

Closing for now, will (hopefully) not forget to do this later.

Original comment by arseny.k...@gmail.com on 26 Oct 2014 at 9:18