Revision 5f8ffd3...
Go back to digest for 18th May 2014Optimization in KDE-PIM
Pali Rohár committed changes in [kopete] plugins/statistics/statisticsdb.cpp:
Turn off synchronous mode for sqlite database in statistics plugin
Synchronous mode does not have any real advantages here and only slow down
writes to database. When it is turned off it can dramatically speed up kopete
statistics plugin when changing status from online to offline or on exit.
Tested with 150MB big database:
before patch: exit time about 10s
after patch: exit time about 1s
File Changes
Modified 1 files
- plugins/statistics/statisticsdb.cpp
1 files changed in total