Revision e90ac3c...

Go back to digest for 4th May 2014

Optimization in Multimedia

Shantanu Tushar Jha committed changes in [plasma-mediacenter] /:

Do not cache media lists to a database

We started caching results from media sources due to our primary data
source (Nepomuk) was quite slow and the experience was quite bad both
for fetching media and searching through it. Going forward, Baloo is
our primary data source, and was found to be quite performant. Given
this, the additional complexity of maintaining a cache in DB is too much
for the 1-2 second increase in Media Library load times.

Note that we are still able to pull in data from multiple data sources,
we just won't store it on disk.

REVIEW: 117867

File Changes

Deleted 3 files
  •   cmake/FindQxOrm.cmake
  •   libs/mediacenter/precompiled.h
  •   libs/mediacenter/qxorm_export.h
Modified 19 files
  •   README
  •   libs/CMakeLists.txt
  •   libs/mediacenter/album.cpp
  •   libs/mediacenter/album.h
  •   libs/mediacenter/artist.cpp
  •   libs/mediacenter/artist.h
  •   libs/mediacenter/CMakeLists.txt
  •   libs/mediacenter/media.cpp
  •   libs/mediacenter/media.h
  •   libs/mediacenter/medialibrary.cpp
  •   libs/mediacenter/medialibrary.h
  •   libs/mediacenter/pmcalbum.h
  •   libs/mediacenter/pmcartist.h
  •   libs/mediacenter/pmcmedia.cpp
  •   libs/mediacenter/pmcmetadatamodel.cpp
  •   libs/mediacenter/test/medialibrarytest.cpp
  •   libs/mediacenter/test/medialibrarytest.h
  •   libs/mediacenter/test/mediatest.cpp
  •   libs/mediacenter/test/mediatest.h
22 files changed in total