Revision c3177f1...

Go back to digest for 6th March 2011

Optimization in Office

Dmitry Kazakov committed changes in [calligra/krita-bounded-pooler-kazakov] /image/tiles3:

Added a benchmark for COW to measure the pooler help

The results of the benchmark:
We measure a write access to every tile of an RGB16 image of size
4096x2048 pixels. This rewrite demands COW for every tile.
The measured time is:
o with pooler enabled: 12ms
o with pooler disabled: 94ms

Conclusion:
the pooler is worth spending time on it ;)

File Changes

Modified 5 files
  • /image/tiles3
  •   krita/kis_tile_data_pooler.cc
  •   krita/kis_tile_data_store.cc
  •   krita/kis_tile_data_store.h
  •   krita/tests/kis_tiled_data_manager_test.cpp
  •   krita/tests/kis_tiled_data_manager_test.h
5 files changed in total