D10085: Faster drag&drop in directories with thousands of files

Jaime Torres Amate noreply at phabricator.kde.org
Wed Jan 24 18:33:20 GMT 2018


jtamate created this revision.
jtamate added a reviewer: Dolphin.
jtamate requested review of this revision.

REVISION SUMMARY
  The check was called when the mouse was moved in a drag&drop operation.
  
  Dragging all files in a directory with 3000 files under callgrind,
  moving the mouse to the other panel and then canceling, doing it twice,
  callgrind shows that the method urlListMatchesUrl was called around
  200 times, spending around 9,30% of the cpu in those calls.
  Applying the patch, the method is only called once, and callgrind tells
  it uses less than 1% of the cpu in those calls.

REPOSITORY
  R318 Dolphin

BRANCH
  fasterDrop (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D10085

AFFECTED FILES
  src/kitemviews/kitemlistcontroller.cpp

To: jtamate, #dolphin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180124/75cb28c7/attachment.htm>


More information about the kfm-devel mailing list