<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:70.85pt 85.05pt 70.85pt 85.05pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ES-AR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi Lanfranco,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I use the ToString in several places, for logging. to save in DB to forward to whoever subscribes to an instrument that another user has already requested.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">using StringBuilder without size could be the problem as it is slower.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have generated a code similar to the one defined in the ToString eliminating the lock and defining a size for the stringBuilder and it is faster and does not present significant conversion alterations.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">It would be interesting to define these limits in the stringbuilders, perhaps they could be configurable with default values in new versions. to support more messages per second.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Sergio<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="ES" style="mso-fareast-language:ES-AR">De:</span></b><span lang="ES" style="mso-fareast-language:ES-AR"> Quickfixn <quickfixn-bounces@lists.quickfixn.com>
<b>En nombre de </b>Lanfranco Morini<br>
<b>Enviado el:</b> Monday, September 21, 2020 04:35 PM<br>
<b>Para:</b> Mailing list for QuickFIX/n <quickfixn@lists.quickfixn.com><br>
<b>Asunto:</b> SPAMRe: {{Quickfixn}} Message.ToString() Performance<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hi Diego,</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">are writing about the line</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:Consolas"> </span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="font-family:Consolas">string ss = msg.ToString();</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">?</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Can I ask you what’s the goal of this conversion?</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks a lot,</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Lanfranco</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span><span lang="IT"><o:p></o:p></span></p>
<div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="429" style="width:321.6pt">
<tbody>
<tr>
<td style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:#2C3034;mso-fareast-language:NL-BE">Lanfranco Giuseppe Morini</span></b><span style="color:#2C3034;mso-fareast-language:NL-BE">
</span><span style="color:black;mso-fareast-language:NL-BE"><br>
</span><b><span style="color:#9BB0B7;mso-fareast-language:NL-BE">Program Manager </span>
</b><o:p></o:p></p>
<p class="MsoNormal"><b><span style="color:#9BB0B7;mso-fareast-language:NL-BE">Banking & Finance</span></b><o:p></o:p></p>
<p class="MsoNormal"><b><span style="color:#9BB0B7;mso-fareast-language:NL-BE">APPLICATIONS
</span></b><span style="color:#9BB0B7;mso-fareast-language:NL-BE"> </span><o:p></o:p></p>
</td>
</tr>
<tr>
<td style="padding:0in 0in 0in 0in"></td>
</tr>
<tr>
<td style="padding:0in 0in 0in 0in">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr style="height:.6pt">
<td style="padding:0in 0in 0in 0in;height:.6pt">
<p class="MsoNormal"><span style="color:black;mso-fareast-language:IT"><img width="24" height="1" style="width:.25in;height:.0104in" id="Picture_x0020_1" src="cid:image001.jpg@01D69579.58E36F90"></span><span style="color:black;mso-fareast-language:NL-BE"> </span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="height:9.0pt">
<td style="padding:0in 0in 0in 0in;height:9.0pt"></td>
</tr>
<tr>
<td style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:#2C3034;mso-fareast-language:NL-BE">E</span></b><span style="color:#2C3034;mso-fareast-language:NL-BE">
</span><b><span style="color:#0098C3;mso-fareast-language:NL-BE"><a href="mailto:Lanfranco.Morini@cegeka.it">Lanfranco.Morini@cegeka.it</a></span></b><span style="color:black;mso-fareast-language:NL-BE"><br>
</span><b><span style="color:#2C3034;mso-fareast-language:NL-BE">T </span></b><span style="color:#2C3034;mso-fareast-language:NL-BE">+39 02 254427 1</span><span style="color:#4D555B;mso-fareast-language:NL-BE">
</span><span style="color:black;mso-fareast-language:NL-BE"><br>
</span><b><span style="color:#2C3034;mso-fareast-language:NL-BE">M</span></b><span style="color:#2C3034;mso-fareast-language:NL-BE"> +39 347 7282717</span><o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="429" style="width:321.6pt">
<tbody>
<tr>
<td style="padding:0in 0in 0in 0in">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="429" style="width:321.6pt">
<tbody>
<tr style="height:.6pt">
<td style="padding:0in 0in 0in 0in;height:.6pt">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black;mso-fareast-language:EN-GB"><img border="0" width="536" height="1" style="width:5.5833in;height:.0104in" id="Picture_x0020_66" src="cid:image002.jpg@01D69579.58E36F90"></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black;mso-fareast-language:NL-BE"> </span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="height:6.0pt">
<td style="padding:0in 0in 0in 0in;height:6.0pt"></td>
</tr>
<tr>
<td style="padding:0in 0in 0in 0in">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr style="height:64.45pt">
<td width="170" valign="top" style="width:127.5pt;padding:0in 0in 0in 0in;height:64.45pt">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black;mso-fareast-language:EN-GB"><img border="0" width="120" height="43" style="width:1.25in;height:.4479in" id="Picture_x0020_14" src="cid:image003.png@01D69579.58E36F90"></span><o:p></o:p></p>
</td>
<td width="218" valign="top" style="width:163.5pt;padding:0in 0in 0in 0in;height:64.45pt">
<p class="MsoNormal"><span style="font-size:10.5pt;color:#2C3034;mso-fareast-language:NL-BE">CEGEKA
</span><span style="font-size:10.5pt;color:#4D555B;mso-fareast-language:NL-BE">Via A. Volta 16<br>
20093 Cologno Monzese MI, Italy<br>
<b>T</b> +39 02 254 427 1<br>
</span><b><span style="font-size:10.5pt;color:#0098C3;mso-fareast-language:NL-BE"><a href="http://www.cegeka.it/"><span style="color:#0098C3;text-decoration:none">WWW.CEGEKA.IT</span></a></span></b><span style="font-size:10.5pt;color:#0098C3;mso-fareast-language:NL-BE"> </span><span style="font-size:10.5pt;color:#2C3034;mso-fareast-language:NL-BE">
</span><o:p></o:p></p>
</td>
<td width="37" valign="top" style="width:27.75pt;padding:0in 0in 0in 0in;height:64.45pt">
<p class="MsoNormal" align="center" style="text-align:center"><a href="https://www.linkedin.com/company/cegeka_italia"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="27" height="25" style="width:.2812in;height:.2604in" id="Picture_x0020_4" src="cid:image004.jpg@01D69579.58E36F90"></span></a><o:p></o:p></p>
</td>
<td width="37" valign="top" style="width:27.75pt;padding:0in 0in 0in 0in;height:64.45pt">
<p class="MsoNormal" align="center" style="text-align:center"><a href="https://twitter.com/Cegeka_IT"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="27" height="25" style="width:.2812in;height:.2604in" id="Picture_x0020_5" src="cid:image005.jpg@01D69579.58E36F90"></span></a><o:p></o:p></p>
</td>
<td width="37" valign="top" style="width:27.75pt;padding:0in 0in 0in 0in;height:64.45pt">
<p class="MsoNormal" align="center" style="text-align:center"><a href="https://www.facebook.com/Cegeka.Italia"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="27" height="25" style="width:.2812in;height:.2604in" id="Picture_x0020_6" src="cid:image006.jpg@01D69579.58E36F90"></span></a><o:p></o:p></p>
</td>
<td width="37" valign="top" style="width:27.75pt;padding:0in 0in 0in 0in;height:64.45pt">
<p class="MsoNormal" align="center" style="text-align:center"><a href="https://www.youtube.com/channel/UCyK4GfmaAT3MEJttkpfWoyQ"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black;mso-fareast-language:EN-GB;text-decoration:none"><img border="0" width="27" height="25" style="width:.2812in;height:.2604in" id="Picture_x0020_7" src="cid:image007.jpg@01D69579.58E36F90"></span></a><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="IT" style="mso-fareast-language:IT"> </span><span lang="IT"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="IT"> <o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:IT">From:</span></b><span lang="EN-US" style="mso-fareast-language:IT"> Quickfixn <<a href="mailto:quickfixn-bounces@lists.quickfixn.com">quickfixn-bounces@lists.quickfixn.com</a>>
<b>On Behalf Of </b>Sergio Diego Demaestri<br>
<b>Sent:</b> lunedì 21 settembre 2020 15:21<br>
<b>To:</b> Mailing list for QuickFIX/n <<a href="mailto:quickfixn@lists.quickfixn.com">quickfixn@lists.quickfixn.com</a>><br>
<b>Subject:</b> {{Quickfixn}} Message.ToString() Performance</span><span lang="IT"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="IT"> <o:p></o:p></span></p>
<p class="MsoNormal">Hi,<span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal">Using this code <span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">Int idorden = 10500;</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:blue">while</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> (</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:blue">true</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">)</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> {</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> </span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:blue">string</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">
msgqueve = </span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:#A31515">"8=FIXT.1.1_9=279_35=D_34=15_49=MAEFIXSORClient1_52=20200901-18:28:59.224_56=MAEFIXSORServerDesa_11=48212_15=ARS_38=1000000_40=2_44=15_54=2_55=AY24D_59=1_60=20200901-18:28:59.223_63=1_110=50000_126=20200901-18:28:59.150_432=20200901_5682=BON1_453=2_448=20949931030_447=C_452=3_448=RC2_447=C_452=1_10=089_"</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">;</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> Message msg = CreateMessageFromFIXString(msgqueve, SessionId);(function create message from string not
added for space in email)</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> Stopwatch stopWatch =
</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:blue">new</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> Stopwatch();</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> stopWatch.Start();</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">
</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> </span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:blue">for</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">
(</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:blue">int</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> i = 1;i< 2000000;i++)</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> {</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> DateTime inicio = DateTime.Now;</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> idorden++;</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> msg.SetField(</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:blue">new</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">
QuickFix.Fields.StringField(11, idorden.ToString()));</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> </span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:blue">string</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">
ss = msg.ToString();</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> DateTime fin = DateTime.Now;</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:blue">if</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> ((fin - inicio).TotalMilliseconds > 0.5)</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> Console.WriteLine(</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:#A31515">"str
="</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">+ (fin - inicio).TotalMilliseconds);</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:green">//Session.SendToTarget(msg, SessionId);</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> }</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> stopWatch.Stop();</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> TimeSpan ts = stopWatch.Elapsed;</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> </span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:green">// Format and display the TimeSpan value.</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:blue">string</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> elapsedTime = String.Format(</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:#A31515">"{0:00}:{1:00}:{2:00}.{3:00}"</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">,</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> ts.Hours, ts.Minutes, ts.Seconds,</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> ts.Milliseconds / 10);</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> Console.WriteLine(</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:#A31515">"RunTime "</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">
+ elapsedTime+ </span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:#A31515">"yime "</span><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">+DateTime.Now.Ticks);</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> System.Threading.Thread.Sleep(900);</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> }</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"><br>
I have noticed a random performance drop in the transformation of the message. </span>
<span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">I have not been able to attribute it to the internal lock of ToString ().
</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">Could you help me evaluate the best way to transform to string?</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black"> </span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">Regards,</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:Consolas;color:black">Sergio Diego Demaestri</span><span lang="IT"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:IT">Aviso de Confidencialidad: La información contenida en este E-mail es confidencial y sólo puede ser utilizada por el destinatario a quien está dirigido. Conforme artículo 318 del Código Civil y Comercial
de la Nación, la correspondencia confidencial no puede ser utilizada sin consentimiento del remitente, y los terceros no pueden valerse de la correspondencia sin asentimiento del destinatario, y del remitente si es confidencial. Si no es el destinatario autorizado
de este E-mail, no puede utilizar esta información sin consentimiento del remitente y cualquier retención, difusión, distribución o copia de este mensaje es prohibida y sancionada por la ley. Toda vez que la información remitida por este medio puede ser objeto
de modificación o alteración, el emisor no se responsabiliza por errores u omisiones contenidos en este mensaje o sus anexos, ni garantiza la seguridad, exactitud de lo transmitido por este medio. Si por error ha recibido este E-mail, favor reenvíelo al remitente
y borre el mensaje recibido inmediatamente </span><span lang="IT"><o:p></o:p></span></p>
</div>
Aviso de Confidencialidad: La información contenida en este E-mail es confidencial y sólo puede ser utilizada por el destinatario a quien está dirigido. Conforme artículo 318 del Código Civil y Comercial de la Nación, la correspondencia confidencial no puede
ser utilizada sin consentimiento del remitente, y los terceros no pueden valerse de la correspondencia sin asentimiento del destinatario, y del remitente si es confidencial. Si no es el destinatario autorizado de este E-mail, no puede utilizar esta información
sin consentimiento del remitente y cualquier retención, difusión, distribución o copia de este mensaje es prohibida y sancionada por la ley. Toda vez que la información remitida por este medio puede ser objeto de modificación o alteración, el emisor no se
responsabiliza por errores u omisiones contenidos en este mensaje o sus anexos, ni garantiza la seguridad, exactitud de lo transmitido por este medio. Si por error ha recibido este E-mail, favor reenvíelo al remitente y borre el mensaje recibido inmediatamente
</body>
</html>