<table><tr><td style="">jtamate updated this revision to Diff 42345.<br />jtamate marked 5 inline comments as done.<br />jtamate edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-i4q5wcri2njfzld/">(Show Details)</a><br />jtamate edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-3qgizpb23bjztgm/">(Show Details)</a><br />jtamate 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/D10742">View Revision</a></tr></table><br /><div><div><p>I've tried to do an automatic benchmark of the rename case, without success.<br />
Changed code as requested.</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>adding items to lstItems is almost as fast as before, only 3 msecs slower<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> on average</span>.<div style="padding: 8px 0;">...</div>findByUrl is <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">on average </span>>200x faster.</div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">Pass <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">the</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">kio</span> unittests (behind a proxy, therefore ktcpsockettest  fails at 261 sec).<div style="padding: 8px 0;">...</div>Total Test time (real) = 352.63 sec<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
Using dolphin, in a folder with 15000 files, select them all and rename them to a# (second time to b#), and as soon as it start renaming, go up two directories to not interfere with the refreshes.<br />
Before:  4m 30s to finish</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">After:     1m 12s to finish</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D10742?vs=35305&id=42345">https://phabricator.kde.org/D10742?vs=35305&id=42345</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10742">https://phabricator.kde.org/D10742</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/kdirlistertest.cpp<br />
autotests/kdirlistertest.h<br />
src/core/kcoredirlister.cpp<br />
src/core/kcoredirlister_p.h</div></div></div><br /><div><strong>To: </strong>jtamate, Frameworks, dfaure<br /><strong>Cc: </strong>bruns, kde-frameworks-devel, mwolff, markg, michaelh, ngraham<br /></div>