Revision a82c333...

Go back to digest for 19th February 2012

Optimization in Office

Sebastian Sauer committed changes in [calligra] /chartshape:

Optimize chart-shape and made loading charts double as fast.

We compress multiple proxyModelStructureChanged() emitted during loading charts now into one single call at the end of the loading process what gives us a huge speed-up when loading charts.
With my test-document ( Harmattan-Columbus_SW_Maturity_Applications_Release-W19_10.xls ) loading all the charts in that Excel document is done more then double as fast now (before ~40-50ms per chart and after this patch ~10-20ms).

File Changes

Modified 4 files
  • /chartshape
  •   plugins/ChartProxyModel.cpp
  •   plugins/ChartProxyModel.h
  •   plugins/ChartShape.cpp
  •   plugins/PlotArea.cpp
4 files changed in total