https://bugs.kde.org/show_bug.cgi?id=372999
Elvis Angelaccio <elvis.angelac...@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://commits.kde.org/ark | |/7618ea17108877e308d6c7b4e7 | |67fedda9534f9f Version Fixed In| |16.11.90 Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Elvis Angelaccio <elvis.angelac...@kde.org> --- Git commit 7618ea17108877e308d6c7b4e767fedda9534f9f by Elvis Angelaccio. Committed on 29/11/2016 at 18:39. Pushed by elvisangelaccio into branch 'Applications/16.12'. pluginmanager: cache list of preferred plugins PluginManager::preferredPluginsFor() is an hot path as it can be called thousands of times from the extractfileitemaction plugin. We can save the list of preferred plugins in a cache, instead of re-computing it over and over again. Tested in Dolphin by right-clicking: * 1K files: no delay * 10K files: ~1 sec. of delay * 50K files: ~4 sec. of delay The (empty) test files were created with: printf '%s ' {1..1000} | xargs touch FIXED-IN: 16.11.90 Differential Revision: D3527 M +10 -3 kerfuffle/pluginmanager.cpp M +4 -3 kerfuffle/pluginmanager.h https://commits.kde.org/ark/7618ea17108877e308d6c7b4e767fedda9534f9f -- You are receiving this mail because: You are watching all bug changes.