D9824: Optimize inotify KDirWatch backend: map inotify wd to Entry
René J.V. Bertin
noreply at phabricator.kde.org
Tue Jan 16 19:57:16 UTC 2018
rjvbb added a comment.
> i'm assuming the cost would be bigger then the benefit. (just an assumption here, i could be wrong)
That's why it has to be measured.
I've never seen processing (reaction) times that measure in minutes with either backend (which in turn is assuming that you actually notice such events when you're not looking for it). If that time is indeed spent walking a list that is also walked in other backends, it seems unlikely that the cost could be bigger than the benefit, given the observed gain. The gain could indeed be smaller, but could in fact be even larger if more work needs to be done for each item in the list.
REPOSITORY
R244 KCoreAddons
REVISION DETAIL
https://phabricator.kde.org/D9824
To: mwolff, dfaure, rjvbb, #kdevelop
Cc: markg, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180116/bc7439e8/attachment.html>
More information about the Kde-frameworks-devel
mailing list