[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [frameworks-kio] [Bug 342056] Ridiculously slow file copy (multiple small files)
From:       Jaime Torres <bugzilla_noreply () kde ! org>
Date:       2018-02-05 18:26:04
Message-ID: bug-342056-17878-G9FdZ1QExS () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=342056

--- Comment #18 from Jaime Torres <jtamate@gmail.com> ---
Git commit 9fbf7a0b624aee6b116efdf69462e73f0275fab6 by Jaime Torres.
Committed on 05/02/2018 at 18:25.
Pushed by jtamate into branch 'master'.

Faster drag&drop in directories with thousands of files

Summary:
The check is called when the mouse is 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 is called around
200 times, spending around 9,30% of the cpu in those calls.
Applying the patch, callgrind tells it uses now 0.31% of the cpu in 1208 calls.

Reviewers: #dolphin, elvisangelaccio, markg

Reviewed By: #dolphin, elvisangelaccio, markg

Subscribers: markg, anthonyfieroni, michaelh, elvisangelaccio, ngraham

Differential Revision: https://phabricator.kde.org/D10085

M  +3    -0    src/kitemviews/kitemlistcontroller.cpp
M  +17   -3    src/views/draganddrophelper.cpp
M  +10   -0    src/views/draganddrophelper.h

https://commits.kde.org/dolphin/9fbf7a0b624aee6b116efdf69462e73f0275fab6

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic