Revision be5ca0c...

Go back to digest for 9th December 2012

Optimization in KDE Base

Dan Vratil committed changes in [kdelibs/KDE/4.10] /solid:

Cache UDisks2 Device DBus connections

Cache the QDBusInterface connection for each UDI so that
it's not recreated every time Solid::Device is constructed.
This greatly reduces the number of DBus calls and makes
the UDisks2 backend much faster.

File Changes

Added 2 files
  • /solid/backends/udisks2
  •   solid/udisksdevicebackend.cpp
  •   solid/udisksdevicebackend.h
Modified 5 files
  • /solid
  •   solid/CMakeLists.txt
  •   solid/backends/udisks2/udisksdevice.cpp
  •   solid/backends/udisks2/udisksdevice.h
  •   solid/backends/udisks2/udisksmanager.cpp
  •   solid/backends/udisks2/udisksopticaldrive.cpp
7 files changed in total