Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

v5.3 of fastest C++ XML parser released

246 views
Skip to first unread message

Mr Flibble

unread,
Aug 29, 2014, 6:32:26 PM8/29/14
to
NoFussXML

NoFussXML is a small, high performance, minimalist C++ XML parser and
generator with an easy to use DOM-style API. Conveniently NoFussXML is
a header only library. It does not support any schemas such as DTD at
present.

Performance

On one test run using this 14MB XML file as a test NoFussXML was
approximately 38% faster at parsing and 21% faster at generating XML
than RapidXml (as hosted by the Cinder C++ library). Unhosted RapidXml
still beats NoFussXML at pure parsing speed but the NoFussXML DOM tree
API is more feature rich providing, for example, attribute maps for fast
O(lg N) complexity attribute lookup and an easily modifiable DOM tree
without the restrictions of RapidXml (e.g. no need to explicitly manage
string object lifetimes). NoFussXML parsing time includes the time
required to create all DOM tree objects including attribute maps.

Here are the results of one test run:

NoFussXML read 14MB XML file: 0.3877 seconds
NoFussXML write 14MB XML file: 0.6939 seconds
Cinder (RapidXml) read 14MB XML file: 0.6261 seconds
Cinder (RapidXml) write 14MB XML file: 0.8645 seconds
Boost.PropertyTree (RapidXml) read 14MB XML file: 1.6820 seconds
Boost.PropertyTree (RapidXml) write 14MB XML file: 0.9755 seconds

http://i42.co.uk/stuff/NoFussXML.htm

/Flibble

woodb...@gmail.com

unread,
Aug 31, 2014, 12:59:55 AM8/31/14
to
On Friday, August 29, 2014 5:32:26 PM UTC-5, Mr Flibble wrote:
> NoFussXML
>
>
>
> NoFussXML is a small, high performance, minimalist C++ XML parser and
> generator with an easy to use DOM-style API. Conveniently NoFussXML is
> a header only library. It does not support any schemas such as DTD at
> present.
>
> Performance
>
> On one test run using this 14MB XML file as a test NoFussXML was
> approximately 38% faster at parsing and 21% faster at generating XML
> than RapidXml (as hosted by the Cinder C++ library). Unhosted RapidXml
> still beats NoFussXML at pure parsing speed but the NoFussXML DOM tree


http://www.techgeeze.com/2010/10/pros-cons-of-hosted-solutions-vs-non.html

The first con listed there is ongoing monthly costs. Sorry for
tooting my own horn, but my hosted code generator is free. So yeah.

Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net

Öö Tiib

unread,
Aug 31, 2014, 8:38:00 AM8/31/14
to
The link compares web services with installed tools. What it has to do
with OP? Leigh advertized there open source XML parser/generator
C++ library (NoFussXML):

http://i42.co.uk/stuff/NoFussXML.htm

It can be used for building web services and/or installed tools
so it remains miles above of competition of those others. :-P

Mr Flibble

unread,
Aug 31, 2014, 10:52:01 AM8/31/14
to
Hosting by a third party *library* has nothing to do with *online hosting*.

/Flibble

Dombo

unread,
Sep 13, 2014, 3:22:48 PM9/13/14
to
Op 30-Aug-14 0:32, Mr Flibble schreef:
No sausages... No sausage no glory.

Mr Flibble

unread,
Sep 13, 2014, 4:51:00 PM9/13/14
to
On 13/09/2014 20:24, Dombo wrote:
> Op 30-Aug-14 0:32, Mr Flibble schreef:
>> NoFussXML

>> http://i42.co.uk/stuff/NoFussXML.htm
>>
>> /Flibble
>
> No sausages... No sausage no glory.

Indeed!

/Flibble
0 new messages