Revision ad9d375...

Go back to digest for 30th June 2013

Optimization in KDE-PIM

Sergio Luis Martins committed changes in [kdepim] /:

Use a singleton for ETMCalendar. Massive memory savings.

Each kontact plugin was using their own ETM which is unecessary.

Tested on kontact with most plugins loaded, and a 30k event calendar.

Unpatched:
glibc : 600 MB
jemalloc: 500 MB

Patched:
glibc : 415 MB
jemalloc: 360 MB

File Changes

Added 2 files
  •   calendarsupport/calendarsingleton.cpp
  •   calendarsupport/calendarsingleton.h
Modified 4 files
  •   calendarsupport/CMakeLists.txt
  •   kontact/plugins/korganizer/apptsummarywidget.cpp
  •   kontact/plugins/korganizer/todosummarywidget.cpp
  •   kontact/plugins/specialdates/sdsummarywidget.cpp
6 files changed in total