<table><tr><td style="">rjvbb updated this revision to Diff 21300.<br />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/D8059" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Updated as requested.</p>
<p>Results on Linux ("stock" dirwatching):</p>
<p>INotify backend</p>
<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);">> perf stat -r 3 abstractfilemanagerpluginimportbenchmark gcc-7.2.0
KDirWatch backend: Inotify
Starting import of project gcc-7.2.0
creating dirwatcher took 1.265 seconds
importing project 0 took 3.162 seconds
Done in 4.428 seconds total
KDirWatch backend: Inotify
Starting import of project gcc-7.2.0
creating dirwatcher took 1.232 seconds
importing project 0 took 3.098 seconds
Done in 4.331 seconds total
KDirWatch backend: Inotify
Starting import of project gcc-7.2.0
creating dirwatcher took 1.307 seconds
importing project 0 took 3.14 seconds
Done in 4.448 seconds total
Performance counter stats for 'abstractfilemanagerpluginimportbenchmark gcc-7.2.0' (3 runs):
5115.785502 task-clock:u (msec) # 0.976 CPUs utilized ( +- 0.84% )
0 context-switches:u # 0.000 K/sec
0 cpu-migrations:u # 0.000 K/sec
23,868 page-faults:u # 0.005 M/sec ( +- 0.86% )
4,749,860,940 cycles:u # 0.928 GHz ( +- 0.14% )
3,097,364,964 instructions:u # 0.65 insn per cycle ( +- 0.01% )
741,470,473 branches:u # 144.938 M/sec ( +- 0.02% )
23,852,653 branch-misses:u # 3.22% of all branches ( +- 0.23% )
5.241247911 seconds time elapsed ( +- 0.76% )</pre></div>
<p>QFileSystemWatcher backend</p>
<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);">> env KDIRWATCH_METHOD=QFSWatch time perf stat -r 3 abstractfilemanagerpluginimportbenchmark gcc-7.2.0
KDirWatch backend: QFSWatch
Starting import of project gcc-7.2.0
creating dirwatcher took 183.192 seconds
importing project 0 took 3.54 seconds
Done in 186.734 seconds total
KDirWatch backend: QFSWatch
Starting import of project gcc-7.2.0
creating dirwatcher took 176.655 seconds
importing project 0 took 4.017 seconds
Done in 180.672 seconds total
KDirWatch backend: QFSWatch
Starting import of project gcc-7.2.0
creating dirwatcher took 175.662 seconds
importing project 0 took 3.14 seconds
Done in 178.803 seconds total
Performance counter stats for 'abstractfilemanagerpluginimportbenchmark gcc-7.2.0' (3 runs):
175971.327864 task-clock:u (msec) # 0.959 CPUs utilized ( +- 1.38% )
0 context-switches:u # 0.000 K/sec
0 cpu-migrations:u # 0.000 K/sec
34,114 page-faults:u # 0.194 K/sec ( +- 0.48% )
310,070,244,556 cycles:u # 1.762 GHz ( +- 0.20% )
54,088,827,245 instructions:u # 0.17 insn per cycle ( +- 0.00% )
8,733,088,527 branches:u # 49.628 M/sec ( +- 0.00% )
206,976,905 branch-misses:u # 2.37% of all branches ( +- 0.35% )
183.439620257 seconds time elapsed ( +- 1.32% )</pre></div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D8059?vs=21200&id=21300" rel="noreferrer">https://phabricator.kde.org/D8059?vs=21200&id=21300</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8059" rel="noreferrer">https://phabricator.kde.org/D8059</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kdevplatform/project/abstractfilemanagerplugin.h<br />
kdevplatform/project/tests/CMakeLists.txt<br />
kdevplatform/project/tests/abstractfilemanagerpluginimportbenchmark.cpp</div></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop, mwolff<br /><strong>Cc: </strong>mwolff, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>