<table><tr><td style="">rjvbb added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7995" rel="noreferrer">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">It's not "asynchronous and complex", it's just a queued connection.</pre></div></blockquote>

<p>Queued just means that signals are processed in order, not synchronously, right? (There's another connection type for that IIUC.)</p>

<p>Taken in isolation ("in vitro") you may be right, but if you put this in real-world usage ("in vivo") it becomes a whole different matter.</p>

<p>I remember that the last time I had a project import hanging (on Mac) *none* of the numerous threads were doing anything that seemed even remotely related to project import.</p>

<p>As I said, I'll remove the explicit connection spec.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">Are you aware of https://bugreports.qt.io/browse/QTBUG-50700, maybe that is related to your experience?</pre></div></blockquote>

<p>I can't exclude it in the full app but the benchmark doesn't link to QtDeclarative and the issue appears to be Linux/X11 specific. Does it still apply to Qt 5.8?</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">Also, clearing the disk cache via "echo 1 > /proc/sys/vm/drop_caches" sometimes helps with inconsistent benchmark results ...</pre></div></blockquote>

<p>That could make sense to do before each benchmark invocation but again only on Linux.</p>

<p>FWIW, I'm using ZFS on Linux, and even the benchmark's project import does something at the level of the duchain cache (= write to disk). This could also explain the freak result I posted, somehow (IOW doing a manual sync before running the benchmark might make just as much sense as writing to drop_caches).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7995" rel="noreferrer">https://phabricator.kde.org/D7995</a></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop, mwolff<br /><strong>Cc: </strong>aaronpuchert, arrowdodger, kfunk, dfaure, mwolff, brauch, kdevelop-devel, njensen, geetamc, Pilzschaf, akshaydeo, surgenight<br /></div>