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 <[email protected]>
To: Simon Marchi <[email protected]>,  Jonathan Rajotte Julien 
<[email protected]>

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/>


_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to