<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Does QDebug affect performance?]]></title><description><![CDATA[<p dir="auto">I wonder, I print every array when  come to me. That is about some information about it. When I stop receive debug is continue.</p>
<pre><code>qDebug() &lt;&lt; "FRAME ID : " &lt;&lt; frameId &lt;&lt; " - RECEIVED : " &lt;&lt; _received &lt;&lt; " - START INDEX : " &lt;&lt; startIndex &lt;&lt; " - LAST INDEX : " &lt;&lt; startIndex + count &lt;&lt; " - INDEX DIFF LAST FRAME :  " &lt;&lt; startIndex - index_check &lt;&lt; " - COUNT : " &lt;&lt; count &lt;&lt; " - SIZE : " &lt;&lt; size &lt;&lt; " - FIRST :" &lt;&lt; list[0] &lt;&lt; " - LAST :" &lt;&lt; list[count - 1];
</code></pre>
<p dir="auto">Every frame id has nearly 200 array, and I can take unlimited frameid (yes is limited in uint32 but  it is restarting when it is max, you know) so, does it affect performance lost ?</p>
]]></description><link>https://forum.qt.io/topic/164572/does-qdebug-affect-performance</link><generator>RSS for Node</generator><lastBuildDate>Thu, 19 Nov 2026 18:24:19 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164572.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Apr 2026 10:14:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Does QDebug affect performance? on Fri, 17 Apr 2026 11:23:23 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for your reply</p>
]]></description><link>https://forum.qt.io/post/837814</link><guid isPermaLink="true">https://forum.qt.io/post/837814</guid><dc:creator><![CDATA[Joe von Habsburg]]></dc:creator><pubDate>Fri, 17 Apr 2026 11:23:23 GMT</pubDate></item><item><title><![CDATA[Reply to Does QDebug affect performance? on Fri, 17 Apr 2026 10:53:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joe-von-habsburg">@<bdi>Joe-von-Habsburg</bdi></a><br />
Yes outputting anything affects performance to some degree.  Whether it matters depends how often you call it and how much it has to print.  From <strong>Creator</strong> I have seen <code>qDebug()</code> information continuing to come out e.g. even after program has exited, so I presume <strong>Creator</strong> does some buffering of some kind which may affect performance (possibly for the better).</p>
<p dir="auto">Whatever "nearly 200 array" might mean, try not to print the content of many/large arrays if speed is of the essence.</p>
]]></description><link>https://forum.qt.io/post/837812</link><guid isPermaLink="true">https://forum.qt.io/post/837812</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Fri, 17 Apr 2026 10:53:45 GMT</pubDate></item></channel></rss>