Files
qt-creator/doc/api/examples/aggregation/README
hjk 27438f60e4 add some example with statistics on the impact of using small classes
Change-Id: I29c68ce88fef599091a84f8bdec54778e4d62b03
Reviewed-on: http://codereview.qt-project.org/5257
Reviewed-by: hjk <qthjk@ovi.com>
2011-09-20 17:51:50 +02:00

22 lines
742 B
Plaintext

Running test.sh tests several replacement patterns for a typical case
of polymorphism, and creates some statistics of the output.
The 'critical' case is where the implementation is only instantiated
from a single location.
'Symbols' refers to the number of additional symbols created by the
pattern (relevant for relocation on application startup and debugger
performance)
'Size' refers to the size of the '.text' section, i.e. the 'generated
code'.
'Debug' is the size of the .debug_info section in the binary.
Note that the numbers are not directly comparable. As the 'Slim'
versions push code from the implementation to the user side, the
ratio will be "better" when the the implementation is instantiated
from more than one place.