[lttng-dev] [PATCH lttng-tool] Mi & save/load: add option to indent or not on config writer creation

Alexandre Montplaisir alexmonthy at voxpopuli.im
Thu Aug 7 11:47:59 EDT 2014


I was expecting Jonathan to explain it further in his upcoming reply ;)

But from the numbers I've seen from his benchmark, it was overall 50 
times faster when using the minified XML than using the "pretty-printed" 
one.
Mainly from:
- Not having to concatenate all the outputted strings into one
- Not having to iterate (MANY times) on empty XML nodes

Cheers,
Alexandre

On 08/07/2014 09:09 AM, Thibault, Daniel wrote:
> ----------------------------------------------------------------------
> Date: Wed, 06 Aug 2014 11:34:39 -0400
> From: Alexandre Montplaisir <alexmonthy at voxpopuli.im>
> To: Simon Marchi <simon.marchi at polymtl.ca>,  Jonathan Rajotte Julien <jonathan.r.julien at gmail.com>
>
> On 08/06/2014 10:49 AM, Simon Marchi wrote:
>> Just by curiosity, did you manage to put a number on that performance impact?
> 50
> ----------------------------------------------------------------------
>
>     Fifty what?  Furlongs per fortnight?  If dimensionless, what is it?
>
> Daniel U. Thibault
> Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
> Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
> RDDC - Centre de recherches de Valcartier | DRDC - Valcartier Research Centre
> 2459 route de la Bravoure
> Québec QC  G3J 1X5
> CANADA
> Vox : (418) 844-4000 x4245
> Fax : (418) 844-4538
> NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
> Gouvernement du Canada | Government of Canada
> <http://www.valcartier.drdc-rddc.gc.ca/>




More information about the lttng-dev mailing list