D12945: kcoredirlister lstItems benchmark

Jaime Torres Amate noreply at phabricator.kde.org
Thu May 17 14:38:19 UTC 2018


jtamate created this revision.
jtamate added reviewers: dfaure, Frameworks.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
jtamate requested review of this revision.

REVISION SUMMARY
  Decide which data structure is best for kcoredirlister lstItems.
  Defined as NonMovableFileItemList lstItems;  in kcoredirlister_p.h (484).
  
  The results in one machine:
  
  |              | QList | QListBinary | QListBinaryHash | QHash |
  | add          | 17    | 35          | 20              | 18    |
  | findByName   | 937   | 969         | 1.326           | 1.626 |
  | findByUrl    | 1.953 | 66          | 7,6             | 7,2   |
  | findByUrlAll | 692   | 25          | 8,2             | 8,0   |
  |

REPOSITORY
  R241 KIO

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

AFFECTED FILES
  autotests/CMakeLists.txt
  autotests/kcoredirlister_benchmark.cpp

To: jtamate, dfaure, #frameworks
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180517/a00bfe2c/attachment.html>


More information about the Kde-frameworks-devel mailing list